canvas_sync 0.4.1 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/canvas_sync.rb +1 -0
  3. data/lib/canvas_sync/generators/templates/models/context_module_item.rb +2 -2
  4. data/lib/canvas_sync/generators/templates/models/create_context_module_items.rb +1 -0
  5. data/lib/canvas_sync/generators/templates/models/create_users.rb +2 -0
  6. data/lib/canvas_sync/generators/templates/services/live_events/course/course_event.rb +1 -1
  7. data/lib/canvas_sync/generators/templates/services/live_events/course_section/course_section_created_event.rb +6 -0
  8. data/lib/canvas_sync/generators/templates/services/live_events/course_section/course_section_event.rb +48 -0
  9. data/lib/canvas_sync/generators/templates/services/live_events/course_section/course_section_updated_event.rb +6 -0
  10. data/lib/canvas_sync/generators/templates/services/live_events/user/user_created_event.rb +1 -1
  11. data/lib/canvas_sync/generators/templates/services/live_events/user/user_event.rb +25 -23
  12. data/lib/canvas_sync/processors/model_mappings.yml +9 -0
  13. data/lib/canvas_sync/version.rb +1 -1
  14. data/spec/dummy/app/models/context_module_item.rb +2 -2
  15. data/spec/dummy/app/services/live_events/course_event.rb +1 -1
  16. data/spec/dummy/app/services/live_events/course_section_created_event.rb +12 -0
  17. data/spec/dummy/app/services/live_events/course_section_event.rb +54 -0
  18. data/spec/dummy/app/services/live_events/course_section_updated_event.rb +12 -0
  19. data/spec/dummy/app/services/live_events/user_created_event.rb +1 -1
  20. data/spec/dummy/app/services/live_events/user_event.rb +25 -23
  21. data/spec/dummy/db/migrate/{20170918221413_create_users.rb → 20180509194201_create_users.rb} +2 -0
  22. data/spec/dummy/db/migrate/{20180411215633_create_context_module_items.rb → 20180605172338_create_context_module_items.rb} +1 -0
  23. data/spec/dummy/db/schema.rb +4 -1
  24. data/spec/dummy/log/development.log +777 -0
  25. data/spec/dummy/log/test.log +2358 -0
  26. data/spec/support/fixtures/reports/context_module_items.csv +3 -3
  27. metadata +15 -6
@@ -39116,3 +39116,2361 @@ Diff:
39116
39116
   (0.4ms) SELECT COUNT(*) FROM "context_module_items"
39117
39117
  ContextModuleItem Load (0.3ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
39118
39118
   (0.4ms) ROLLBACK
39119
+  (192.8ms) DROP DATABASE IF EXISTS "canvas_sync_test"
39120
+  (684.3ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
39121
+ SQL (3.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
39122
+  (18.2ms) DROP TABLE IF EXISTS "accounts" CASCADE
39123
+  (32.0ms) 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)
39124
+  (1.9ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")
39125
+  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE
39126
+  (7.3ms) 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)
39127
+  (2.0ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
39128
+  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
39129
+  (6.3ms) 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)
39130
+  (2.3ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")
39131
+  (2.0ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
39132
+  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE
39133
+  (6.5ms) 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)
39134
+  (1.8ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
39135
+  (1.8ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
39136
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
39137
+  (6.3ms) 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)
39138
+  (0.3ms) DROP TABLE IF EXISTS "context_module_items" CASCADE
39139
+  (8.8ms) CREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
39140
+  (2.4ms) CREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")
39141
+  (2.3ms) CREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")
39142
+  (0.1ms) DROP TABLE IF EXISTS "context_modules" CASCADE
39143
+  (6.1ms) CREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
39144
+  (1.9ms) CREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")
39145
+  (1.8ms) CREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")
39146
+  (0.1ms) DROP TABLE IF EXISTS "courses" CASCADE
39147
+  (5.7ms) 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)
39148
+  (2.6ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
39149
+  (0.2ms) DROP TABLE IF EXISTS "enrollments" CASCADE
39150
+  (5.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)
39151
+  (2.0ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
39152
+  (1.9ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
39153
+  (2.3ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
39154
+  (0.2ms) DROP TABLE IF EXISTS "roles" CASCADE
39155
+  (6.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)
39156
+  (1.8ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
39157
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
39158
+  (6.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)
39159
+  (2.2ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
39160
+  (2.6ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
39161
+  (0.2ms) DROP TABLE IF EXISTS "submissions" CASCADE
39162
+  (7.9ms) 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)
39163
+  (3.2ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
39164
+  (2.4ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
39165
+  (3.1ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
39166
+  (2.1ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
39167
+  (0.2ms) DROP TABLE IF EXISTS "terms" CASCADE
39168
+  (6.3ms) 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)
39169
+  (2.1ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
39170
+  (0.3ms) DROP TABLE IF EXISTS "users" CASCADE
39171
+  (6.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, "full_name" character varying, "sortable_name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
39172
+  (2.4ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
39173
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
39174
+  (7.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
39175
+  (5.1ms) INSERT INTO "schema_migrations" (version) VALUES (20180509194201)
39176
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES
39177
+ (20170905192509),
39178
+ (20170906193506),
39179
+ (20170914181345),
39180
+ (20171107213207),
39181
+ (20180103162102),
39182
+ (20180109210452),
39183
+ (20180215214227),
39184
+ (20180216171618),
39185
+ (20180220172559),
39186
+ (20180222163506),
39187
+ (20180411215348),
39188
+ (20180411215633),
39189
+ (20170915210836);
39190
+
39191
+ 
39192
+  (22.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)
39193
+ ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
39194
+  (0.1ms) BEGIN
39195
+ 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-05-09 19:51:23.102352"], ["updated_at", "2018-05-09 19:51:23.102352"]]
39196
+  (0.3ms) COMMIT
39197
+ 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]]
39198
+  (0.1ms) BEGIN
39199
+  (0.1ms) COMMIT
39200
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
39201
+  (0.2ms) BEGIN
39202
+  (0.2ms) ROLLBACK
39203
+  (0.1ms) BEGIN
39204
+  (0.1ms) ROLLBACK
39205
+  (0.1ms) BEGIN
39206
+  (0.1ms) ROLLBACK
39207
+  (0.1ms) BEGIN
39208
+  (0.1ms) ROLLBACK
39209
+  (0.1ms) BEGIN
39210
+  (0.1ms) ROLLBACK
39211
+  (0.1ms) BEGIN
39212
+  (0.1ms) ROLLBACK
39213
+  (0.1ms) BEGIN
39214
+  (0.1ms) ROLLBACK
39215
+  (0.1ms) BEGIN
39216
+  (0.1ms) ROLLBACK
39217
+  (0.1ms) BEGIN
39218
+  (0.1ms) ROLLBACK
39219
+  (0.1ms) BEGIN
39220
+  (0.1ms) ROLLBACK
39221
+  (0.1ms) BEGIN
39222
+  (0.1ms) ROLLBACK
39223
+  (0.1ms) BEGIN
39224
+  (2.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
39225
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f] Performing GoodJob (Job ID: 22580af2-0cf9-47a3-b5a4-06852ec8de8f) from Async(default) with arguments: "argument"
39226
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f]  (0.2ms) SAVEPOINT active_record_1
39227
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f] 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-05-09 19:51:23.608241"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-05-09 19:51:23.627365"], ["updated_at", "2018-05-09 19:51:23.627365"]]
39228
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39229
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f]  (0.1ms) SAVEPOINT active_record_1
39230
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f] 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-05-09 19:51:23.638269"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.638629"], ["id", 1]]
39231
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39232
+ [ActiveJob] [GoodJob] [22580af2-0cf9-47a3-b5a4-06852ec8de8f] Performed GoodJob (Job ID: 22580af2-0cf9-47a3-b5a4-06852ec8de8f) from Async(default) in 31.92ms
39233
+  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
39234
+ 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]]
39235
+  (0.2ms) ROLLBACK
39236
+  (0.1ms) BEGIN
39237
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e] Performing BadJob (Job ID: 702ef1a2-ea10-418a-8672-06aa29f5697e) from Async(default) with arguments: "argument"
39238
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e]  (0.1ms) SAVEPOINT active_record_1
39239
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e] 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-05-09 19:51:23.644374"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-05-09 19:51:23.644756"], ["updated_at", "2018-05-09 19:51:23.644756"]]
39240
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e]  (0.1ms) RELEASE SAVEPOINT active_record_1
39241
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e]  (0.1ms) SAVEPOINT active_record_1
39242
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e] 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-05-09 19:51:23.646711"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-05-09 19:51:23.647016"], ["id", 2]]
39243
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e]  (0.1ms) RELEASE SAVEPOINT active_record_1
39244
+ [ActiveJob] [BadJob] [702ef1a2-ea10-418a-8672-06aa29f5697e] Error performing BadJob (Job ID: 702ef1a2-ea10-418a-8672-06aa29f5697e) from Async(default) in 5.03ms: EvilError (EvilError):
39245
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
39246
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
39247
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
39248
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
39249
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
39250
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
39251
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
39252
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
39253
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
39254
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
39255
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
39256
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
39257
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
39258
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
39259
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
39260
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
39261
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
39262
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
39263
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
39264
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
39265
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
39266
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
39267
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
39268
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
39269
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
39270
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
39271
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
39272
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
39273
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
39274
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
39275
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
39276
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
39277
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
39278
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
39279
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
39280
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
39281
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
39282
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
39283
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
39284
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
39285
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
39286
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
39287
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
39288
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
39289
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
39290
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
39291
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
39292
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
39293
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
39294
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
39295
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
39296
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
39297
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
39298
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
39299
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
39300
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
39301
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
39302
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
39303
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
39304
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
39305
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
39306
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
39307
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
39308
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
39309
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
39310
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
39311
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
39312
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
39313
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
39314
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
39315
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
39316
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
39317
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
39318
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
39319
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
39320
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
39321
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
39322
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
39323
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
39324
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
39325
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
39326
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
39327
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
39328
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
39329
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
39330
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
39331
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
39332
+ 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]]
39333
+  (0.1ms) ROLLBACK
39334
+  (0.1ms) BEGIN
39335
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67] Performing CanvasSync::Jobs::ReportChecker (Job ID: ad0f4572-38aa-4dac-aa89-4a041cb9fe67) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
39336
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67]  (0.1ms) SAVEPOINT active_record_1
39337
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-09 19:51:23.652452"], ["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-05-09 19:51:23.652826"], ["updated_at", "2018-05-09 19:51:23.652826"]]
39338
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67]  (0.1ms) RELEASE SAVEPOINT active_record_1
39339
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67]  (0.2ms) SAVEPOINT active_record_1
39340
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]]
39341
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67]  (0.1ms) RELEASE SAVEPOINT active_record_1
39342
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ad0f4572-38aa-4dac-aa89-4a041cb9fe67] Performed CanvasSync::Jobs::ReportChecker (Job ID: ad0f4572-38aa-4dac-aa89-4a041cb9fe67) from Async(default) in 14.26ms
39343
+  (0.1ms) ROLLBACK
39344
+  (0.1ms) BEGIN
39345
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5] Performing CanvasSync::Jobs::ReportChecker (Job ID: f1f66115-4ebe-4985-a0ef-baf74dcb4bf5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
39346
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5]  (0.1ms) SAVEPOINT active_record_1
39347
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5] 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-05-09 19:51:23.668961"], ["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-05-09 19:51:23.669492"], ["updated_at", "2018-05-09 19:51:23.669492"]]
39348
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5]  (0.1ms) RELEASE SAVEPOINT active_record_1
39349
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: b4b127ff-2952-4845-b1b0-f86e0bff8e1f) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
39350
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5]  (0.2ms) SAVEPOINT active_record_1
39351
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]]
39352
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5]  (0.1ms) RELEASE SAVEPOINT active_record_1
39353
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f1f66115-4ebe-4985-a0ef-baf74dcb4bf5] Performed CanvasSync::Jobs::ReportChecker (Job ID: f1f66115-4ebe-4985-a0ef-baf74dcb4bf5) from Async(default) in 8.21ms
39354
+  (0.1ms) ROLLBACK
39355
+  (0.1ms) BEGIN
39356
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
39357
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0]  (0.1ms) SAVEPOINT active_record_1
39358
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0] 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-05-09 19:51:23.679625"], ["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-05-09 19:51:23.680093"], ["updated_at", "2018-05-09 19:51:23.680093"]]
39359
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0]  (0.1ms) RELEASE SAVEPOINT active_record_1
39360
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
39361
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0]  (0.1ms) SAVEPOINT active_record_1
39362
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0] 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-05-09 19:51:23.682849"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-05-09 19:51:23.683164"], ["id", 5]]
39363
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0]  (0.1ms) RELEASE SAVEPOINT active_record_1
39364
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 19c4fb82-a6fb-4c1b-963b-a5785a0c1ab0) from Async(default) in 5.86ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
39365
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'
39366
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
39367
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
39368
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
39369
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
39370
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
39371
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
39372
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
39373
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
39374
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
39375
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
39376
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
39377
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
39378
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
39379
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
39380
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
39381
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
39382
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
39383
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
39384
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
39385
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
39386
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
39387
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
39388
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
39389
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
39390
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
39391
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
39392
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
39393
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
39394
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
39395
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
39396
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
39397
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
39398
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
39399
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
39400
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
39401
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
39402
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
39403
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
39404
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
39405
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
39406
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
39407
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
39408
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
39409
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
39410
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
39411
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
39412
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
39413
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
39414
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
39415
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
39416
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
39417
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
39418
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
39419
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
39420
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
39421
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
39422
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
39423
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
39424
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
39425
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
39426
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
39427
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
39428
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
39429
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
39430
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
39431
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
39432
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
39433
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
39434
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
39435
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
39436
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
39437
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
39438
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
39439
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
39440
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
39441
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
39442
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
39443
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
39444
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
39445
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
39446
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
39447
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
39448
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
39449
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
39450
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
39451
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
39452
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
39453
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
39454
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
39455
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
39456
+  (0.2ms) ROLLBACK
39457
+  (0.1ms) BEGIN
39458
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: abba177d-5c2e-4e86-b9ce-a3a4c3024dad) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
39459
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad]  (0.1ms) SAVEPOINT active_record_1
39460
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-09 19:51:23.687542"], ["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-05-09 19:51:23.687993"], ["updated_at", "2018-05-09 19:51:23.687993"]]
39461
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad]  (0.1ms) RELEASE SAVEPOINT active_record_1
39462
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad]  (0.1ms) SAVEPOINT active_record_1
39463
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad] 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-05-09 19:51:23.690066"], ["id", 6]]
39464
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad]  (0.1ms) RELEASE SAVEPOINT active_record_1
39465
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad]  (0.2ms) SAVEPOINT active_record_1
39466
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad] 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-05-09 19:51:23.745587"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.746125"], ["id", 6]]
39467
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad]  (0.1ms) RELEASE SAVEPOINT active_record_1
39468
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [abba177d-5c2e-4e86-b9ce-a3a4c3024dad] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: abba177d-5c2e-4e86-b9ce-a3a4c3024dad) from Async(default) in 60.83ms
39469
+  (0.1ms) ROLLBACK
39470
+  (0.1ms) BEGIN
39471
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865] Performing CanvasSync::Jobs::ReportStarter (Job ID: 6ce817e7-ce18-4083-95c3-69d1be627865) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
39472
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865]  (0.1ms) SAVEPOINT active_record_1
39473
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865] 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-05-09 19:51:23.750758"], ["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-05-09 19:51:23.751196"], ["updated_at", "2018-05-09 19:51:23.751196"]]
39474
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865]  (0.2ms) RELEASE SAVEPOINT active_record_1
39475
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1eee8bd9-5b04-45da-a34b-499306ace7a0) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
39476
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865]  (0.2ms) SAVEPOINT active_record_1
39477
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865] 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-05-09 19:51:23.762663"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.763286"], ["id", 7]]
39478
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865]  (0.1ms) RELEASE SAVEPOINT active_record_1
39479
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [6ce817e7-ce18-4083-95c3-69d1be627865] Performed CanvasSync::Jobs::ReportStarter (Job ID: 6ce817e7-ce18-4083-95c3-69d1be627865) from Async(default) in 14.47ms
39480
+  (0.1ms) ROLLBACK
39481
+  (0.1ms) BEGIN
39482
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418] Performing CanvasSync::Jobs::ReportStarter (Job ID: d22c1ebd-1024-4ed6-9686-8a5a220c2418) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
39483
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418]  (0.1ms) SAVEPOINT active_record_1
39484
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418] 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-05-09 19:51:23.767683"], ["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-05-09 19:51:23.768110"], ["updated_at", "2018-05-09 19:51:23.768110"]]
39485
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418]  (0.1ms) RELEASE SAVEPOINT active_record_1
39486
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418]  (0.1ms) SAVEPOINT active_record_1
39487
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418] 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-05-09 19:51:23.771025"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.771391"], ["id", 8]]
39488
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418]  (0.1ms) RELEASE SAVEPOINT active_record_1
39489
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [d22c1ebd-1024-4ed6-9686-8a5a220c2418] Performed CanvasSync::Jobs::ReportStarter (Job ID: d22c1ebd-1024-4ed6-9686-8a5a220c2418) from Async(default) in 5.63ms
39490
+  (0.2ms) ROLLBACK
39491
+  (0.1ms) BEGIN
39492
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd] Performing CanvasSync::Jobs::ReportStarter (Job ID: 48b52d0f-aa31-4238-889e-7f6502f2cafd) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
39493
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd]  (0.1ms) SAVEPOINT active_record_1
39494
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd] 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-05-09 19:51:23.775897"], ["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-05-09 19:51:23.776402"], ["updated_at", "2018-05-09 19:51:23.776402"]]
39495
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd]  (0.1ms) RELEASE SAVEPOINT active_record_1
39496
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd]  (0.1ms) SAVEPOINT active_record_1
39497
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd] 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-05-09 19:51:23.780251"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.780721"], ["id", 9]]
39498
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd]  (0.1ms) RELEASE SAVEPOINT active_record_1
39499
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [48b52d0f-aa31-4238-889e-7f6502f2cafd] Performed CanvasSync::Jobs::ReportStarter (Job ID: 48b52d0f-aa31-4238-889e-7f6502f2cafd) from Async(default) in 7.74ms
39500
+  (0.1ms) ROLLBACK
39501
+  (0.2ms) BEGIN
39502
+  (5.1ms) SELECT COUNT(*) FROM "admins"
39503
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 6a2746fc-e72e-4178-bfdc-ebb7f490e1bf) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39504
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.2ms) SAVEPOINT active_record_1
39505
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] 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-05-09 19:51:23.795653"], ["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-05-09 19:51:23.796355"], ["updated_at", "2018-05-09 19:51:23.796355"]]
39506
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.1ms) RELEASE SAVEPOINT active_record_1
39507
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
39508
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.2ms) SAVEPOINT active_record_1
39509
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
39510
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] SQL (8.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-05-09 19:51:23.817777"], ["updated_at", "2018-05-09 19:51:23.817777"]]
39511
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.2ms) RELEASE SAVEPOINT active_record_1
39512
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Admin Load (0.4ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
39513
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.2ms) SAVEPOINT active_record_1
39514
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
39515
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] 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", 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-05-09 19:51:23.831475"], ["updated_at", "2018-05-09 19:51:23.831475"]]
39516
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.2ms) RELEASE SAVEPOINT active_record_1
39517
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
39518
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.1ms) SAVEPOINT active_record_1
39519
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
39520
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] 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-05-09 19:51:23.837323"], ["updated_at", "2018-05-09 19:51:23.837323"]]
39521
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.1ms) RELEASE SAVEPOINT active_record_1
39522
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] SQL (0.3ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3))
39523
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.1ms) SAVEPOINT active_record_1
39524
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-09 19:51:23.840655"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.841159"], ["id", 10]]
39525
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf]  (0.1ms) RELEASE SAVEPOINT active_record_1
39526
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [6a2746fc-e72e-4178-bfdc-ebb7f490e1bf] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 6a2746fc-e72e-4178-bfdc-ebb7f490e1bf) from Async(default) in 47.42ms
39527
+  (0.3ms) SELECT COUNT(*) FROM "admins"
39528
+  (0.2ms) ROLLBACK
39529
+  (0.2ms) BEGIN
39530
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 3c239e54-6792-4622-b80c-84d3fc59892a) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
39531
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a]  (0.1ms) SAVEPOINT active_record_1
39532
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a] 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-05-09 19:51:23.848092"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-09 19:51:23.849091"], ["updated_at", "2018-05-09 19:51:23.849091"]]
39533
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a]  (0.1ms) RELEASE SAVEPOINT active_record_1
39534
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 71590221-a19b-49a8-ba85-4d0ed5cde109) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
39535
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a]  (0.1ms) SAVEPOINT active_record_1
39536
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a] 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-05-09 19:51:23.852622"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.853018"], ["id", 11]]
39537
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a]  (0.1ms) RELEASE SAVEPOINT active_record_1
39538
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [3c239e54-6792-4622-b80c-84d3fc59892a] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 3c239e54-6792-4622-b80c-84d3fc59892a) from Async(default) in 6.66ms
39539
+  (0.1ms) ROLLBACK
39540
+  (0.1ms) BEGIN
39541
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
39542
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77]  (0.1ms) SAVEPOINT active_record_1
39543
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-09 19:51:23.856920"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-09 19:51:23.857339"], ["updated_at", "2018-05-09 19:51:23.857339"]]
39544
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77]  (0.2ms) RELEASE SAVEPOINT active_record_1
39545
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 97ae71e4-7c12-41e1-a62e-6230ffe2aeca) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
39546
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77]  (0.1ms) SAVEPOINT active_record_1
39547
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77] 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-05-09 19:51:23.860710"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.861153"], ["id", 12]]
39548
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77]  (0.2ms) RELEASE SAVEPOINT active_record_1
39549
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: c96f8a15-4916-4d7d-8ef0-4ed7cc6a2b77) from Async(default) in 6.14ms
39550
+  (0.1ms) ROLLBACK
39551
+  (0.1ms) BEGIN
39552
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 8012fb0f-f67a-4591-92e2-1194ddee000c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39553
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c]  (0.1ms) SAVEPOINT active_record_1
39554
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c] 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-05-09 19:51:23.865207"], ["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-05-09 19:51:23.865652"], ["updated_at", "2018-05-09 19:51:23.865652"]]
39555
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c]  (0.1ms) RELEASE SAVEPOINT active_record_1
39556
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9dd2bf8b-f560-4052-8db5-41e51978d69c) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
39557
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c]  (0.3ms) SAVEPOINT active_record_1
39558
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c] 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-05-09 19:51:23.875612"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.876623"], ["id", 13]]
39559
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c]  (0.2ms) RELEASE SAVEPOINT active_record_1
39560
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [8012fb0f-f67a-4591-92e2-1194ddee000c] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 8012fb0f-f67a-4591-92e2-1194ddee000c) from Async(default) in 13.72ms
39561
+  (0.2ms) ROLLBACK
39562
+  (0.2ms) BEGIN
39563
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 5573ae9f-b069-4a46-bb58-43828ef21f90) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
39564
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90]  (0.2ms) SAVEPOINT active_record_1
39565
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90] 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-05-09 19:51:23.881729"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-09 19:51:23.882439"], ["updated_at", "2018-05-09 19:51:23.882439"]]
39566
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90]  (0.1ms) RELEASE SAVEPOINT active_record_1
39567
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2908a75a-e612-4ed0-9fc8-365439aec50e) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
39568
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90]  (0.2ms) SAVEPOINT active_record_1
39569
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90] 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-05-09 19:51:23.886114"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.886640"], ["id", 14]]
39570
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90]  (0.1ms) RELEASE SAVEPOINT active_record_1
39571
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [5573ae9f-b069-4a46-bb58-43828ef21f90] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 5573ae9f-b069-4a46-bb58-43828ef21f90) from Async(default) in 7.06ms
39572
+  (0.1ms) ROLLBACK
39573
+  (0.1ms) BEGIN
39574
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: a900a081-4683-4f83-89c7-c36c299b163d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39575
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d]  (0.1ms) SAVEPOINT active_record_1
39576
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d] 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-05-09 19:51:23.891796"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["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-05-09 19:51:23.892532"], ["updated_at", "2018-05-09 19:51:23.892532"]]
39577
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d]  (0.1ms) RELEASE SAVEPOINT active_record_1
39578
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dee6247f-bcd4-4912-9db5-45986692b4f1) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
39579
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d]  (0.1ms) SAVEPOINT active_record_1
39580
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d] 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-05-09 19:51:23.904259"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.905084"], ["id", 15]]
39581
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d]  (0.1ms) RELEASE SAVEPOINT active_record_1
39582
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [a900a081-4683-4f83-89c7-c36c299b163d] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: a900a081-4683-4f83-89c7-c36c299b163d) from Async(default) in 15.55ms
39583
+  (0.1ms) ROLLBACK
39584
+  (0.1ms) BEGIN
39585
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
39586
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae]  (0.1ms) SAVEPOINT active_record_1
39587
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae] 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-05-09 19:51:23.909467"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-09 19:51:23.909935"], ["updated_at", "2018-05-09 19:51:23.909935"]]
39588
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae]  (0.2ms) RELEASE SAVEPOINT active_record_1
39589
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d8ba3da9-e661-4d65-b5bf-0f106528e4da) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
39590
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae]  (0.1ms) SAVEPOINT active_record_1
39591
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae] 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-05-09 19:51:23.913310"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.913734"], ["id", 16]]
39592
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae]  (0.1ms) RELEASE SAVEPOINT active_record_1
39593
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: e429590f-7bbd-4ab0-9ec0-1d2d041ba7ae) from Async(default) in 5.94ms
39594
+  (0.2ms) ROLLBACK
39595
+  (0.1ms) BEGIN
39596
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: c808694a-5f84-4fb6-8086-aaf407b4d602) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39597
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602]  (0.1ms) SAVEPOINT active_record_1
39598
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602] 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-05-09 19:51:23.917905"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["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-05-09 19:51:23.918425"], ["updated_at", "2018-05-09 19:51:23.918425"]]
39599
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602]  (0.1ms) RELEASE SAVEPOINT active_record_1
39600
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 621acf4e-dfae-42e1-8545-1ca2201ff068) to Async(default) at 2018-05-09 19:51:53 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
39601
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602]  (0.2ms) SAVEPOINT active_record_1
39602
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602] 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-05-09 19:51:23.921309"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.921742"], ["id", 17]]
39603
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602]  (0.1ms) RELEASE SAVEPOINT active_record_1
39604
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c808694a-5f84-4fb6-8086-aaf407b4d602] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: c808694a-5f84-4fb6-8086-aaf407b4d602) from Async(default) in 5.66ms
39605
+  (0.1ms) ROLLBACK
39606
+  (0.2ms) BEGIN
39607
+  (0.2ms) SAVEPOINT active_record_1
39608
+ Term Exists (2.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 84442464], ["LIMIT", 1]]
39609
+ SQL (7.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", 84442464], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "active"], ["sis_id", "ae25289657f42be70fe28a5204b08c2d"], ["created_at", "2018-05-09 19:51:23.956775"], ["updated_at", "2018-05-09 19:51:23.956775"]]
39610
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39611
+  (0.1ms) SAVEPOINT active_record_1
39612
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4643688], ["LIMIT", 1]]
39613
+ 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", 4643688], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "active"], ["sis_id", "6ceeaa35ea0ebe5f884e171e0cf726b9"], ["created_at", "2018-05-09 19:51:23.968394"], ["updated_at", "2018-05-09 19:51:23.968394"]]
39614
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39615
+  (0.1ms) SAVEPOINT active_record_1
39616
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 32886117], ["LIMIT", 1]]
39617
+ 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", 32886117], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "inactive"], ["sis_id", "9d36a26419a65c4d86799c6bb304bd1c"], ["created_at", "2018-05-09 19:51:23.971119"], ["updated_at", "2018-05-09 19:51:23.971119"]]
39618
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39619
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 9498d912-b4a2-4d7c-9bff-3f55376f6a4c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
39620
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c]  (0.1ms) SAVEPOINT active_record_1
39621
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c] 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-05-09 19:51:23.973295"], ["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-05-09 19:51:23.973895"], ["updated_at", "2018-05-09 19:51:23.973895"]]
39622
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c]  (0.1ms) RELEASE SAVEPOINT active_record_1
39623
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c] Term Load (2.8ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-05-24 19:51:23.976609' OR start_at IS NULL) AND (end_at >= '2018-04-24 19:51:23.976855' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
39624
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c]  (0.1ms) SAVEPOINT active_record_1
39625
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c] 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-05-09 19:51:23.980869"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.981319"], ["id", 18]]
39626
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c]  (0.2ms) RELEASE SAVEPOINT active_record_1
39627
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [9498d912-b4a2-4d7c-9bff-3f55376f6a4c] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 9498d912-b4a2-4d7c-9bff-3f55376f6a4c) from Async(default) in 9.92ms
39628
+  (0.2ms) ROLLBACK
39629
+  (0.1ms) BEGIN
39630
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 50121415-7605-408c-a1f9-d41ab1cf06d5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
39631
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5]  (0.1ms) SAVEPOINT active_record_1
39632
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5] 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-05-09 19:51:23.985405"], ["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-05-09 19:51:23.985902"], ["updated_at", "2018-05-09 19:51:23.985902"]]
39633
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5]  (0.1ms) RELEASE SAVEPOINT active_record_1
39634
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5]  (0.1ms) SAVEPOINT active_record_1
39635
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5] 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-05-09 19:51:23.988271"], ["status", "success"], ["updated_at", "2018-05-09 19:51:23.988652"], ["id", 19]]
39636
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5]  (0.1ms) RELEASE SAVEPOINT active_record_1
39637
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [50121415-7605-408c-a1f9-d41ab1cf06d5] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 50121415-7605-408c-a1f9-d41ab1cf06d5) from Async(default) in 5.17ms
39638
+  (0.1ms) ROLLBACK
39639
+  (0.1ms) BEGIN
39640
+  (15.2ms) SELECT COUNT(*) FROM "roles"
39641
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 1241574c-fa93-4701-b203-f1c4a220da3f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39642
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.2ms) SAVEPOINT active_record_1
39643
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] 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-05-09 19:51:24.019629"], ["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-05-09 19:51:24.020181"], ["updated_at", "2018-05-09 19:51:24.020181"]]
39644
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39645
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] Role Load (0.9ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
39646
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.4ms) SAVEPOINT active_record_1
39647
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
39648
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] SQL (3.2ms) 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-05-09 19:51:24.046793"], ["updated_at", "2018-05-09 19:51:24.046793"]]
39649
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39650
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
39651
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.2ms) SAVEPOINT active_record_1
39652
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
39653
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] 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-05-09 19:51:24.070109"], ["updated_at", "2018-05-09 19:51:24.070109"]]
39654
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39655
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] SQL (0.3ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2))
39656
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.1ms) SAVEPOINT active_record_1
39657
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] 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-05-09 19:51:24.076161"], ["status", "success"], ["updated_at", "2018-05-09 19:51:24.076765"], ["id", 20]]
39658
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39659
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1241574c-fa93-4701-b203-f1c4a220da3f] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 1241574c-fa93-4701-b203-f1c4a220da3f) from Async(default) in 59.01ms
39660
+  (0.2ms) SELECT COUNT(*) FROM "roles"
39661
+  (0.1ms) ROLLBACK
39662
+  (0.1ms) BEGIN
39663
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 6bc42514-a5c4-4c17-821e-c97a6a12623f) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
39664
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f]  (0.1ms) SAVEPOINT active_record_1
39665
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-09 19:51:24.081667"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-09 19:51:24.082097"], ["updated_at", "2018-05-09 19:51:24.082097"]]
39666
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39667
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 96c310d9-5a5f-4a22-8a0e-0c3170b815ca) to Async(default) at 2018-05-09 19:51:54 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
39668
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f]  (0.2ms) SAVEPOINT active_record_1
39669
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f] 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-05-09 19:51:24.085601"], ["status", "success"], ["updated_at", "2018-05-09 19:51:24.086105"], ["id", 21]]
39670
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f]  (0.2ms) RELEASE SAVEPOINT active_record_1
39671
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [6bc42514-a5c4-4c17-821e-c97a6a12623f] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 6bc42514-a5c4-4c17-821e-c97a6a12623f) from Async(default) in 6.36ms
39672
+  (0.1ms) ROLLBACK
39673
+  (0.1ms) BEGIN
39674
+  (0.2ms) SELECT COUNT(*) FROM "terms"
39675
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 9efabc58-4ba9-4ee0-8e04-bab058402ef4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39676
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39677
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] 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-05-09 19:51:24.091136"], ["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-05-09 19:51:24.091600"], ["updated_at", "2018-05-09 19:51:24.091600"]]
39678
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39679
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
39680
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39681
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
39682
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] 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-05-09 19:51:24.100292"], ["updated_at", "2018-05-09 19:51:24.100292"]]
39683
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39684
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
39685
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39686
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
39687
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] 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-05-09 19:51:24.103503"], ["updated_at", "2018-05-09 19:51:24.103503"]]
39688
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39689
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
39690
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39691
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
39692
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] 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-05-09 19:51:24.106453"], ["updated_at", "2018-05-09 19:51:24.106453"]]
39693
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39694
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
39695
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39696
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
39697
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "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-05-09 19:51:24.109988"], ["updated_at", "2018-05-09 19:51:24.109988"]]
39698
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39699
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
39700
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39701
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
39702
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] 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-05-09 19:51:24.112804"], ["updated_at", "2018-05-09 19:51:24.112804"]]
39703
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39704
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
39705
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39706
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
39707
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] 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-05-09 19:51:24.115649"], ["updated_at", "2018-05-09 19:51:24.115649"]]
39708
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39709
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) SAVEPOINT active_record_1
39710
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-09 19:51:24.116751"], ["status", "success"], ["updated_at", "2018-05-09 19:51:24.117104"], ["id", 22]]
39711
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4]  (0.1ms) RELEASE SAVEPOINT active_record_1
39712
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [9efabc58-4ba9-4ee0-8e04-bab058402ef4] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 9efabc58-4ba9-4ee0-8e04-bab058402ef4) from Async(default) in 27.57ms
39713
+  (0.2ms) SELECT COUNT(*) FROM "terms"
39714
+  (0.1ms) ROLLBACK
39715
+  (0.1ms) BEGIN
39716
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
39717
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f]  (0.1ms) SAVEPOINT active_record_1
39718
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f] 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-05-09 19:51:24.121264"], ["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-05-09 19:51:24.121708"], ["updated_at", "2018-05-09 19:51:24.121708"]]
39719
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f]  (0.3ms) RELEASE SAVEPOINT active_record_1
39720
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 53f3a73a-f3c9-4e11-b008-35d1d49c018a) to Async(default) at 2018-05-09 19:51:54 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
39721
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f]  (0.1ms) SAVEPOINT active_record_1
39722
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f] 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-05-09 19:51:24.132270"], ["status", "success"], ["updated_at", "2018-05-09 19:51:24.132768"], ["id", 23]]
39723
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f]  (0.1ms) RELEASE SAVEPOINT active_record_1
39724
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: faf9a9d1-c22c-47d4-ab4f-87a5e6c6022f) from Async(default) in 13.41ms
39725
+  (0.1ms) ROLLBACK
39726
+  (0.1ms) BEGIN
39727
+  (0.3ms) SAVEPOINT active_record_1
39728
+ Account Exists (4.4ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 97386636], ["LIMIT", 1]]
39729
+ SQL (0.6ms) 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", 97386636], ["account_id", "ebd95d63d1d296fd03f8549bce4589df"], ["canvas_parent_id", 1], ["parent_account_id", "a67f4839463c285b129709ac707de4f5"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-05-09 19:51:24.155807"], ["updated_at", "2018-05-09 19:51:24.155807"]]
39730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39731
+ Account Exists (0.4ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" IS NULL AND ("accounts"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
39732
+  (0.3ms) ROLLBACK
39733
+  (0.1ms) BEGIN
39734
+  (0.1ms) SAVEPOINT active_record_1
39735
+ Account Exists (0.2ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 90499534], ["LIMIT", 1]]
39736
+ SQL (0.3ms) 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", 90499534], ["account_id", "a7e640d940ae3e9e07804eb6260ab1ad"], ["canvas_parent_id", 1], ["parent_account_id", "8ca714e312aca3b7fd848bbd949a4f0b"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-05-09 19:51:24.182545"], ["updated_at", "2018-05-09 19:51:24.182545"]]
39737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39738
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
39739
+ Account Exists (0.4ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 90499534], ["LIMIT", 1]]
39740
+  (0.2ms) ROLLBACK
39741
+  (0.1ms) BEGIN
39742
+  (0.1ms) SAVEPOINT active_record_1
39743
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 9049468], ["LIMIT", 1]]
39744
+ 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", 9049468], ["role_name", "Cool Role"], ["canvas_role_id", 52629452], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.190795"], ["updated_at", "2018-05-09 19:51:24.190795"]]
39745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39746
+ 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]]
39747
+  (0.2ms) ROLLBACK
39748
+  (0.1ms) BEGIN
39749
+  (0.1ms) SAVEPOINT active_record_1
39750
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 14344157], ["LIMIT", 1]]
39751
+ 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", 14344157], ["role_name", "Cool Role"], ["canvas_role_id", 32490869], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.198078"], ["updated_at", "2018-05-09 19:51:24.198078"]]
39752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39753
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]]
39754
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 14344157], ["LIMIT", 1]]
39755
+  (0.1ms) ROLLBACK
39756
+  (0.1ms) BEGIN
39757
+  (0.2ms) SELECT COUNT(*) FROM "admins"
39758
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
39759
+  (0.1ms) SAVEPOINT active_record_1
39760
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
39761
+ 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-05-09 19:51:24.207616"], ["updated_at", "2018-05-09 19:51:24.207616"]]
39762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39763
+  (0.2ms) SELECT COUNT(*) FROM "admins"
39764
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]
39765
+  (0.1ms) ROLLBACK
39766
+  (0.1ms) BEGIN
39767
+  (0.1ms) SAVEPOINT active_record_1
39768
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
39769
+ 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", 9953203], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.213822"], ["updated_at", "2018-05-09 19:51:24.213822"]]
39770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39771
+  (0.2ms) SELECT COUNT(*) FROM "admins"
39772
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
39773
+  (0.1ms) SAVEPOINT active_record_1
39774
+ 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]]
39775
+ 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-05-09 19:51:24.217605"], ["id", 7]]
39776
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39777
+  (0.3ms) SELECT COUNT(*) FROM "admins"
39778
+ Admin Load (7.3ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]
39779
+  (0.2ms) ROLLBACK
39780
+  (0.1ms) BEGIN
39781
+  (0.3ms) SAVEPOINT active_record_1
39782
+ AssignmentGroup Exists (4.0ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]]
39783
+ SQL (0.7ms) 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-05-02 19:51:24.246451"], ["canvas_updated_at", "2018-05-08 19:51:24.246620"], ["created_at", "2018-05-09 19:51:24.252622"], ["updated_at", "2018-05-09 19:51:24.252622"]]
39784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39785
+ 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]]
39786
+  (0.1ms) ROLLBACK
39787
+  (0.1ms) BEGIN
39788
+  (0.1ms) SAVEPOINT active_record_1
39789
+ 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]]
39790
+ 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-05-02 19:51:24.258485"], ["canvas_updated_at", "2018-05-08 19:51:24.258579"], ["created_at", "2018-05-09 19:51:24.259523"], ["updated_at", "2018-05-09 19:51:24.259523"]]
39791
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39792
+ AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
39793
+ 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", 2], ["LIMIT", 1]]
39794
+  (0.1ms) ROLLBACK
39795
+  (0.2ms) BEGIN
39796
+  (0.1ms) SAVEPOINT active_record_1
39797
+ 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]]
39798
+ 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-05-02 19:51:24.265137"], ["canvas_updated_at", "2018-05-08 19:51:24.265236"], ["created_at", "2018-05-09 19:51:24.266486"], ["updated_at", "2018-05-09 19:51:24.266486"]]
39799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39800
+  (0.1ms) ROLLBACK
39801
+  (0.1ms) BEGIN
39802
+  (0.1ms) SAVEPOINT active_record_1
39803
+ AssignmentGroup Exists (7.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]]
39804
+ 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", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-05-02 19:51:24.269485"], ["canvas_updated_at", "2018-05-08 19:51:24.269567"], ["created_at", "2018-05-09 19:51:24.277987"], ["updated_at", "2018-05-09 19:51:24.277987"]]
39805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39806
+  (0.1ms) ROLLBACK
39807
+  (0.1ms) BEGIN
39808
+  (0.3ms) SAVEPOINT active_record_1
39809
+ Assignment Exists (11.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
39810
+ SQL (1.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-05-16 19:51:24.302967"], ["unlock_at", "2018-05-08 19:51:24.303130"], ["lock_at", "2018-05-30 19:51:24.303201"], ["created_at", "2018-05-09 19:51:24.316841"], ["updated_at", "2018-05-09 19:51:24.316841"]]
39811
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39812
+ 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]]
39813
+  (0.2ms) ROLLBACK
39814
+  (0.1ms) BEGIN
39815
+  (0.1ms) SAVEPOINT active_record_1
39816
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
39817
+ 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-05-16 19:51:24.323465"], ["unlock_at", "2018-05-08 19:51:24.323569"], ["lock_at", "2018-05-30 19:51:24.323628"], ["created_at", "2018-05-09 19:51:24.324853"], ["updated_at", "2018-05-09 19:51:24.324853"]]
39818
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39819
+ Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]]
39820
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
39821
+  (0.2ms) ROLLBACK
39822
+  (0.3ms) BEGIN
39823
+  (0.2ms) SAVEPOINT active_record_1
39824
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]]
39825
+ 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-05-16 19:51:24.339801"], ["unlock_at", "2018-05-08 19:51:24.339966"], ["lock_at", "2018-05-30 19:51:24.340034"], ["created_at", "2018-05-09 19:51:24.341575"], ["updated_at", "2018-05-09 19:51:24.341575"]]
39826
+  (0.3ms) RELEASE SAVEPOINT active_record_1
39827
+  (0.2ms) ROLLBACK
39828
+  (0.2ms) BEGIN
39829
+  (0.2ms) SAVEPOINT active_record_1
39830
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]]
39831
+ 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", 4], ["title", "Assignment 4"], ["due_at", "2018-05-16 19:51:24.346869"], ["unlock_at", "2018-05-08 19:51:24.347041"], ["lock_at", "2018-05-30 19:51:24.347179"], ["created_at", "2018-05-09 19:51:24.349286"], ["updated_at", "2018-05-09 19:51:24.349286"]]
39832
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39833
+  (0.2ms) ROLLBACK
39834
+  (0.1ms) BEGIN
39835
+  (0.2ms) SAVEPOINT active_record_1
39836
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]]
39837
+ 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-05-16 19:51:24.354194"], ["unlock_at", "2018-05-08 19:51:24.354471"], ["lock_at", "2018-05-30 19:51:24.354785"], ["created_at", "2018-05-09 19:51:24.357079"], ["updated_at", "2018-05-09 19:51:24.357079"]]
39838
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39839
+  (0.1ms) ROLLBACK
39840
+  (0.1ms) BEGIN
39841
+  (0.1ms) SAVEPOINT active_record_1
39842
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 6], ["LIMIT", 1]]
39843
+ 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", 6], ["title", "Assignment 6"], ["due_at", "2018-05-16 19:51:24.361416"], ["unlock_at", "2018-05-08 19:51:24.361531"], ["lock_at", "2018-05-30 19:51:24.361587"], ["created_at", "2018-05-09 19:51:24.363476"], ["updated_at", "2018-05-09 19:51:24.363476"]]
39844
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39845
+  (0.2ms) ROLLBACK
39846
+  (0.2ms) BEGIN
39847
+  (0.2ms) SAVEPOINT active_record_1
39848
+ Course Exists (3.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 20227684], ["LIMIT", 1]]
39849
+ 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", 20227684], ["sis_id", "eabff00a20cf7e81a9c3c1c54fdae983"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.391404"], ["end_date", "2018-05-30 19:51:24.391533"], ["created_at", "2018-05-09 19:51:24.396540"], ["updated_at", "2018-05-09 19:51:24.396540"]]
39850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39851
+  (0.3ms) SAVEPOINT active_record_1
39852
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 77908598], ["LIMIT", 1]]
39853
+ 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", 77908598], ["sis_id", "4cc39e3cc84695b807462a52b01afd37"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.399526"], ["end_date", "2018-05-30 19:51:24.399866"], ["created_at", "2018-05-09 19:51:24.402071"], ["updated_at", "2018-05-09 19:51:24.402071"]]
39854
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39855
+  (0.1ms) SAVEPOINT active_record_1
39856
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 7], ["LIMIT", 1]]
39857
+ 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", 7], ["title", "Assignment 7"], ["due_at", "2018-05-16 19:51:24.404372"], ["unlock_at", "2018-05-08 19:51:24.404553"], ["lock_at", "2018-05-30 19:51:24.404618"], ["created_at", "2018-05-09 19:51:24.406001"], ["updated_at", "2018-05-09 19:51:24.406001"]]
39858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39859
+  (0.1ms) SAVEPOINT active_record_1
39860
+ 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", 7], ["id", 7], ["LIMIT", 1]]
39861
+ SQL (0.3ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 77908598], ["context_type", "Course"], ["updated_at", "2018-05-09 19:51:24.409364"], ["id", 7]]
39862
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39863
+ Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 77908598], ["LIMIT", 1]]
39864
+  (0.2ms) ROLLBACK
39865
+  (0.1ms) BEGIN
39866
+  (0.3ms) SAVEPOINT active_record_1
39867
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 8], ["LIMIT", 1]]
39868
+ 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", 8], ["title", "Assignment 8"], ["due_at", "2018-05-16 19:51:24.455311"], ["unlock_at", "2018-05-08 19:51:24.455428"], ["lock_at", "2018-05-30 19:51:24.455488"], ["created_at", "2018-05-09 19:51:24.457434"], ["updated_at", "2018-05-09 19:51:24.457434"]]
39869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39870
+  (0.1ms) SAVEPOINT active_record_1
39871
+ SQL (6.0ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 8], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.460313"], ["updated_at", "2018-05-09 19:51:24.460313"]]
39872
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39873
+  (0.1ms) ROLLBACK
39874
+  (0.2ms) BEGIN
39875
+  (0.1ms) SAVEPOINT active_record_1
39876
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 9], ["LIMIT", 1]]
39877
+ 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", 9], ["title", "Assignment 9"], ["due_at", "2018-05-16 19:51:24.470961"], ["unlock_at", "2018-05-08 19:51:24.471204"], ["lock_at", "2018-05-30 19:51:24.471287"], ["created_at", "2018-05-09 19:51:24.472641"], ["updated_at", "2018-05-09 19:51:24.472641"]]
39878
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39879
+  (0.1ms) SAVEPOINT active_record_1
39880
+ SQL (0.2ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 2], ["content_id", 9], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.474608"], ["updated_at", "2018-05-09 19:51:24.474608"]]
39881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39882
+  (0.2ms) ROLLBACK
39883
+  (0.1ms) BEGIN
39884
+  (0.2ms) SAVEPOINT active_record_1
39885
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 89304482], ["LIMIT", 1]]
39886
+ 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", 89304482], ["sis_id", "73ce9c590ebba89a77ff40f9815e2fcc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.504207"], ["end_date", "2018-05-30 19:51:24.504321"], ["created_at", "2018-05-09 19:51:24.505891"], ["updated_at", "2018-05-09 19:51:24.505891"]]
39887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39888
+  (0.1ms) SAVEPOINT active_record_1
39889
+ SQL (8.0ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 3], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-09 19:51:24.507939"], ["updated_at", "2018-05-09 19:51:24.507939"]]
39890
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39891
+  (0.1ms) ROLLBACK
39892
+  (0.2ms) BEGIN
39893
+  (0.2ms) SAVEPOINT active_record_1
39894
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 46313680], ["LIMIT", 1]]
39895
+ 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", 46313680], ["sis_id", "2a9d10b7a1c0ec058daae43bab453a12"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.519709"], ["end_date", "2018-05-30 19:51:24.519824"], ["created_at", "2018-05-09 19:51:24.521450"], ["updated_at", "2018-05-09 19:51:24.521450"]]
39896
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39897
+  (0.1ms) SAVEPOINT active_record_1
39898
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 2], ["canvas_context_id", 4], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-09 19:51:24.524523"], ["updated_at", "2018-05-09 19:51:24.524523"]]
39899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39900
+  (0.1ms) ROLLBACK
39901
+  (0.1ms) BEGIN
39902
+  (0.1ms) SAVEPOINT active_record_1
39903
+ Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 95911438], ["LIMIT", 1]]
39904
+ 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", 95911438], ["sis_id", "eda53ce38098c60f8284deebf5e4e8db"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.528463"], ["end_date", "2018-05-30 19:51:24.528587"], ["created_at", "2018-05-09 19:51:24.530565"], ["updated_at", "2018-05-09 19:51:24.530565"]]
39905
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39906
+  (0.1ms) SAVEPOINT active_record_1
39907
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 3], ["canvas_context_id", 5], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-09 19:51:24.532776"], ["updated_at", "2018-05-09 19:51:24.532776"]]
39908
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39909
+  (0.1ms) ROLLBACK
39910
+  (0.1ms) BEGIN
39911
+  (0.1ms) SAVEPOINT active_record_1
39912
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 64274012], ["LIMIT", 1]]
39913
+ 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", 64274012], ["sis_id", "cf25f44a806aa0cce602e8525334ac6d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.536610"], ["end_date", "2018-05-30 19:51:24.536723"], ["created_at", "2018-05-09 19:51:24.537877"], ["updated_at", "2018-05-09 19:51:24.537877"]]
39914
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39915
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 6], ["LIMIT", 1]]
39916
+  (0.1ms) ROLLBACK
39917
+  (0.1ms) BEGIN
39918
+  (0.1ms) SAVEPOINT active_record_1
39919
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 11898536], ["LIMIT", 1]]
39920
+ 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", 11898536], ["sis_id", "0f101c450363f1fc883a1d7d9796592e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.542339"], ["end_date", "2018-05-30 19:51:24.542455"], ["created_at", "2018-05-09 19:51:24.543513"], ["updated_at", "2018-05-09 19:51:24.543513"]]
39921
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39922
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
39923
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 11898536], ["LIMIT", 1]]
39924
+  (0.1ms) ROLLBACK
39925
+  (0.1ms) BEGIN
39926
+  (0.1ms) SAVEPOINT active_record_1
39927
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73483641], ["LIMIT", 1]]
39928
+ 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", 73483641], ["sis_id", "03d777b15304805d55a499007a761237"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.558342"], ["end_date", "2018-05-30 19:51:24.558490"], ["created_at", "2018-05-09 19:51:24.559731"], ["updated_at", "2018-05-09 19:51:24.559731"]]
39929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39930
+  (0.1ms) ROLLBACK
39931
+  (0.1ms) BEGIN
39932
+  (0.1ms) SAVEPOINT active_record_1
39933
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73030373], ["LIMIT", 1]]
39934
+ 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", 73030373], ["sis_id", "258c684badfa83c34c3f4e4e8c37e337"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.564025"], ["end_date", "2018-05-30 19:51:24.564230"], ["created_at", "2018-05-09 19:51:24.565796"], ["updated_at", "2018-05-09 19:51:24.565796"]]
39935
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39936
+  (0.3ms) ROLLBACK
39937
+  (0.1ms) BEGIN
39938
+  (0.1ms) SAVEPOINT active_record_1
39939
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73635630], ["LIMIT", 1]]
39940
+ 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", 73635630], ["sis_id", "60ca0086cacfdb09f25c6371d1ed635f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.571013"], ["end_date", "2018-05-30 19:51:24.571152"], ["created_at", "2018-05-09 19:51:24.572355"], ["updated_at", "2018-05-09 19:51:24.572355"]]
39941
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39942
+  (0.1ms) ROLLBACK
39943
+  (0.1ms) BEGIN
39944
+  (0.1ms) SAVEPOINT active_record_1
39945
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65485060], ["LIMIT", 1]]
39946
+ 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", 65485060], ["sis_id", "1d247b7d7746b26337d1f8fa78c6c12a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.577071"], ["end_date", "2018-05-30 19:51:24.577179"], ["created_at", "2018-05-09 19:51:24.578442"], ["updated_at", "2018-05-09 19:51:24.578442"]]
39947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39948
+  (0.1ms) ROLLBACK
39949
+  (0.1ms) BEGIN
39950
+  (0.1ms) SAVEPOINT active_record_1
39951
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 15711364], ["LIMIT", 1]]
39952
+ 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", 15711364], ["sis_id", "f43f08e0bd5e23dc1db85928e1d251ae"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.583456"], ["end_date", "2018-05-30 19:51:24.583553"], ["created_at", "2018-05-09 19:51:24.584736"], ["updated_at", "2018-05-09 19:51:24.584736"]]
39953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39954
+  (0.1ms) ROLLBACK
39955
+  (0.1ms) BEGIN
39956
+  (0.1ms) SAVEPOINT active_record_1
39957
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6736935], ["LIMIT", 1]]
39958
+ 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", 6736935], ["sis_id", "10ccb1dbdbf2ab621bf646ed25ec35bc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:24.587662"], ["end_date", "2018-05-30 19:51:24.587732"], ["created_at", "2018-05-09 19:51:24.588727"], ["updated_at", "2018-05-09 19:51:24.588727"]]
39959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39960
+  (0.1ms) ROLLBACK
39961
+  (0.3ms) BEGIN
39962
+  (0.2ms) SAVEPOINT active_record_1
39963
+ Enrollment Exists (8.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 95354190], ["LIMIT", 1]]
39964
+ SQL (6.1ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 95354190], ["created_at", "2018-05-09 19:51:24.628163"], ["updated_at", "2018-05-09 19:51:24.628163"]]
39965
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39966
+ 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]]
39967
+  (0.2ms) ROLLBACK
39968
+  (0.1ms) BEGIN
39969
+  (0.1ms) SAVEPOINT active_record_1
39970
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 47401012], ["LIMIT", 1]]
39971
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 47401012], ["created_at", "2018-05-09 19:51:24.641591"], ["updated_at", "2018-05-09 19:51:24.641591"]]
39972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39973
+ Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]]
39974
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 47401012], ["LIMIT", 1]]
39975
+  (0.1ms) ROLLBACK
39976
+  (0.2ms) BEGIN
39977
+  (0.1ms) SAVEPOINT active_record_1
39978
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 38890651], ["LIMIT", 1]]
39979
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 38890651], ["created_at", "2018-05-09 19:51:24.648958"], ["updated_at", "2018-05-09 19:51:24.648958"]]
39980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39981
+  (0.1ms) ROLLBACK
39982
+  (0.1ms) BEGIN
39983
+  (0.1ms) SAVEPOINT active_record_1
39984
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 81593756], ["LIMIT", 1]]
39985
+ SQL (0.6ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 81593756], ["created_at", "2018-05-09 19:51:24.652806"], ["updated_at", "2018-05-09 19:51:24.652806"]]
39986
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39987
+  (0.2ms) ROLLBACK
39988
+  (0.1ms) BEGIN
39989
+  (0.1ms) SAVEPOINT active_record_1
39990
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 399378], ["LIMIT", 1]]
39991
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 399378], ["created_at", "2018-05-09 19:51:24.665347"], ["updated_at", "2018-05-09 19:51:24.665347"]]
39992
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39993
+  (0.1ms) ROLLBACK
39994
+  (0.1ms) BEGIN
39995
+  (0.1ms) SAVEPOINT active_record_1
39996
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 43519978], ["LIMIT", 1]]
39997
+ 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", 43519978], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.670607"], ["updated_at", "2018-05-09 19:51:24.670607"]]
39998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39999
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]
40000
+  (0.1ms) ROLLBACK
40001
+  (0.1ms) BEGIN
40002
+  (0.1ms) SAVEPOINT active_record_1
40003
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 28187018], ["LIMIT", 1]]
40004
+ 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", 28187018], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:24.677669"], ["updated_at", "2018-05-09 19:51:24.677669"]]
40005
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40006
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]]
40007
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 28187018], ["LIMIT", 1]]
40008
+  (0.2ms) ROLLBACK
40009
+  (0.1ms) BEGIN
40010
+  (0.2ms) SELECT COUNT(*) FROM "roles"
40011
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
40012
+  (0.1ms) SAVEPOINT active_record_1
40013
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
40014
+ 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-05-09 19:51:24.691731"], ["updated_at", "2018-05-09 19:51:24.691731"]]
40015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40016
+  (0.2ms) SELECT COUNT(*) FROM "roles"
40017
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]
40018
+  (0.1ms) ROLLBACK
40019
+  (0.1ms) BEGIN
40020
+  (7.2ms) SAVEPOINT active_record_1
40021
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
40022
+ 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-05-09 19:51:24.712289"], ["updated_at", "2018-05-09 19:51:24.712289"]]
40023
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40024
+  (0.4ms) SELECT COUNT(*) FROM "roles"
40025
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
40026
+  (0.2ms) SAVEPOINT active_record_1
40027
+ 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", 6], ["LIMIT", 1]]
40028
+ 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-05-09 19:51:24.720390"], ["id", 6]]
40029
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40030
+  (0.3ms) SELECT COUNT(*) FROM "roles"
40031
+ Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
40032
+  (0.2ms) ROLLBACK
40033
+  (0.1ms) BEGIN
40034
+  (0.2ms) SAVEPOINT active_record_1
40035
+ Section Exists (3.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 79282442], ["LIMIT", 1]]
40036
+ SQL (7.7ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 79282442], ["created_at", "2018-05-09 19:51:24.763626"], ["updated_at", "2018-05-09 19:51:24.763626"]]
40037
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40038
+ 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]]
40039
+  (0.1ms) ROLLBACK
40040
+  (0.1ms) BEGIN
40041
+  (0.1ms) SAVEPOINT active_record_1
40042
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 60941727], ["LIMIT", 1]]
40043
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 60941727], ["created_at", "2018-05-09 19:51:24.777163"], ["updated_at", "2018-05-09 19:51:24.777163"]]
40044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40045
+ Section Load (0.3ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
40046
+ Section Exists (0.4ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 60941727], ["LIMIT", 1]]
40047
+  (0.2ms) ROLLBACK
40048
+  (0.1ms) BEGIN
40049
+  (0.1ms) SAVEPOINT active_record_1
40050
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62042464], ["LIMIT", 1]]
40051
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62042464], ["created_at", "2018-05-09 19:51:24.785556"], ["updated_at", "2018-05-09 19:51:24.785556"]]
40052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40053
+  (0.1ms) ROLLBACK
40054
+  (0.1ms) BEGIN
40055
+  (0.1ms) SAVEPOINT active_record_1
40056
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6500555], ["LIMIT", 1]]
40057
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 6500555], ["created_at", "2018-05-09 19:51:24.789668"], ["updated_at", "2018-05-09 19:51:24.789668"]]
40058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40059
+  (0.1ms) ROLLBACK
40060
+  (0.1ms) BEGIN
40061
+  (0.2ms) SAVEPOINT active_record_1
40062
+ Submission Exists (12.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]]
40063
+ SQL (1.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-05-02 19:51:24.805342"], ["graded_at", "2018-05-08 19:51:24.805565"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-09 19:51:24.819473"], ["updated_at", "2018-05-09 19:51:24.819473"]]
40064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40065
+ 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]]
40066
+  (0.2ms) ROLLBACK
40067
+  (0.1ms) BEGIN
40068
+  (0.1ms) SAVEPOINT active_record_1
40069
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
40070
+ 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", 2], ["submitted_at", "2018-05-02 19:51:24.826422"], ["graded_at", "2018-05-08 19:51:24.826540"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-09 19:51:24.827743"], ["updated_at", "2018-05-09 19:51:24.827743"]]
40071
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40072
+ Submission Load (0.3ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]]
40073
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
40074
+  (0.1ms) ROLLBACK
40075
+  (0.1ms) BEGIN
40076
+  (0.1ms) SAVEPOINT active_record_1
40077
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]]
40078
+ 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-05-02 19:51:24.836771"], ["graded_at", "2018-05-08 19:51:24.836956"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-09 19:51:24.838564"], ["updated_at", "2018-05-09 19:51:24.838564"]]
40079
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40080
+  (0.1ms) ROLLBACK
40081
+  (0.1ms) BEGIN
40082
+  (0.1ms) SAVEPOINT active_record_1
40083
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]]
40084
+ 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-05-02 19:51:24.842361"], ["graded_at", "2018-05-08 19:51:24.842452"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-09 19:51:24.843609"], ["updated_at", "2018-05-09 19:51:24.843609"]]
40085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40086
+  (0.1ms) ROLLBACK
40087
+  (0.1ms) BEGIN
40088
+  (0.1ms) SAVEPOINT active_record_1
40089
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]]
40090
+ 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-05-02 19:51:24.846412"], ["graded_at", "2018-05-08 19:51:24.846523"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-09 19:51:24.847771"], ["updated_at", "2018-05-09 19:51:24.847771"]]
40091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40092
+  (7.0ms) ROLLBACK
40093
+  (0.1ms) BEGIN
40094
+  (0.1ms) SAVEPOINT active_record_1
40095
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 80109739], ["LIMIT", 1]]
40096
+ 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", 80109739], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "active"], ["sis_id", "6cf57739a60a02a3506f57e22038307a"], ["created_at", "2018-05-09 19:51:24.860195"], ["updated_at", "2018-05-09 19:51:24.860195"]]
40097
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40098
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]
40099
+  (0.2ms) ROLLBACK
40100
+  (0.2ms) BEGIN
40101
+  (0.2ms) SAVEPOINT active_record_1
40102
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93086531], ["LIMIT", 1]]
40103
+ 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", 93086531], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "active"], ["sis_id", "3c29dd141aff87c9b78194096363f9d6"], ["created_at", "2018-05-09 19:51:24.867416"], ["updated_at", "2018-05-09 19:51:24.867416"]]
40104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40105
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]]
40106
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 93086531], ["LIMIT", 1]]
40107
+  (0.2ms) ROLLBACK
40108
+  (0.1ms) BEGIN
40109
+  (0.1ms) SAVEPOINT active_record_1
40110
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 31147576], ["LIMIT", 1]]
40111
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 31147576], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "active"], ["sis_id", "aec517f760694d21809c7f924d126bff"], ["created_at", "2018-05-09 19:51:24.874830"], ["updated_at", "2018-05-09 19:51:24.874830"]]
40112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40113
+  (0.1ms) ROLLBACK
40114
+  (0.1ms) BEGIN
40115
+  (0.1ms) SAVEPOINT active_record_1
40116
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 43613410], ["LIMIT", 1]]
40117
+ 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", 43613410], ["name", "Cool Term"], ["start_at", "2018-05-07 19:51:24.877976"], ["end_at", "2018-05-12 19:51:24.878085"], ["workflow_state", "active"], ["sis_id", "d329ef98fdd99668be282c6c8ab9a334"], ["created_at", "2018-05-09 19:51:24.880814"], ["updated_at", "2018-05-09 19:51:24.880814"]]
40118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40119
+  (0.1ms) SAVEPOINT active_record_1
40120
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4288547], ["LIMIT", 1]]
40121
+ 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", 4288547], ["name", "Cool Term"], ["start_at", "2018-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "inactive"], ["sis_id", "12b0fdd95f348b75d115bb8649411f0c"], ["created_at", "2018-05-09 19:51:24.883898"], ["updated_at", "2018-05-09 19:51:24.883898"]]
40122
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40123
+  (0.1ms) SAVEPOINT active_record_1
40124
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 18687099], ["LIMIT", 1]]
40125
+ 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", 18687099], ["name", "Cool Term"], ["start_at", "2018-03-09 19:51:24.885398"], ["end_at", "2018-04-09 19:51:24.887302"], ["workflow_state", "active"], ["sis_id", "f0a0f0ee6ce8a8d522bc8ebc7e7f3b7d"], ["created_at", "2018-05-09 19:51:24.888902"], ["updated_at", "2018-05-09 19:51:24.888902"]]
40126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40127
+  (0.1ms) SAVEPOINT active_record_1
40128
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 50051410], ["LIMIT", 1]]
40129
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 50051410], ["name", "Cool Term"], ["start_at", "2018-11-09 19:51:24.890187"], ["end_at", "2019-05-09 19:51:24.890246"], ["workflow_state", "active"], ["sis_id", "6aba6dd5962a2c98cf61f765a1627209"], ["created_at", "2018-05-09 19:51:24.891535"], ["updated_at", "2018-05-09 19:51:24.891535"]]
40130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40131
+ Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-05-24 19:51:24.892842' OR start_at IS NULL) AND (end_at >= '2018-04-24 19:51:24.892980' OR end_at IS NULL) [["workflow_state", "active"]]
40132
+  (0.1ms) ROLLBACK
40133
+  (0.1ms) BEGIN
40134
+  (0.3ms) SELECT COUNT(*) FROM "terms"
40135
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
40136
+  (0.1ms) SAVEPOINT active_record_1
40137
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
40138
+ 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-05-09 19:51:24.898979"], ["updated_at", "2018-05-09 19:51:24.898979"]]
40139
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40140
+  (0.2ms) SELECT COUNT(*) FROM "terms"
40141
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]
40142
+  (0.1ms) ROLLBACK
40143
+  (0.1ms) BEGIN
40144
+  (0.1ms) SAVEPOINT active_record_1
40145
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
40146
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "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-05-06 19:51:17.936090"], ["end_at", "2018-05-12 19:51:17.936277"], ["workflow_state", "active"], ["sis_id", "398fc156367e25be71c0704f02270e41"], ["created_at", "2018-05-09 19:51:24.904170"], ["updated_at", "2018-05-09 19:51:24.904170"]]
40147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40148
+  (0.4ms) SELECT COUNT(*) FROM "terms"
40149
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
40150
+  (0.1ms) SAVEPOINT active_record_1
40151
+ 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", 18], ["LIMIT", 1]]
40152
+ SQL (0.5ms) 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-05-09 19:51:24.916067"], ["id", 18]]
40153
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40154
+  (0.3ms) SELECT COUNT(*) FROM "terms"
40155
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]
40156
+  (0.2ms) ROLLBACK
40157
+  (0.1ms) BEGIN
40158
+  (0.2ms) SAVEPOINT active_record_1
40159
+ User Exists (2.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 56972992], ["LIMIT", 1]]
40160
+ SQL (3.1ms) 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", 56972992], ["sis_id", "86e3ac6f04be388f0b2be8df4709d525"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-09 19:51:24.941353"], ["updated_at", "2018-05-09 19:51:24.941353"]]
40161
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40162
+ 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]]
40163
+  (0.2ms) ROLLBACK
40164
+  (0.1ms) BEGIN
40165
+  (0.1ms) SAVEPOINT active_record_1
40166
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 26795031], ["LIMIT", 1]]
40167
+ 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", 26795031], ["sis_id", "095573c2e73adfc292267d589dfe5288"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-09 19:51:24.950769"], ["updated_at", "2018-05-09 19:51:24.950769"]]
40168
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40169
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
40170
+ User Exists (0.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 26795031], ["LIMIT", 1]]
40171
+  (0.2ms) ROLLBACK
40172
+  (0.2ms) BEGIN
40173
+  (0.2ms) SAVEPOINT active_record_1
40174
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 63971074], ["LIMIT", 1]]
40175
+ 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", 63971074], ["sis_id", "3c92f3e4a3301f6b319c06ec9678b443"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-09 19:51:24.961588"], ["updated_at", "2018-05-09 19:51:24.961588"]]
40176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40177
+  (0.2ms) ROLLBACK
40178
+  (0.1ms) BEGIN
40179
+  (0.1ms) SAVEPOINT active_record_1
40180
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 49845991], ["LIMIT", 1]]
40181
+ 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", 49845991], ["sis_id", "dfb6f1589452b2b2979ef2b563900a66"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-09 19:51:24.967970"], ["updated_at", "2018-05-09 19:51:24.967970"]]
40182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40183
+  (0.1ms) ROLLBACK
40184
+  (0.1ms) BEGIN
40185
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
40186
+ AssignmentGroup Create Many Without Validations Or Callbacks (0.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-05-09 19:51:24.977875','2018-05-09 19:51:24.977875'),(2,1,'Tests',NULL,1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-05-09 19:51:24.977875','2018-05-09 19:51:24.977875') 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"
40187
+  (0.3ms) SELECT COUNT(*) FROM "assignment_groups"
40188
+  (0.2ms) ROLLBACK
40189
+  (0.1ms) BEGIN
40190
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
40191
+ 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','<p>fdsfds</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-05-09 19:51:25.002445','2018-05-09 19:51:25.002445'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-05-09 19:51:25.002445','2018-05-09 19:51:25.002445') 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"
40192
+  (0.3ms) SELECT COUNT(*) FROM "assignments"
40193
+  (0.2ms) ROLLBACK
40194
+  (0.2ms) BEGIN
40195
+  (0.5ms) SELECT COUNT(*) FROM "context_module_items"
40196
+ ContextModuleItem Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id","canvas_context_module_id","position","content_type","content_id","workflow_state","created_at","updated_at") VALUES (15,9,1,'Assignment',83,'active','2018-05-09 19:51:25.016668','2018-05-09 19:51:25.016668'),(16,10,1,'Assignment',80,'active','2018-05-09 19:51:25.016668','2018-05-09 19:51:25.016668') ON CONFLICT (canvas_context_module_item_id) DO UPDATE SET "canvas_context_module_item_id"=EXCLUDED."canvas_context_module_item_id","canvas_context_module_id"=EXCLUDED."canvas_context_module_id","position"=EXCLUDED."position","content_type"=EXCLUDED."content_type","content_id"=EXCLUDED."content_id","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("context_module_items".canvas_context_module_item_id, "context_module_items".canvas_context_module_id, "context_module_items".position, "context_module_items".content_type, "context_module_items".content_id, "context_module_items".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_context_module_item_id, EXCLUDED.canvas_context_module_id, EXCLUDED.position, EXCLUDED.content_type, EXCLUDED.content_id, EXCLUDED.workflow_state) RETURNING "id"
40197
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
40198
+  (0.1ms) ROLLBACK
40199
+  (0.1ms) BEGIN
40200
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
40201
+ ContextModule Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "context_modules" ("canvas_context_module_id","canvas_context_id","canvas_context_type","position","name","workflow_state","deleted_at","created_at","updated_at") VALUES (23,785,'Course',1,'New Mod','active',NULL,'2018-05-09 19:51:25.035769','2018-05-09 19:51:25.035769'),(4,27,'Course',1,'Modules gonna module','unpublished',NULL,'2018-05-09 19:51:25.035769','2018-05-09 19:51:25.035769') ON CONFLICT (canvas_context_module_id) DO UPDATE SET "canvas_context_module_id"=EXCLUDED."canvas_context_module_id","canvas_context_id"=EXCLUDED."canvas_context_id","canvas_context_type"=EXCLUDED."canvas_context_type","position"=EXCLUDED."position","name"=EXCLUDED."name","workflow_state"=EXCLUDED."workflow_state","deleted_at"=EXCLUDED."deleted_at","updated_at"=EXCLUDED."updated_at" WHERE ("context_modules".canvas_context_module_id, "context_modules".canvas_context_id, "context_modules".canvas_context_type, "context_modules".position, "context_modules".name, "context_modules".workflow_state, "context_modules".deleted_at) IS DISTINCT FROM (EXCLUDED.canvas_context_module_id, EXCLUDED.canvas_context_id, EXCLUDED.canvas_context_type, EXCLUDED.position, EXCLUDED.name, EXCLUDED.workflow_state, EXCLUDED.deleted_at) RETURNING "id"
40202
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
40203
+  (0.1ms) ROLLBACK
40204
+  (0.1ms) BEGIN
40205
+  (0.4ms) SELECT COUNT(*) FROM "users"
40206
+ User Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","full_name","sortable_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','Patches the Spider','the Spider, Patches','active','spiderdude1337','2018-05-09 19:51:25.049623','2018-05-09 19:51:25.049623'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','Hunter Djura','Djura, Hunter','active','retireddude109','2018-05-09 19:51:25.049623','2018-05-09 19:51:25.049623') 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","full_name"=EXCLUDED."full_name","sortable_name"=EXCLUDED."sortable_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".full_name, "users".sortable_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.full_name, EXCLUDED.sortable_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
40207
+  (0.4ms) SELECT COUNT(*) FROM "users"
40208
+  (0.2ms) ROLLBACK
40209
+  (0.1ms) BEGIN
40210
+  (0.2ms) SELECT COUNT(*) FROM "courses"
40211
+ 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-05-09 19:51:25.061442','2018-05-09 19:51:25.061442'),(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-05-09 19:51:25.061442','2018-05-09 19:51:25.061442') 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"
40212
+  (0.3ms) SELECT COUNT(*) FROM "courses"
40213
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
40214
+  (0.1ms) ROLLBACK
40215
+  (0.1ms) BEGIN
40216
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
40217
+ 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-05-09 19:51:25.072530','2018-05-09 19:51:25.072530'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-05-09 19:51:25.072530','2018-05-09 19:51:25.072530') 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"
40218
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
40219
+  (0.3ms) ROLLBACK
40220
+  (0.1ms) BEGIN
40221
+  (0.5ms) SELECT COUNT(*) FROM "sections"
40222
+ 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-05-09 19:51:25.093069','2018-05-09 19:51:25.093069'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-05-09 19:51:25.093069','2018-05-09 19:51:25.093069') 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"
40223
+  (0.3ms) SELECT COUNT(*) FROM "sections"
40224
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
40225
+  (0.3ms) ROLLBACK
40226
+  (0.1ms) BEGIN
40227
+ 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-05-09 19:51:25.105794','2018-05-09 19:51:25.105794') 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"
40228
+  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)
40229
+ 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]]
40230
+  (0.2ms) ROLLBACK
40231
+  (0.1ms) BEGIN
40232
+  (0.2ms) SELECT COUNT(*) FROM "users"
40233
+  (0.2ms) SELECT COUNT(*) FROM "courses"
40234
+ 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-05-09 19:51:25.130202','2018-05-09 19:51:25.130202'),(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-05-09 19:51:25.130202','2018-05-09 19:51:25.130202') 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"
40235
+ User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","full_name","sortable_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','Patches the Spider','the Spider, Patches','active','spiderdude1337','2018-05-09 19:51:25.133825','2018-05-09 19:51:25.133825'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','Hunter Djura','Djura, Hunter','active','retireddude109','2018-05-09 19:51:25.133825','2018-05-09 19:51:25.133825') 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","full_name"=EXCLUDED."full_name","sortable_name"=EXCLUDED."sortable_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".full_name, "users".sortable_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.full_name, EXCLUDED.sortable_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
40236
+  (0.2ms) SELECT COUNT(*) FROM "users"
40237
+  (0.3ms) SELECT COUNT(*) FROM "courses"
40238
+  (0.2ms) ROLLBACK
40239
+  (0.1ms) BEGIN
40240
+  (0.1ms) ROLLBACK
40241
+  (0.1ms) BEGIN
40242
+  (0.3ms) SELECT COUNT(*) FROM "submissions"
40243
+ 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-05-09 19:51:25.157915','2018-05-09 19:51:25.157915'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-05-09 19:51:25.157915','2018-05-09 19:51:25.157915') 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"
40244
+  (0.3ms) SELECT COUNT(*) FROM "submissions"
40245
+  (0.2ms) ROLLBACK
40246
+  (0.2ms) BEGIN
40247
+  (0.2ms) SAVEPOINT active_record_1
40248
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 63398156], ["LIMIT", 1]]
40249
+ 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", 63398156], ["sis_id", "10c7b6d9618e53bdf17f6a769d1d52e8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-05-06 19:51:25.165771"], ["end_date", "2018-05-30 19:51:25.166433"], ["created_at", "2018-05-09 19:51:25.167848"], ["updated_at", "2018-05-09 19:51:25.167848"]]
40250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40251
+  (0.1ms) SAVEPOINT active_record_1
40252
+ SQL (0.2ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 18], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-09 19:51:25.170370"], ["updated_at", "2018-05-09 19:51:25.170370"]]
40253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40254
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
40255
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2 [["canvas_context_module_id", 1], ["LIMIT", 1]]
40256
+  (0.2ms) SAVEPOINT active_record_1
40257
+ SQL (0.4ms) UPDATE "context_modules" SET "canvas_context_id" = $1, "position" = $2, "name" = $3, "workflow_state" = $4, "updated_at" = $5 WHERE "context_modules"."id" = $6 [["canvas_context_id", 1], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["updated_at", "2018-05-09 19:51:25.187114"], ["id", 6]]
40258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40259
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
40260
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
40261
+  (0.2ms) ROLLBACK
40262
+  (0.1ms) BEGIN
40263
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
40264
+ ContextModule Load (0.3ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2 [["canvas_context_module_id", 1], ["LIMIT", 1]]
40265
+  (0.3ms) SAVEPOINT active_record_1
40266
+ SQL (0.4ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "position", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 1], ["canvas_context_type", "Course"], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:25.202046"], ["updated_at", "2018-05-09 19:51:25.202046"]]
40267
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40268
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
40269
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
40270
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
40271
+ ContextModule Load (0.1ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
40272
+  (0.1ms) ROLLBACK
40273
+  (0.2ms) BEGIN
40274
+  (0.8ms) SAVEPOINT active_record_1
40275
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 10], ["LIMIT", 1]]
40276
+ 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", 10], ["title", "Assignment 10"], ["due_at", "2018-05-16 19:51:25.213678"], ["unlock_at", "2018-05-08 19:51:25.213806"], ["lock_at", "2018-05-30 19:51:25.213859"], ["created_at", "2018-05-09 19:51:25.216015"], ["updated_at", "2018-05-09 19:51:25.216015"]]
40277
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40278
+  (0.1ms) SAVEPOINT active_record_1
40279
+ SQL (0.2ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 10], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:25.219004"], ["updated_at", "2018-05-09 19:51:25.219004"]]
40280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40281
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
40282
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
40283
+  (0.3ms) SAVEPOINT active_record_1
40284
+ SQL (0.5ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-09 19:51:25.237165"], ["id", 5]]
40285
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40286
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
40287
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]
40288
+  (0.2ms) ROLLBACK
40289
+  (0.2ms) BEGIN
40290
+  (0.6ms) SELECT COUNT(*) FROM "context_module_items"
40291
+ ContextModuleItem Load (0.3ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
40292
+  (0.2ms) SAVEPOINT active_record_1
40293
+ SQL (0.3ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-09 19:51:25.254112"], ["updated_at", "2018-05-09 19:51:25.254112"]]
40294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40295
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
40296
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
40297
+  (0.1ms) ROLLBACK
40298
+  (202.6ms) DROP DATABASE IF EXISTS "canvas_sync_test"
40299
+  (661.5ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
40300
+ SQL (1.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
40301
+  (0.2ms) DROP TABLE IF EXISTS "accounts" CASCADE
40302
+  (24.5ms) 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)
40303
+  (1.8ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")
40304
+  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE
40305
+  (5.0ms) 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)
40306
+  (2.3ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
40307
+  (0.2ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
40308
+  (5.4ms) 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)
40309
+  (1.6ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")
40310
+  (1.7ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
40311
+  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE
40312
+  (5.8ms) 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)
40313
+  (1.6ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
40314
+  (1.7ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
40315
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
40316
+  (4.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)
40317
+  (0.2ms) DROP TABLE IF EXISTS "context_module_items" CASCADE
40318
+  (4.3ms) CREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "canvas_assignment_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
40319
+  (1.9ms) CREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")
40320
+  (1.8ms) CREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")
40321
+  (0.1ms) DROP TABLE IF EXISTS "context_modules" CASCADE
40322
+  (4.6ms) CREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
40323
+  (1.7ms) CREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")
40324
+  (1.6ms) CREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")
40325
+  (0.1ms) DROP TABLE IF EXISTS "courses" CASCADE
40326
+  (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)
40327
+  (1.7ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
40328
+  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE
40329
+  (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)
40330
+  (1.5ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
40331
+  (1.6ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
40332
+  (1.5ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
40333
+  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE
40334
+  (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)
40335
+  (1.7ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
40336
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
40337
+  (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)
40338
+  (2.0ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
40339
+  (2.1ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
40340
+  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE
40341
+  (4.5ms) 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)
40342
+  (2.0ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
40343
+  (1.5ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
40344
+  (1.5ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
40345
+  (1.6ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
40346
+  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE
40347
+  (6.3ms) 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)
40348
+  (1.6ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
40349
+  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE
40350
+  (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, "full_name" character varying, "sortable_name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
40351
+  (1.7ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
40352
+  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
40353
+  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
40354
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20180605172338)
40355
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES
40356
+ (20170905192509),
40357
+ (20170906193506),
40358
+ (20170914181345),
40359
+ (20171107213207),
40360
+ (20180103162102),
40361
+ (20180109210452),
40362
+ (20180215214227),
40363
+ (20180216171618),
40364
+ (20180220172559),
40365
+ (20180222163506),
40366
+ (20180411215348),
40367
+ (20180509194201),
40368
+ (20170915210836);
40369
+
40370
+ 
40371
+  (4.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)
40372
+ 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]]
40373
+  (0.1ms) BEGIN
40374
+ SQL (1.0ms) 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-06-05 17:24:16.561824"], ["updated_at", "2018-06-05 17:24:16.561824"]]
40375
+  (0.4ms) COMMIT
40376
+ 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]]
40377
+  (0.1ms) BEGIN
40378
+  (0.1ms) COMMIT
40379
+  (2.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
40380
+  (0.2ms) BEGIN
40381
+  (0.2ms) ROLLBACK
40382
+  (0.1ms) BEGIN
40383
+  (0.1ms) ROLLBACK
40384
+  (0.1ms) BEGIN
40385
+  (0.2ms) ROLLBACK
40386
+  (0.1ms) BEGIN
40387
+  (0.1ms) ROLLBACK
40388
+  (0.1ms) BEGIN
40389
+  (0.1ms) ROLLBACK
40390
+  (0.1ms) BEGIN
40391
+  (0.1ms) ROLLBACK
40392
+  (0.1ms) BEGIN
40393
+  (0.1ms) ROLLBACK
40394
+  (0.1ms) BEGIN
40395
+  (0.1ms) ROLLBACK
40396
+  (0.1ms) BEGIN
40397
+  (0.1ms) ROLLBACK
40398
+  (0.1ms) BEGIN
40399
+  (0.1ms) ROLLBACK
40400
+  (0.1ms) BEGIN
40401
+  (0.1ms) ROLLBACK
40402
+  (0.1ms) BEGIN
40403
+  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
40404
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75] Performing GoodJob (Job ID: 86cbbd43-24bb-48b3-ac57-b33c2d3e0b75) from Async(default) with arguments: "argument"
40405
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75]  (0.1ms) SAVEPOINT active_record_1
40406
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75] 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-06-05 17:24:16.976119"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-06-05 17:24:16.997450"], ["updated_at", "2018-06-05 17:24:16.997450"]]
40407
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75]  (0.1ms) RELEASE SAVEPOINT active_record_1
40408
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75]  (0.1ms) SAVEPOINT active_record_1
40409
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75] 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-06-05 17:24:16.999791"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.000080"], ["id", 1]]
40410
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75]  (0.1ms) RELEASE SAVEPOINT active_record_1
40411
+ [ActiveJob] [GoodJob] [86cbbd43-24bb-48b3-ac57-b33c2d3e0b75] Performed GoodJob (Job ID: 86cbbd43-24bb-48b3-ac57-b33c2d3e0b75) from Async(default) in 25.52ms
40412
+  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
40413
+ 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]]
40414
+  (0.2ms) ROLLBACK
40415
+  (0.1ms) BEGIN
40416
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045] Performing BadJob (Job ID: a0067489-89dc-4845-b630-ed1eff9a5045) from Async(default) with arguments: "argument"
40417
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045]  (0.1ms) SAVEPOINT active_record_1
40418
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.006785"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-06-05 17:24:17.007129"], ["updated_at", "2018-06-05 17:24:17.007129"]]
40419
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045]  (0.1ms) RELEASE SAVEPOINT active_record_1
40420
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045]  (0.1ms) SAVEPOINT active_record_1
40421
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045] 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-06-05 17:24:17.008628"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-06-05 17:24:17.008887"], ["id", 2]]
40422
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045]  (0.1ms) RELEASE SAVEPOINT active_record_1
40423
+ [ActiveJob] [BadJob] [a0067489-89dc-4845-b630-ed1eff9a5045] Error performing BadJob (Job ID: a0067489-89dc-4845-b630-ed1eff9a5045) from Async(default) in 3.89ms: EvilError (EvilError):
40424
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
40425
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
40426
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
40427
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
40428
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
40429
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
40430
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
40431
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
40432
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
40433
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
40434
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
40435
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
40436
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
40437
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
40438
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
40439
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
40440
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
40441
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
40442
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
40443
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
40444
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
40445
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
40446
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
40447
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
40448
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
40449
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
40450
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
40451
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
40452
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
40453
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
40454
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
40455
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
40456
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
40457
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
40458
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
40459
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
40460
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
40461
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
40462
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
40463
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
40464
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
40465
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
40466
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
40467
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
40468
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
40469
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
40470
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
40471
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
40472
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
40473
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
40474
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
40475
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
40476
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
40477
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
40478
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
40479
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
40480
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
40481
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
40482
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
40483
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
40484
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
40485
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
40486
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
40487
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
40488
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
40489
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
40490
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
40491
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
40492
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
40493
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
40494
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
40495
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
40496
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
40497
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
40498
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
40499
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
40500
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
40501
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
40502
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
40503
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
40504
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
40505
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
40506
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
40507
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
40508
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
40509
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
40510
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
40511
+ 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]]
40512
+  (0.1ms) ROLLBACK
40513
+  (0.1ms) BEGIN
40514
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1] Performing CanvasSync::Jobs::ReportChecker (Job ID: 5979e3e8-22e6-4db5-aef6-9f39bb06afe1) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
40515
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1]  (0.1ms) SAVEPOINT active_record_1
40516
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.013350"], ["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-06-05 17:24:17.013686"], ["updated_at", "2018-06-05 17:24:17.013686"]]
40517
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1]  (0.1ms) RELEASE SAVEPOINT active_record_1
40518
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1]  (0.2ms) SAVEPOINT active_record_1
40519
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]]
40520
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1]  (0.1ms) RELEASE SAVEPOINT active_record_1
40521
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [5979e3e8-22e6-4db5-aef6-9f39bb06afe1] Performed CanvasSync::Jobs::ReportChecker (Job ID: 5979e3e8-22e6-4db5-aef6-9f39bb06afe1) from Async(default) in 8.91ms
40522
+  (0.1ms) ROLLBACK
40523
+  (0.1ms) BEGIN
40524
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238] Performing CanvasSync::Jobs::ReportChecker (Job ID: f724c84f-1d32-4cb8-b721-7ce088f39238) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
40525
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238]  (0.2ms) SAVEPOINT active_record_1
40526
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238] 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-06-05 17:24:17.024664"], ["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-06-05 17:24:17.025342"], ["updated_at", "2018-06-05 17:24:17.025342"]]
40527
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238]  (0.1ms) RELEASE SAVEPOINT active_record_1
40528
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: bcb96028-58a8-4086-9c66-bbc6b998f7b1) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
40529
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238]  (0.2ms) SAVEPOINT active_record_1
40530
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]]
40531
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238]  (0.1ms) RELEASE SAVEPOINT active_record_1
40532
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [f724c84f-1d32-4cb8-b721-7ce088f39238] Performed CanvasSync::Jobs::ReportChecker (Job ID: f724c84f-1d32-4cb8-b721-7ce088f39238) from Async(default) in 9.74ms
40533
+  (0.1ms) ROLLBACK
40534
+  (0.1ms) BEGIN
40535
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27] Performing CanvasSync::Jobs::ReportChecker (Job ID: 6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
40536
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27]  (0.1ms) SAVEPOINT active_record_1
40537
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27] 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-06-05 17:24:17.036248"], ["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-06-05 17:24:17.036655"], ["updated_at", "2018-06-05 17:24:17.036655"]]
40538
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27]  (0.2ms) RELEASE SAVEPOINT active_record_1
40539
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
40540
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27]  (0.1ms) SAVEPOINT active_record_1
40541
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27] 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-06-05 17:24:17.039629"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-06-05 17:24:17.040022"], ["id", 5]]
40542
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27]  (0.1ms) RELEASE SAVEPOINT active_record_1
40543
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 6b8b762b-af91-4dfc-ae28-e3d5cbbc5e27) from Async(default) in 6.2ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
40544
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'
40545
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
40546
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
40547
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
40548
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
40549
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
40550
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
40551
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
40552
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
40553
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
40554
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
40555
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
40556
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
40557
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
40558
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
40559
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
40560
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
40561
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
40562
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
40563
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
40564
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
40565
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
40566
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
40567
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
40568
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
40569
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
40570
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
40571
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
40572
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
40573
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
40574
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
40575
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
40576
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
40577
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
40578
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
40579
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
40580
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
40581
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
40582
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
40583
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
40584
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
40585
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
40586
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
40587
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
40588
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
40589
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
40590
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
40591
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
40592
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
40593
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
40594
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
40595
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
40596
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
40597
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
40598
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
40599
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
40600
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
40601
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
40602
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
40603
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
40604
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
40605
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
40606
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
40607
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
40608
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
40609
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
40610
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
40611
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
40612
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
40613
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
40614
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
40615
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
40616
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
40617
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
40618
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
40619
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
40620
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
40621
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
40622
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
40623
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
40624
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
40625
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
40626
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
40627
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
40628
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
40629
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
40630
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
40631
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
40632
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
40633
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
40634
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
40635
+  (0.1ms) ROLLBACK
40636
+  (0.1ms) BEGIN
40637
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 67250d65-b505-4d7e-9862-4be4a6fe4c5e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
40638
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e]  (0.1ms) SAVEPOINT active_record_1
40639
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e] SQL (4.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-06-05 17:24:17.045261"], ["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-06-05 17:24:17.045786"], ["updated_at", "2018-06-05 17:24:17.045786"]]
40640
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e]  (0.2ms) RELEASE SAVEPOINT active_record_1
40641
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e]  (0.1ms) SAVEPOINT active_record_1
40642
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e] 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-06-05 17:24:17.052975"], ["id", 6]]
40643
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e]  (0.2ms) RELEASE SAVEPOINT active_record_1
40644
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e]  (0.2ms) SAVEPOINT active_record_1
40645
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e] 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-06-05 17:24:17.096645"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.097343"], ["id", 6]]
40646
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e]  (0.3ms) RELEASE SAVEPOINT active_record_1
40647
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [67250d65-b505-4d7e-9862-4be4a6fe4c5e] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 67250d65-b505-4d7e-9862-4be4a6fe4c5e) from Async(default) in 55.18ms
40648
+  (0.2ms) ROLLBACK
40649
+  (0.2ms) BEGIN
40650
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178] Performing CanvasSync::Jobs::ReportStarter (Job ID: 5f268b24-3a7e-444d-b962-caf4c81e7178) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
40651
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178]  (0.1ms) SAVEPOINT active_record_1
40652
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178] 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-06-05 17:24:17.104022"], ["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-06-05 17:24:17.104663"], ["updated_at", "2018-06-05 17:24:17.104663"]]
40653
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178]  (0.1ms) RELEASE SAVEPOINT active_record_1
40654
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 6c7dd065-a756-4ebe-ad00-11708bb9065b) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
40655
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178]  (0.2ms) SAVEPOINT active_record_1
40656
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178] 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-06-05 17:24:17.109081"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.109631"], ["id", 7]]
40657
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178]  (0.1ms) RELEASE SAVEPOINT active_record_1
40658
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5f268b24-3a7e-444d-b962-caf4c81e7178] Performed CanvasSync::Jobs::ReportStarter (Job ID: 5f268b24-3a7e-444d-b962-caf4c81e7178) from Async(default) in 7.53ms
40659
+  (0.2ms) ROLLBACK
40660
+  (0.1ms) BEGIN
40661
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff] Performing CanvasSync::Jobs::ReportStarter (Job ID: dfc15f33-0d12-4079-a018-bc765ad286ff) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
40662
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff]  (0.1ms) SAVEPOINT active_record_1
40663
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff] 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-06-05 17:24:17.113981"], ["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-06-05 17:24:17.114525"], ["updated_at", "2018-06-05 17:24:17.114525"]]
40664
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff]  (0.1ms) RELEASE SAVEPOINT active_record_1
40665
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff]  (0.1ms) SAVEPOINT active_record_1
40666
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-06-05 17:24:17.117152"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.117459"], ["id", 8]]
40667
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff]  (0.1ms) RELEASE SAVEPOINT active_record_1
40668
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [dfc15f33-0d12-4079-a018-bc765ad286ff] Performed CanvasSync::Jobs::ReportStarter (Job ID: dfc15f33-0d12-4079-a018-bc765ad286ff) from Async(default) in 5.0ms
40669
+  (0.1ms) ROLLBACK
40670
+  (0.1ms) BEGIN
40671
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e] Performing CanvasSync::Jobs::ReportStarter (Job ID: b572ad90-4583-4314-8fe9-1ba34595400e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
40672
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e]  (0.2ms) SAVEPOINT active_record_1
40673
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.120937"], ["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-06-05 17:24:17.121552"], ["updated_at", "2018-06-05 17:24:17.121552"]]
40674
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e]  (0.1ms) RELEASE SAVEPOINT active_record_1
40675
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e]  (0.1ms) SAVEPOINT active_record_1
40676
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e] 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-06-05 17:24:17.124270"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.124660"], ["id", 9]]
40677
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e]  (0.2ms) RELEASE SAVEPOINT active_record_1
40678
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [b572ad90-4583-4314-8fe9-1ba34595400e] Performed CanvasSync::Jobs::ReportStarter (Job ID: b572ad90-4583-4314-8fe9-1ba34595400e) from Async(default) in 9.36ms
40679
+  (0.2ms) ROLLBACK
40680
+  (0.1ms) BEGIN
40681
+  (2.1ms) SELECT COUNT(*) FROM "admins"
40682
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40683
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) SAVEPOINT active_record_1
40684
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.137757"], ["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-06-05 17:24:17.138178"], ["updated_at", "2018-06-05 17:24:17.138178"]]
40685
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
40686
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
40687
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.2ms) SAVEPOINT active_record_1
40688
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
40689
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] SQL (1.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-06-05 17:24:17.155741"], ["updated_at", "2018-06-05 17:24:17.155741"]]
40690
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
40691
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
40692
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) SAVEPOINT active_record_1
40693
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
40694
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] 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-06-05 17:24:17.160602"], ["updated_at", "2018-06-05 17:24:17.160602"]]
40695
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
40696
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
40697
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) SAVEPOINT active_record_1
40698
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
40699
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] 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-06-05 17:24:17.163483"], ["updated_at", "2018-06-05 17:24:17.163483"]]
40700
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.2ms) RELEASE SAVEPOINT active_record_1
40701
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] SQL (0.4ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3))
40702
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) SAVEPOINT active_record_1
40703
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-06-05 17:24:17.166310"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.166756"], ["id", 10]]
40704
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
40705
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: dc47f9cc-1cf6-4fba-8cc3-7332a2ae76a0) from Async(default) in 30.44ms
40706
+  (0.2ms) SELECT COUNT(*) FROM "admins"
40707
+  (0.1ms) ROLLBACK
40708
+  (0.1ms) BEGIN
40709
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: d49bacf5-5c5c-4af2-8b20-d34ccbd4baba) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
40710
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba]  (0.1ms) SAVEPOINT active_record_1
40711
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.170573"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-06-05 17:24:17.171050"], ["updated_at", "2018-06-05 17:24:17.171050"]]
40712
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba]  (0.1ms) RELEASE SAVEPOINT active_record_1
40713
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 828297f9-1b6a-4a3f-938f-60ce85b3ec0f) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
40714
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba]  (0.1ms) SAVEPOINT active_record_1
40715
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba] 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-06-05 17:24:17.173855"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.174200"], ["id", 11]]
40716
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba]  (0.1ms) RELEASE SAVEPOINT active_record_1
40717
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [d49bacf5-5c5c-4af2-8b20-d34ccbd4baba] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: d49bacf5-5c5c-4af2-8b20-d34ccbd4baba) from Async(default) in 5.15ms
40718
+  (0.1ms) ROLLBACK
40719
+  (0.1ms) BEGIN
40720
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 6e67233a-58df-437a-85aa-7afe42546817) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
40721
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817]  (0.1ms) SAVEPOINT active_record_1
40722
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.177808"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-06-05 17:24:17.178213"], ["updated_at", "2018-06-05 17:24:17.178213"]]
40723
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817]  (0.1ms) RELEASE SAVEPOINT active_record_1
40724
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1d489a60-2e40-4723-9224-ba7d5bb2c07c) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
40725
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817]  (0.1ms) SAVEPOINT active_record_1
40726
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817] 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-06-05 17:24:17.180932"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.181352"], ["id", 12]]
40727
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817]  (0.2ms) RELEASE SAVEPOINT active_record_1
40728
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [6e67233a-58df-437a-85aa-7afe42546817] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 6e67233a-58df-437a-85aa-7afe42546817) from Async(default) in 9.57ms
40729
+  (0.2ms) ROLLBACK
40730
+  (0.2ms) BEGIN
40731
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 56f36cf7-7c4c-472a-b043-cae9cdc8f756) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40732
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756]  (0.1ms) SAVEPOINT active_record_1
40733
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756] 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-06-05 17:24:17.190469"], ["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-06-05 17:24:17.191024"], ["updated_at", "2018-06-05 17:24:17.191024"]]
40734
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756]  (0.1ms) RELEASE SAVEPOINT active_record_1
40735
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2034abb8-a678-4304-bc84-1a5ed3ea3005) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
40736
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756]  (0.1ms) SAVEPOINT active_record_1
40737
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756] 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-06-05 17:24:17.194658"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.195123"], ["id", 13]]
40738
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756]  (0.1ms) RELEASE SAVEPOINT active_record_1
40739
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [56f36cf7-7c4c-472a-b043-cae9cdc8f756] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 56f36cf7-7c4c-472a-b043-cae9cdc8f756) from Async(default) in 6.31ms
40740
+  (0.1ms) ROLLBACK
40741
+  (0.1ms) BEGIN
40742
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 9b4bea64-51d6-4ef7-8a39-70ecef7e47b7) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
40743
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7]  (0.2ms) SAVEPOINT active_record_1
40744
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7] 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-06-05 17:24:17.200295"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-06-05 17:24:17.201009"], ["updated_at", "2018-06-05 17:24:17.201009"]]
40745
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7]  (0.2ms) RELEASE SAVEPOINT active_record_1
40746
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 6512550b-518e-48df-918a-1ccc65bc35c9) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
40747
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7]  (0.1ms) SAVEPOINT active_record_1
40748
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7] 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-06-05 17:24:17.204853"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.205329"], ["id", 14]]
40749
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7]  (0.1ms) RELEASE SAVEPOINT active_record_1
40750
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [9b4bea64-51d6-4ef7-8a39-70ecef7e47b7] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 9b4bea64-51d6-4ef7-8a39-70ecef7e47b7) from Async(default) in 7.03ms
40751
+  (0.1ms) ROLLBACK
40752
+  (0.1ms) BEGIN
40753
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40754
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2]  (0.1ms) SAVEPOINT active_record_1
40755
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-06-05 17:24:17.209298"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["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-06-05 17:24:17.209673"], ["updated_at", "2018-06-05 17:24:17.209673"]]
40756
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2]  (0.1ms) RELEASE SAVEPOINT active_record_1
40757
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dd011770-5363-4948-a907-708e0c571a81) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
40758
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2]  (0.1ms) SAVEPOINT active_record_1
40759
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-06-05 17:24:17.212228"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.212555"], ["id", 15]]
40760
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2]  (0.2ms) RELEASE SAVEPOINT active_record_1
40761
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 77d37867-0aad-4fd3-a9ba-dcb96d9cc0d2) from Async(default) in 12.14ms
40762
+  (0.1ms) ROLLBACK
40763
+  (0.1ms) BEGIN
40764
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: c39e9b30-594b-4c84-a319-5e9543909600) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
40765
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600]  (0.1ms) SAVEPOINT active_record_1
40766
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600] 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-06-05 17:24:17.223798"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-06-05 17:24:17.224255"], ["updated_at", "2018-06-05 17:24:17.224255"]]
40767
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600]  (0.1ms) RELEASE SAVEPOINT active_record_1
40768
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 94962a8b-9344-45cc-98a3-00c4fed5be41) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
40769
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600]  (0.1ms) SAVEPOINT active_record_1
40770
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600] 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-06-05 17:24:17.228084"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.228396"], ["id", 16]]
40771
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600]  (0.1ms) RELEASE SAVEPOINT active_record_1
40772
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [c39e9b30-594b-4c84-a319-5e9543909600] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: c39e9b30-594b-4c84-a319-5e9543909600) from Async(default) in 6.12ms
40773
+  (0.2ms) ROLLBACK
40774
+  (0.1ms) BEGIN
40775
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: 3563490f-2125-49e7-890c-6d2dc130e9df) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40776
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df]  (0.2ms) SAVEPOINT active_record_1
40777
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df] 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-06-05 17:24:17.233353"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["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-06-05 17:24:17.234179"], ["updated_at", "2018-06-05 17:24:17.234179"]]
40778
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df]  (0.1ms) RELEASE SAVEPOINT active_record_1
40779
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: feee5abb-95a6-402f-a98e-2c599255c0f8) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
40780
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df]  (0.1ms) SAVEPOINT active_record_1
40781
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-06-05 17:24:17.237808"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.238163"], ["id", 17]]
40782
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df]  (0.1ms) RELEASE SAVEPOINT active_record_1
40783
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [3563490f-2125-49e7-890c-6d2dc130e9df] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: 3563490f-2125-49e7-890c-6d2dc130e9df) from Async(default) in 6.36ms
40784
+  (0.1ms) ROLLBACK
40785
+  (0.1ms) BEGIN
40786
+  (0.2ms) SAVEPOINT active_record_1
40787
+ Term Exists (2.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 26225962], ["LIMIT", 1]]
40788
+ 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", 26225962], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "active"], ["sis_id", "4ed2073e21d0629c2a83ba433bc20897"], ["created_at", "2018-06-05 17:24:17.258158"], ["updated_at", "2018-06-05 17:24:17.258158"]]
40789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40790
+  (0.1ms) SAVEPOINT active_record_1
40791
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 47663928], ["LIMIT", 1]]
40792
+ 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", 47663928], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "active"], ["sis_id", "96225314d24bde3edbad5fa86b82468f"], ["created_at", "2018-06-05 17:24:17.261087"], ["updated_at", "2018-06-05 17:24:17.261087"]]
40793
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40794
+  (0.1ms) SAVEPOINT active_record_1
40795
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 32988697], ["LIMIT", 1]]
40796
+ 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", 32988697], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "inactive"], ["sis_id", "1245676d6dc1d08fe1d9a5c1f8035d85"], ["created_at", "2018-06-05 17:24:17.268147"], ["updated_at", "2018-06-05 17:24:17.268147"]]
40797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40798
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d62cfb49-6da6-483f-ba71-251f089c55ed) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
40799
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed]  (0.1ms) SAVEPOINT active_record_1
40800
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed] 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-06-05 17:24:17.270074"], ["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-06-05 17:24:17.270529"], ["updated_at", "2018-06-05 17:24:17.270529"]]
40801
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed]  (0.2ms) RELEASE SAVEPOINT active_record_1
40802
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed] Term Load (1.7ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-06-20 17:24:17.273149' OR start_at IS NULL) AND (end_at >= '2018-05-21 17:24:17.273391' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
40803
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed]  (0.1ms) SAVEPOINT active_record_1
40804
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed] 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-06-05 17:24:17.276393"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.276949"], ["id", 18]]
40805
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed]  (0.2ms) RELEASE SAVEPOINT active_record_1
40806
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [d62cfb49-6da6-483f-ba71-251f089c55ed] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: d62cfb49-6da6-483f-ba71-251f089c55ed) from Async(default) in 9.44ms
40807
+  (0.2ms) ROLLBACK
40808
+  (0.2ms) BEGIN
40809
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
40810
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5]  (0.2ms) SAVEPOINT active_record_1
40811
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5] 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-06-05 17:24:17.282361"], ["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-06-05 17:24:17.283074"], ["updated_at", "2018-06-05 17:24:17.283074"]]
40812
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5]  (0.3ms) RELEASE SAVEPOINT active_record_1
40813
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5]  (0.1ms) SAVEPOINT active_record_1
40814
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5] 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-06-05 17:24:17.286539"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.287029"], ["id", 19]]
40815
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5]  (0.3ms) RELEASE SAVEPOINT active_record_1
40816
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 488d1dc2-a557-4d6a-8603-fe5e3dc1dbf5) from Async(default) in 10.6ms
40817
+  (0.2ms) ROLLBACK
40818
+  (0.1ms) BEGIN
40819
+  (8.3ms) SELECT COUNT(*) FROM "roles"
40820
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 7657b998-2ba5-4c6a-8fac-e034f203717c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40821
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.1ms) SAVEPOINT active_record_1
40822
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] 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-06-05 17:24:17.308064"], ["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-06-05 17:24:17.308662"], ["updated_at", "2018-06-05 17:24:17.308662"]]
40823
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.1ms) RELEASE SAVEPOINT active_record_1
40824
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
40825
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.2ms) SAVEPOINT active_record_1
40826
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
40827
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] 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-06-05 17:24:17.333853"], ["updated_at", "2018-06-05 17:24:17.333853"]]
40828
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.3ms) RELEASE SAVEPOINT active_record_1
40829
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
40830
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.1ms) SAVEPOINT active_record_1
40831
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
40832
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] 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-06-05 17:24:17.345375"], ["updated_at", "2018-06-05 17:24:17.345375"]]
40833
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.2ms) RELEASE SAVEPOINT active_record_1
40834
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] SQL (0.4ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2))
40835
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.2ms) SAVEPOINT active_record_1
40836
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] 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-06-05 17:24:17.353808"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.354435"], ["id", 20]]
40837
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c]  (0.2ms) RELEASE SAVEPOINT active_record_1
40838
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [7657b998-2ba5-4c6a-8fac-e034f203717c] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 7657b998-2ba5-4c6a-8fac-e034f203717c) from Async(default) in 48.96ms
40839
+  (0.2ms) SELECT COUNT(*) FROM "roles"
40840
+  (0.2ms) ROLLBACK
40841
+  (0.1ms) BEGIN
40842
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: d5a5f770-d94e-4651-929b-430f51c19190) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
40843
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190]  (3.6ms) SAVEPOINT active_record_1
40844
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190] 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-06-05 17:24:17.360889"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-06-05 17:24:17.365119"], ["updated_at", "2018-06-05 17:24:17.365119"]]
40845
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190]  (0.2ms) RELEASE SAVEPOINT active_record_1
40846
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8dcb3a32-79a3-4eb7-b010-b359a14ededc) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
40847
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190]  (0.1ms) SAVEPOINT active_record_1
40848
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190] 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-06-05 17:24:17.369455"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.369882"], ["id", 21]]
40849
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190]  (0.2ms) RELEASE SAVEPOINT active_record_1
40850
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [d5a5f770-d94e-4651-929b-430f51c19190] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: d5a5f770-d94e-4651-929b-430f51c19190) from Async(default) in 10.83ms
40851
+  (0.1ms) ROLLBACK
40852
+  (0.1ms) BEGIN
40853
+  (0.3ms) SELECT COUNT(*) FROM "terms"
40854
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 572abdb3-beee-4475-b96b-08b6acde930b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40855
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) SAVEPOINT active_record_1
40856
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.375011"], ["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-06-05 17:24:17.375643"], ["updated_at", "2018-06-05 17:24:17.375643"]]
40857
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) RELEASE SAVEPOINT active_record_1
40858
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
40859
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) SAVEPOINT active_record_1
40860
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
40861
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] SQL (0.6ms) 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-06-05 17:24:17.386945"], ["updated_at", "2018-06-05 17:24:17.386945"]]
40862
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) RELEASE SAVEPOINT active_record_1
40863
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
40864
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) SAVEPOINT active_record_1
40865
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
40866
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.392473"], ["updated_at", "2018-06-05 17:24:17.392473"]]
40867
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) RELEASE SAVEPOINT active_record_1
40868
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
40869
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) SAVEPOINT active_record_1
40870
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
40871
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.395691"], ["updated_at", "2018-06-05 17:24:17.395691"]]
40872
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) RELEASE SAVEPOINT active_record_1
40873
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
40874
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) SAVEPOINT active_record_1
40875
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
40876
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.405086"], ["updated_at", "2018-06-05 17:24:17.405086"]]
40877
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) RELEASE SAVEPOINT active_record_1
40878
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
40879
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) SAVEPOINT active_record_1
40880
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
40881
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.408359"], ["updated_at", "2018-06-05 17:24:17.408359"]]
40882
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) RELEASE SAVEPOINT active_record_1
40883
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
40884
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) SAVEPOINT active_record_1
40885
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
40886
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.411357"], ["updated_at", "2018-06-05 17:24:17.411357"]]
40887
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) RELEASE SAVEPOINT active_record_1
40888
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.1ms) SAVEPOINT active_record_1
40889
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] 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-06-05 17:24:17.412604"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.412955"], ["id", 22]]
40890
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b]  (0.2ms) RELEASE SAVEPOINT active_record_1
40891
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [572abdb3-beee-4475-b96b-08b6acde930b] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 572abdb3-beee-4475-b96b-08b6acde930b) from Async(default) in 39.84ms
40892
+  (0.4ms) SELECT COUNT(*) FROM "terms"
40893
+  (0.3ms) ROLLBACK
40894
+  (0.2ms) BEGIN
40895
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 726d3ae0-7120-4521-a2c2-e2d106254f72) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
40896
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72]  (0.1ms) SAVEPOINT active_record_1
40897
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72] 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-06-05 17:24:17.422167"], ["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-06-05 17:24:17.422718"], ["updated_at", "2018-06-05 17:24:17.422718"]]
40898
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72]  (0.1ms) RELEASE SAVEPOINT active_record_1
40899
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 95ac04bc-f90c-48b8-a0f9-36008f2c6c41) to Async(default) at 2018-06-05 17:24:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
40900
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72]  (0.1ms) SAVEPOINT active_record_1
40901
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72] 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-06-05 17:24:17.426309"], ["status", "success"], ["updated_at", "2018-06-05 17:24:17.426704"], ["id", 23]]
40902
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72]  (0.1ms) RELEASE SAVEPOINT active_record_1
40903
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [726d3ae0-7120-4521-a2c2-e2d106254f72] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 726d3ae0-7120-4521-a2c2-e2d106254f72) from Async(default) in 6.23ms
40904
+  (0.1ms) ROLLBACK
40905
+  (0.1ms) BEGIN
40906
+  (0.3ms) SAVEPOINT active_record_1
40907
+ Account Exists (3.5ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 84725269], ["LIMIT", 1]]
40908
+ SQL (0.6ms) 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", 84725269], ["account_id", "e49eed260898a91f1752006ca6ae8912"], ["canvas_parent_id", 1], ["parent_account_id", "4d869dbe62fadb63429e4991b35f57a2"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-06-05 17:24:17.452684"], ["updated_at", "2018-06-05 17:24:17.452684"]]
40909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40910
+ Account Exists (0.4ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" IS NULL AND ("accounts"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
40911
+  (0.2ms) ROLLBACK
40912
+  (0.1ms) BEGIN
40913
+  (0.1ms) SAVEPOINT active_record_1
40914
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 3457841], ["LIMIT", 1]]
40915
+ SQL (0.3ms) 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", 3457841], ["account_id", "da04b702c7bfa25685da777baf6768ed"], ["canvas_parent_id", 1], ["parent_account_id", "cca7c236edf02568abb5b06274be80ef"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-06-05 17:24:17.472077"], ["updated_at", "2018-06-05 17:24:17.472077"]]
40916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40917
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
40918
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 3457841], ["LIMIT", 1]]
40919
+  (0.1ms) ROLLBACK
40920
+  (0.1ms) BEGIN
40921
+  (0.1ms) SAVEPOINT active_record_1
40922
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 54693131], ["LIMIT", 1]]
40923
+ 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", 54693131], ["role_name", "Cool Role"], ["canvas_role_id", 10888685], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:17.480475"], ["updated_at", "2018-06-05 17:24:17.480475"]]
40924
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40925
+ Admin Exists (0.7ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]
40926
+  (0.3ms) ROLLBACK
40927
+  (0.1ms) BEGIN
40928
+  (0.2ms) SAVEPOINT active_record_1
40929
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 91151039], ["LIMIT", 1]]
40930
+ 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", 91151039], ["role_name", "Cool Role"], ["canvas_role_id", 57412862], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:17.492380"], ["updated_at", "2018-06-05 17:24:17.492380"]]
40931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40932
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]]
40933
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 91151039], ["LIMIT", 1]]
40934
+  (0.1ms) ROLLBACK
40935
+  (0.1ms) BEGIN
40936
+  (0.3ms) SELECT COUNT(*) FROM "admins"
40937
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
40938
+  (0.1ms) SAVEPOINT active_record_1
40939
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
40940
+ 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-06-05 17:24:17.502791"], ["updated_at", "2018-06-05 17:24:17.502791"]]
40941
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40942
+  (0.2ms) SELECT COUNT(*) FROM "admins"
40943
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]
40944
+  (0.1ms) ROLLBACK
40945
+  (0.1ms) BEGIN
40946
+  (0.1ms) SAVEPOINT active_record_1
40947
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
40948
+ 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", 52229832], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:17.509170"], ["updated_at", "2018-06-05 17:24:17.509170"]]
40949
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40950
+  (0.2ms) SELECT COUNT(*) FROM "admins"
40951
+ Admin Load (0.5ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
40952
+  (0.2ms) SAVEPOINT active_record_1
40953
+ Admin Exists (0.5ms) 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]]
40954
+ 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-06-05 17:24:17.517852"], ["id", 7]]
40955
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40956
+  (0.2ms) SELECT COUNT(*) FROM "admins"
40957
+ Admin Load (0.4ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]
40958
+  (0.2ms) ROLLBACK
40959
+  (0.1ms) BEGIN
40960
+  (0.2ms) SAVEPOINT active_record_1
40961
+ AssignmentGroup Exists (3.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]]
40962
+ SQL (0.6ms) 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-05-29 17:24:17.554417"], ["canvas_updated_at", "2018-06-04 17:24:17.554534"], ["created_at", "2018-06-05 17:24:17.559454"], ["updated_at", "2018-06-05 17:24:17.559454"]]
40963
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40964
+ AssignmentGroup Exists (0.4ms) 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]]
40965
+  (0.2ms) ROLLBACK
40966
+  (0.1ms) BEGIN
40967
+  (0.1ms) SAVEPOINT active_record_1
40968
+ AssignmentGroup Exists (0.4ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]
40969
+ 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", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-05-29 17:24:17.570247"], ["canvas_updated_at", "2018-06-04 17:24:17.570412"], ["created_at", "2018-06-05 17:24:17.572216"], ["updated_at", "2018-06-05 17:24:17.572216"]]
40970
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40971
+ AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
40972
+ 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", 2], ["LIMIT", 1]]
40973
+  (0.2ms) ROLLBACK
40974
+  (0.2ms) BEGIN
40975
+  (0.2ms) SAVEPOINT active_record_1
40976
+ 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]]
40977
+ 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", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-05-29 17:24:17.581485"], ["canvas_updated_at", "2018-06-04 17:24:17.581620"], ["created_at", "2018-06-05 17:24:17.583529"], ["updated_at", "2018-06-05 17:24:17.583529"]]
40978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40979
+  (0.2ms) ROLLBACK
40980
+  (0.2ms) BEGIN
40981
+  (0.1ms) SAVEPOINT active_record_1
40982
+ AssignmentGroup Exists (3.7ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]]
40983
+ 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", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-05-29 17:24:17.588321"], ["canvas_updated_at", "2018-06-04 17:24:17.588506"], ["created_at", "2018-06-05 17:24:17.593704"], ["updated_at", "2018-06-05 17:24:17.593704"]]
40984
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40985
+  (0.1ms) ROLLBACK
40986
+  (0.1ms) BEGIN
40987
+  (0.2ms) SAVEPOINT active_record_1
40988
+ Assignment Exists (6.6ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
40989
+ SQL (1.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-06-12 17:24:17.635387"], ["unlock_at", "2018-06-04 17:24:17.635503"], ["lock_at", "2018-06-26 17:24:17.635566"], ["created_at", "2018-06-05 17:24:17.644336"], ["updated_at", "2018-06-05 17:24:17.644336"]]
40990
+  (0.2ms) RELEASE SAVEPOINT active_record_1
40991
+ 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]]
40992
+  (0.4ms) ROLLBACK
40993
+  (0.2ms) BEGIN
40994
+  (0.2ms) SAVEPOINT active_record_1
40995
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
40996
+ 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-06-12 17:24:17.654446"], ["unlock_at", "2018-06-04 17:24:17.654596"], ["lock_at", "2018-06-26 17:24:17.654657"], ["created_at", "2018-06-05 17:24:17.656828"], ["updated_at", "2018-06-05 17:24:17.656828"]]
40997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
40998
+ Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]]
40999
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
41000
+  (0.2ms) ROLLBACK
41001
+  (0.2ms) BEGIN
41002
+  (0.1ms) SAVEPOINT active_record_1
41003
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]]
41004
+ 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-06-12 17:24:17.676091"], ["unlock_at", "2018-06-04 17:24:17.676188"], ["lock_at", "2018-06-26 17:24:17.676237"], ["created_at", "2018-06-05 17:24:17.677451"], ["updated_at", "2018-06-05 17:24:17.677451"]]
41005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41006
+  (0.2ms) ROLLBACK
41007
+  (0.1ms) BEGIN
41008
+  (0.2ms) SAVEPOINT active_record_1
41009
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]]
41010
+ 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-06-12 17:24:17.680812"], ["unlock_at", "2018-06-04 17:24:17.680952"], ["lock_at", "2018-06-26 17:24:17.681020"], ["created_at", "2018-06-05 17:24:17.682828"], ["updated_at", "2018-06-05 17:24:17.682828"]]
41011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41012
+  (0.1ms) ROLLBACK
41013
+  (0.1ms) BEGIN
41014
+  (0.2ms) SAVEPOINT active_record_1
41015
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]]
41016
+ 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", 5], ["title", "Assignment 5"], ["due_at", "2018-06-12 17:24:17.686279"], ["unlock_at", "2018-06-04 17:24:17.686383"], ["lock_at", "2018-06-26 17:24:17.686434"], ["created_at", "2018-06-05 17:24:17.687959"], ["updated_at", "2018-06-05 17:24:17.687959"]]
41017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41018
+  (0.1ms) ROLLBACK
41019
+  (0.1ms) BEGIN
41020
+  (0.1ms) SAVEPOINT active_record_1
41021
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 6], ["LIMIT", 1]]
41022
+ 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", 6], ["title", "Assignment 6"], ["due_at", "2018-06-12 17:24:17.695415"], ["unlock_at", "2018-06-04 17:24:17.695510"], ["lock_at", "2018-06-26 17:24:17.695559"], ["created_at", "2018-06-05 17:24:17.696944"], ["updated_at", "2018-06-05 17:24:17.696944"]]
41023
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41024
+  (0.2ms) ROLLBACK
41025
+  (0.1ms) BEGIN
41026
+  (0.2ms) SAVEPOINT active_record_1
41027
+ Course Exists (2.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 82845909], ["LIMIT", 1]]
41028
+ SQL (4.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", 82845909], ["sis_id", "59abe66371550bee48735b5d118d9c9b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.721252"], ["end_date", "2018-06-26 17:24:17.721358"], ["created_at", "2018-06-05 17:24:17.725469"], ["updated_at", "2018-06-05 17:24:17.725469"]]
41029
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41030
+  (0.2ms) SAVEPOINT active_record_1
41031
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73082979], ["LIMIT", 1]]
41032
+ 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", 73082979], ["sis_id", "c757b1da7ff7238288d7b5b4a18228cb"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.731935"], ["end_date", "2018-06-26 17:24:17.732038"], ["created_at", "2018-06-05 17:24:17.733404"], ["updated_at", "2018-06-05 17:24:17.733404"]]
41033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41034
+  (0.1ms) SAVEPOINT active_record_1
41035
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 7], ["LIMIT", 1]]
41036
+ 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", 7], ["title", "Assignment 7"], ["due_at", "2018-06-12 17:24:17.735163"], ["unlock_at", "2018-06-04 17:24:17.735240"], ["lock_at", "2018-06-26 17:24:17.735287"], ["created_at", "2018-06-05 17:24:17.736366"], ["updated_at", "2018-06-05 17:24:17.736366"]]
41037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41038
+  (0.1ms) SAVEPOINT active_record_1
41039
+ 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", 7], ["id", 7], ["LIMIT", 1]]
41040
+ SQL (0.3ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 73082979], ["context_type", "Course"], ["updated_at", "2018-06-05 17:24:17.738784"], ["id", 7]]
41041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41042
+ Course Load (0.4ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 73082979], ["LIMIT", 1]]
41043
+  (0.3ms) ROLLBACK
41044
+  (0.1ms) BEGIN
41045
+  (0.2ms) SAVEPOINT active_record_1
41046
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 8], ["LIMIT", 1]]
41047
+ 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", 8], ["title", "Assignment 8"], ["due_at", "2018-06-12 17:24:17.785741"], ["unlock_at", "2018-06-04 17:24:17.786035"], ["lock_at", "2018-06-26 17:24:17.786156"], ["created_at", "2018-06-05 17:24:17.788244"], ["updated_at", "2018-06-05 17:24:17.788244"]]
41048
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41049
+  (0.1ms) SAVEPOINT active_record_1
41050
+ SQL (4.3ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_assignment_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_assignment_id", 8], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:17.791701"], ["updated_at", "2018-06-05 17:24:17.791701"]]
41051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41052
+  (0.3ms) ROLLBACK
41053
+  (0.2ms) BEGIN
41054
+  (0.1ms) SAVEPOINT active_record_1
41055
+ Assignment Exists (0.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 9], ["LIMIT", 1]]
41056
+ 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", 9], ["title", "Assignment 9"], ["due_at", "2018-06-12 17:24:17.800585"], ["unlock_at", "2018-06-04 17:24:17.800716"], ["lock_at", "2018-06-26 17:24:17.800770"], ["created_at", "2018-06-05 17:24:17.802541"], ["updated_at", "2018-06-05 17:24:17.802541"]]
41057
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41058
+  (0.2ms) SAVEPOINT active_record_1
41059
+ SQL (0.4ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_assignment_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 2], ["canvas_assignment_id", 9], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:17.805816"], ["updated_at", "2018-06-05 17:24:17.805816"]]
41060
+  (0.3ms) RELEASE SAVEPOINT active_record_1
41061
+  (0.2ms) ROLLBACK
41062
+  (0.2ms) BEGIN
41063
+  (0.2ms) SAVEPOINT active_record_1
41064
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60847378], ["LIMIT", 1]]
41065
+ 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", 60847378], ["sis_id", "0e750b662df6d76f6f43fea0c2f1bc52"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.830030"], ["end_date", "2018-06-26 17:24:17.830146"], ["created_at", "2018-06-05 17:24:17.831710"], ["updated_at", "2018-06-05 17:24:17.831710"]]
41066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41067
+  (0.1ms) SAVEPOINT active_record_1
41068
+ SQL (3.5ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 3], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-06-05 17:24:17.834311"], ["updated_at", "2018-06-05 17:24:17.834311"]]
41069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41070
+  (0.2ms) ROLLBACK
41071
+  (0.1ms) BEGIN
41072
+  (0.1ms) SAVEPOINT active_record_1
41073
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 19026130], ["LIMIT", 1]]
41074
+ 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", 19026130], ["sis_id", "32157313f3ca76a0b672562fd69e3d3a"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.840681"], ["end_date", "2018-06-26 17:24:17.840885"], ["created_at", "2018-06-05 17:24:17.842371"], ["updated_at", "2018-06-05 17:24:17.842371"]]
41075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41076
+  (0.1ms) SAVEPOINT active_record_1
41077
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 2], ["canvas_context_id", 4], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-06-05 17:24:17.844334"], ["updated_at", "2018-06-05 17:24:17.844334"]]
41078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41079
+  (0.3ms) ROLLBACK
41080
+  (0.1ms) BEGIN
41081
+  (0.2ms) SAVEPOINT active_record_1
41082
+ Course Exists (0.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 74595789], ["LIMIT", 1]]
41083
+ 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", 74595789], ["sis_id", "83fea91e7de8ca5f3cdb63de7055236e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.849219"], ["end_date", "2018-06-26 17:24:17.849384"], ["created_at", "2018-06-05 17:24:17.851836"], ["updated_at", "2018-06-05 17:24:17.851836"]]
41084
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41085
+  (0.1ms) SAVEPOINT active_record_1
41086
+ SQL (0.4ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 3], ["canvas_context_id", 5], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-06-05 17:24:17.854848"], ["updated_at", "2018-06-05 17:24:17.854848"]]
41087
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41088
+  (0.2ms) ROLLBACK
41089
+  (0.1ms) BEGIN
41090
+  (0.1ms) SAVEPOINT active_record_1
41091
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6810162], ["LIMIT", 1]]
41092
+ 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", 6810162], ["sis_id", "f1a78725f039a53b74a3c40980658adc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.860136"], ["end_date", "2018-06-26 17:24:17.860271"], ["created_at", "2018-06-05 17:24:17.861483"], ["updated_at", "2018-06-05 17:24:17.861483"]]
41093
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41094
+ Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 6], ["LIMIT", 1]]
41095
+  (0.2ms) ROLLBACK
41096
+  (0.1ms) BEGIN
41097
+  (0.1ms) SAVEPOINT active_record_1
41098
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 62531637], ["LIMIT", 1]]
41099
+ 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", 62531637], ["sis_id", "942e84b804cdb6bd9712663bdf2a0619"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.867145"], ["end_date", "2018-06-26 17:24:17.867245"], ["created_at", "2018-06-05 17:24:17.868415"], ["updated_at", "2018-06-05 17:24:17.868415"]]
41100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41101
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
41102
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 62531637], ["LIMIT", 1]]
41103
+  (0.1ms) ROLLBACK
41104
+  (0.1ms) BEGIN
41105
+  (0.2ms) SAVEPOINT active_record_1
41106
+ Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 44350298], ["LIMIT", 1]]
41107
+ 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", 44350298], ["sis_id", "9def633f3c43e800821fea1198491417"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.878047"], ["end_date", "2018-06-26 17:24:17.878239"], ["created_at", "2018-06-05 17:24:17.880197"], ["updated_at", "2018-06-05 17:24:17.880197"]]
41108
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41109
+  (0.1ms) ROLLBACK
41110
+  (0.2ms) BEGIN
41111
+  (0.2ms) SAVEPOINT active_record_1
41112
+ Course Exists (0.6ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24992755], ["LIMIT", 1]]
41113
+ 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", 24992755], ["sis_id", "46da56795db31d29148c636539421cc9"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.886305"], ["end_date", "2018-06-26 17:24:17.886558"], ["created_at", "2018-06-05 17:24:17.889356"], ["updated_at", "2018-06-05 17:24:17.889356"]]
41114
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41115
+  (0.2ms) ROLLBACK
41116
+  (0.1ms) BEGIN
41117
+  (0.1ms) SAVEPOINT active_record_1
41118
+ Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 23857887], ["LIMIT", 1]]
41119
+ 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", 23857887], ["sis_id", "7cf5686e5c4b0cc86bc66acd23067533"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.895060"], ["end_date", "2018-06-26 17:24:17.895309"], ["created_at", "2018-06-05 17:24:17.897201"], ["updated_at", "2018-06-05 17:24:17.897201"]]
41120
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41121
+  (0.2ms) ROLLBACK
41122
+  (0.1ms) BEGIN
41123
+  (0.1ms) SAVEPOINT active_record_1
41124
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 87707750], ["LIMIT", 1]]
41125
+ 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", 87707750], ["sis_id", "6d4f04c7db2223769dd59746d045f8d5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.902047"], ["end_date", "2018-06-26 17:24:17.902146"], ["created_at", "2018-06-05 17:24:17.903505"], ["updated_at", "2018-06-05 17:24:17.903505"]]
41126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41127
+  (0.1ms) ROLLBACK
41128
+  (0.1ms) BEGIN
41129
+  (0.1ms) SAVEPOINT active_record_1
41130
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 41085673], ["LIMIT", 1]]
41131
+ 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", 41085673], ["sis_id", "88b563b47440a608887ebbfe7f83f0b7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.906906"], ["end_date", "2018-06-26 17:24:17.907000"], ["created_at", "2018-06-05 17:24:17.908227"], ["updated_at", "2018-06-05 17:24:17.908227"]]
41132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41133
+  (0.2ms) ROLLBACK
41134
+  (0.2ms) BEGIN
41135
+  (0.2ms) SAVEPOINT active_record_1
41136
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 34663173], ["LIMIT", 1]]
41137
+ 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", 34663173], ["sis_id", "adb6e145854d983ff734f9964ebd1933"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:17.915558"], ["end_date", "2018-06-26 17:24:17.915701"], ["created_at", "2018-06-05 17:24:17.917178"], ["updated_at", "2018-06-05 17:24:17.917178"]]
41138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41139
+  (0.2ms) ROLLBACK
41140
+  (0.2ms) BEGIN
41141
+  (0.2ms) SAVEPOINT active_record_1
41142
+ Enrollment Exists (9.1ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 29492283], ["LIMIT", 1]]
41143
+ SQL (0.8ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 29492283], ["created_at", "2018-06-05 17:24:17.953379"], ["updated_at", "2018-06-05 17:24:17.953379"]]
41144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41145
+ Enrollment Exists (0.6ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
41146
+  (0.3ms) ROLLBACK
41147
+  (0.1ms) BEGIN
41148
+  (0.1ms) SAVEPOINT active_record_1
41149
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62713031], ["LIMIT", 1]]
41150
+ SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 62713031], ["created_at", "2018-06-05 17:24:17.962102"], ["updated_at", "2018-06-05 17:24:17.962102"]]
41151
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41152
+ Enrollment Load (0.4ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]]
41153
+ Enrollment Exists (0.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 62713031], ["LIMIT", 1]]
41154
+  (0.1ms) ROLLBACK
41155
+  (0.1ms) BEGIN
41156
+  (0.1ms) SAVEPOINT active_record_1
41157
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 94739247], ["LIMIT", 1]]
41158
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 94739247], ["created_at", "2018-06-05 17:24:17.971657"], ["updated_at", "2018-06-05 17:24:17.971657"]]
41159
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41160
+  (0.1ms) ROLLBACK
41161
+  (0.1ms) BEGIN
41162
+  (0.1ms) SAVEPOINT active_record_1
41163
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45583558], ["LIMIT", 1]]
41164
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 45583558], ["created_at", "2018-06-05 17:24:17.975902"], ["updated_at", "2018-06-05 17:24:17.975902"]]
41165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41166
+  (0.1ms) ROLLBACK
41167
+  (3.6ms) BEGIN
41168
+  (0.2ms) SAVEPOINT active_record_1
41169
+ Enrollment Exists (0.5ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76359856], ["LIMIT", 1]]
41170
+ SQL (0.4ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76359856], ["created_at", "2018-06-05 17:24:17.984885"], ["updated_at", "2018-06-05 17:24:17.984885"]]
41171
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41172
+  (0.3ms) ROLLBACK
41173
+  (0.1ms) BEGIN
41174
+  (0.3ms) SAVEPOINT active_record_1
41175
+ Role Exists (0.6ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 72123202], ["LIMIT", 1]]
41176
+ SQL (0.6ms) 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", 72123202], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:17.993487"], ["updated_at", "2018-06-05 17:24:17.993487"]]
41177
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41178
+ Role Exists (0.5ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]
41179
+  (0.3ms) ROLLBACK
41180
+  (0.2ms) BEGIN
41181
+  (0.1ms) SAVEPOINT active_record_1
41182
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 49184717], ["LIMIT", 1]]
41183
+ 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", 49184717], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:18.004193"], ["updated_at", "2018-06-05 17:24:18.004193"]]
41184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41185
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]]
41186
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 49184717], ["LIMIT", 1]]
41187
+  (0.1ms) ROLLBACK
41188
+  (0.1ms) BEGIN
41189
+  (0.2ms) SELECT COUNT(*) FROM "roles"
41190
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
41191
+  (0.3ms) SAVEPOINT active_record_1
41192
+ Role Exists (0.5ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
41193
+ 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-06-05 17:24:18.020282"], ["updated_at", "2018-06-05 17:24:18.020282"]]
41194
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41195
+  (0.2ms) SELECT COUNT(*) FROM "roles"
41196
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]
41197
+  (0.1ms) ROLLBACK
41198
+  (0.1ms) BEGIN
41199
+  (0.2ms) SAVEPOINT active_record_1
41200
+ Role Exists (0.5ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
41201
+ SQL (0.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", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:18.032469"], ["updated_at", "2018-06-05 17:24:18.032469"]]
41202
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41203
+  (0.3ms) SELECT COUNT(*) FROM "roles"
41204
+ Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
41205
+  (0.3ms) SAVEPOINT active_record_1
41206
+ Role Exists (0.7ms) 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]]
41207
+ SQL (0.7ms) 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-06-05 17:24:18.043192"], ["id", 6]]
41208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41209
+  (0.2ms) SELECT COUNT(*) FROM "roles"
41210
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
41211
+  (0.1ms) ROLLBACK
41212
+  (0.1ms) BEGIN
41213
+  (0.2ms) SAVEPOINT active_record_1
41214
+ Section Exists (3.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 51460627], ["LIMIT", 1]]
41215
+ SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 51460627], ["created_at", "2018-06-05 17:24:18.077045"], ["updated_at", "2018-06-05 17:24:18.077045"]]
41216
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41217
+ 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]]
41218
+  (0.2ms) ROLLBACK
41219
+  (0.1ms) BEGIN
41220
+  (0.1ms) SAVEPOINT active_record_1
41221
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 17489930], ["LIMIT", 1]]
41222
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 17489930], ["created_at", "2018-06-05 17:24:18.083550"], ["updated_at", "2018-06-05 17:24:18.083550"]]
41223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41224
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
41225
+ Section Exists (0.5ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 17489930], ["LIMIT", 1]]
41226
+  (0.3ms) ROLLBACK
41227
+  (0.1ms) BEGIN
41228
+  (0.1ms) SAVEPOINT active_record_1
41229
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 79402478], ["LIMIT", 1]]
41230
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 79402478], ["created_at", "2018-06-05 17:24:18.092208"], ["updated_at", "2018-06-05 17:24:18.092208"]]
41231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41232
+  (0.1ms) ROLLBACK
41233
+  (0.1ms) BEGIN
41234
+  (0.1ms) SAVEPOINT active_record_1
41235
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 94945517], ["LIMIT", 1]]
41236
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 94945517], ["created_at", "2018-06-05 17:24:18.096066"], ["updated_at", "2018-06-05 17:24:18.096066"]]
41237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41238
+  (0.1ms) ROLLBACK
41239
+  (0.1ms) BEGIN
41240
+  (0.2ms) SAVEPOINT active_record_1
41241
+ Submission Exists (6.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]]
41242
+ SQL (1.0ms) 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-05-29 17:24:18.115450"], ["graded_at", "2018-06-04 17:24:18.115605"], ["score", 5], ["points_possible", 10], ["created_at", "2018-06-05 17:24:18.124043"], ["updated_at", "2018-06-05 17:24:18.124043"]]
41243
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41244
+ Submission Exists (0.5ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
41245
+  (0.2ms) ROLLBACK
41246
+  (0.1ms) BEGIN
41247
+  (0.1ms) SAVEPOINT active_record_1
41248
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
41249
+ 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-05-29 17:24:18.132375"], ["graded_at", "2018-06-04 17:24:18.132475"], ["score", 5], ["points_possible", 10], ["created_at", "2018-06-05 17:24:18.133668"], ["updated_at", "2018-06-05 17:24:18.133668"]]
41250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41251
+ Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]]
41252
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
41253
+  (0.1ms) ROLLBACK
41254
+  (0.1ms) BEGIN
41255
+  (0.1ms) SAVEPOINT active_record_1
41256
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]]
41257
+ SQL (3.7ms) 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-05-29 17:24:18.139151"], ["graded_at", "2018-06-04 17:24:18.139242"], ["score", 5], ["points_possible", 10], ["created_at", "2018-06-05 17:24:18.140282"], ["updated_at", "2018-06-05 17:24:18.140282"]]
41258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41259
+  (0.2ms) ROLLBACK
41260
+  (0.1ms) BEGIN
41261
+  (0.1ms) SAVEPOINT active_record_1
41262
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]]
41263
+ 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-05-29 17:24:18.147198"], ["graded_at", "2018-06-04 17:24:18.147309"], ["score", 5], ["points_possible", 10], ["created_at", "2018-06-05 17:24:18.148623"], ["updated_at", "2018-06-05 17:24:18.148623"]]
41264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41265
+  (0.2ms) ROLLBACK
41266
+  (0.2ms) BEGIN
41267
+  (0.2ms) SAVEPOINT active_record_1
41268
+ Submission Exists (0.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]]
41269
+ 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", 5], ["submitted_at", "2018-05-29 17:24:18.153186"], ["graded_at", "2018-06-04 17:24:18.153387"], ["score", 5], ["points_possible", 10], ["created_at", "2018-06-05 17:24:18.155253"], ["updated_at", "2018-06-05 17:24:18.155253"]]
41270
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41271
+  (0.2ms) ROLLBACK
41272
+  (0.1ms) BEGIN
41273
+  (0.1ms) SAVEPOINT active_record_1
41274
+ Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 33988346], ["LIMIT", 1]]
41275
+ 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", 33988346], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "active"], ["sis_id", "ec9f5e2c991d77032caab44eb19c6b3e"], ["created_at", "2018-06-05 17:24:18.161948"], ["updated_at", "2018-06-05 17:24:18.161948"]]
41276
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41277
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]
41278
+  (0.2ms) ROLLBACK
41279
+  (0.1ms) BEGIN
41280
+  (0.1ms) SAVEPOINT active_record_1
41281
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37342805], ["LIMIT", 1]]
41282
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 37342805], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "active"], ["sis_id", "800fcee38fbfe340c0abcb03cc74137b"], ["created_at", "2018-06-05 17:24:18.168169"], ["updated_at", "2018-06-05 17:24:18.168169"]]
41283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41284
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]]
41285
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 37342805], ["LIMIT", 1]]
41286
+  (0.1ms) ROLLBACK
41287
+  (0.1ms) BEGIN
41288
+  (0.1ms) SAVEPOINT active_record_1
41289
+ Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 63652704], ["LIMIT", 1]]
41290
+ 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", 63652704], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "active"], ["sis_id", "8c9bb4e30c357853d7f01a16c11a711a"], ["created_at", "2018-06-05 17:24:18.178571"], ["updated_at", "2018-06-05 17:24:18.178571"]]
41291
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41292
+  (0.2ms) ROLLBACK
41293
+  (0.2ms) BEGIN
41294
+  (0.2ms) SAVEPOINT active_record_1
41295
+ Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55628904], ["LIMIT", 1]]
41296
+ 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", 55628904], ["name", "Cool Term"], ["start_at", "2018-06-03 17:24:18.184063"], ["end_at", "2018-06-08 17:24:18.184232"], ["workflow_state", "active"], ["sis_id", "c09dfa3db488f5e0049153c1557a35c2"], ["created_at", "2018-06-05 17:24:18.187670"], ["updated_at", "2018-06-05 17:24:18.187670"]]
41297
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41298
+  (0.2ms) SAVEPOINT active_record_1
41299
+ Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 75871298], ["LIMIT", 1]]
41300
+ 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", 75871298], ["name", "Cool Term"], ["start_at", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "inactive"], ["sis_id", "6c1f3996f6ead9f18c24451e6e0c9e04"], ["created_at", "2018-06-05 17:24:18.193217"], ["updated_at", "2018-06-05 17:24:18.193217"]]
41301
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41302
+  (0.2ms) SAVEPOINT active_record_1
41303
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 86325236], ["LIMIT", 1]]
41304
+ 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", 86325236], ["name", "Cool Term"], ["start_at", "2018-04-05 17:24:18.195107"], ["end_at", "2018-05-05 17:24:18.195293"], ["workflow_state", "active"], ["sis_id", "505d549b48ccf1be29bdddf48237770f"], ["created_at", "2018-06-05 17:24:18.197281"], ["updated_at", "2018-06-05 17:24:18.197281"]]
41305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41306
+  (0.1ms) SAVEPOINT active_record_1
41307
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 59116873], ["LIMIT", 1]]
41308
+ 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", 59116873], ["name", "Cool Term"], ["start_at", "2018-12-05 17:24:18.199140"], ["end_at", "2019-06-05 17:24:18.199221"], ["workflow_state", "active"], ["sis_id", "ae96d4993116196698b0debff1197b33"], ["created_at", "2018-06-05 17:24:18.200851"], ["updated_at", "2018-06-05 17:24:18.200851"]]
41309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41310
+ Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-06-20 17:24:18.202304' OR start_at IS NULL) AND (end_at >= '2018-05-21 17:24:18.202447' OR end_at IS NULL) [["workflow_state", "active"]]
41311
+  (0.1ms) ROLLBACK
41312
+  (0.1ms) BEGIN
41313
+  (0.2ms) SELECT COUNT(*) FROM "terms"
41314
+ Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
41315
+  (0.1ms) SAVEPOINT active_record_1
41316
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
41317
+ 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-06-05 17:24:18.211947"], ["updated_at", "2018-06-05 17:24:18.211947"]]
41318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41319
+  (0.2ms) SELECT COUNT(*) FROM "terms"
41320
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]
41321
+  (0.2ms) ROLLBACK
41322
+  (0.1ms) BEGIN
41323
+  (0.2ms) SAVEPOINT active_record_1
41324
+ Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
41325
+ 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", "2018-06-02 17:24:11.758773"], ["end_at", "2018-06-08 17:24:11.758974"], ["workflow_state", "active"], ["sis_id", "a811e6fcb2885626e8545b400591a082"], ["created_at", "2018-06-05 17:24:18.220212"], ["updated_at", "2018-06-05 17:24:18.220212"]]
41326
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41327
+  (0.3ms) SELECT COUNT(*) FROM "terms"
41328
+ Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
41329
+  (0.2ms) SAVEPOINT active_record_1
41330
+ Term Exists (0.4ms) 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]]
41331
+ 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-06-05 17:24:18.227813"], ["id", 18]]
41332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41333
+  (0.3ms) SELECT COUNT(*) FROM "terms"
41334
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]
41335
+  (0.1ms) ROLLBACK
41336
+  (0.1ms) BEGIN
41337
+  (0.2ms) SAVEPOINT active_record_1
41338
+ User Exists (3.0ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 35395822], ["LIMIT", 1]]
41339
+ 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", 35395822], ["sis_id", "c492d63d319c19c428f2ba962bb2837f"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-06-05 17:24:18.259209"], ["updated_at", "2018-06-05 17:24:18.259209"]]
41340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41341
+ 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]]
41342
+  (0.3ms) ROLLBACK
41343
+  (0.2ms) BEGIN
41344
+  (0.2ms) SAVEPOINT active_record_1
41345
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 6167738], ["LIMIT", 1]]
41346
+ 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", 6167738], ["sis_id", "663fb7648e70aae4ed76f2c59dec042b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-06-05 17:24:18.268763"], ["updated_at", "2018-06-05 17:24:18.268763"]]
41347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41348
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
41349
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 6167738], ["LIMIT", 1]]
41350
+  (0.2ms) ROLLBACK
41351
+  (0.1ms) BEGIN
41352
+  (0.1ms) SAVEPOINT active_record_1
41353
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 7367793], ["LIMIT", 1]]
41354
+ 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", 7367793], ["sis_id", "b8d8135ba460b688a543cb112c66f7d4"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-06-05 17:24:18.277486"], ["updated_at", "2018-06-05 17:24:18.277486"]]
41355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41356
+  (0.1ms) ROLLBACK
41357
+  (0.1ms) BEGIN
41358
+  (0.1ms) SAVEPOINT active_record_1
41359
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 31051778], ["LIMIT", 1]]
41360
+ 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", 31051778], ["sis_id", "04dd5e8ab787788be0d71558429336dc"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-06-05 17:24:18.281885"], ["updated_at", "2018-06-05 17:24:18.281885"]]
41361
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41362
+  (0.1ms) ROLLBACK
41363
+  (0.2ms) BEGIN
41364
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
41365
+ AssignmentGroup Create Many Without Validations Or Callbacks (0.9ms) 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-06-05 17:24:18.295738','2018-06-05 17:24:18.295738'),(2,1,'Tests',NULL,1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-06-05 17:24:18.295738','2018-06-05 17:24:18.295738') 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"
41366
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
41367
+  (0.1ms) ROLLBACK
41368
+  (0.1ms) BEGIN
41369
+  (0.3ms) SELECT COUNT(*) FROM "assignments"
41370
+ 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','<p>fdsfds</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-06-05 17:24:18.308132','2018-06-05 17:24:18.308132'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-06-05 17:24:18.308132','2018-06-05 17:24:18.308132') 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"
41371
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
41372
+  (0.1ms) ROLLBACK
41373
+  (0.1ms) BEGIN
41374
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
41375
+ ContextModuleItem Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id","canvas_context_module_id","position","content_type","content_id","workflow_state","canvas_assignment_id","created_at","updated_at") VALUES (15,9,1,'Assignment',83,'active',1,'2018-06-05 17:24:18.317380','2018-06-05 17:24:18.317380'),(16,10,1,'Assignment',80,'active',2,'2018-06-05 17:24:18.317380','2018-06-05 17:24:18.317380') ON CONFLICT (canvas_context_module_item_id) DO UPDATE SET "canvas_context_module_item_id"=EXCLUDED."canvas_context_module_item_id","canvas_context_module_id"=EXCLUDED."canvas_context_module_id","position"=EXCLUDED."position","content_type"=EXCLUDED."content_type","content_id"=EXCLUDED."content_id","workflow_state"=EXCLUDED."workflow_state","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","updated_at"=EXCLUDED."updated_at" WHERE ("context_module_items".canvas_context_module_item_id, "context_module_items".canvas_context_module_id, "context_module_items".position, "context_module_items".content_type, "context_module_items".content_id, "context_module_items".workflow_state, "context_module_items".canvas_assignment_id) IS DISTINCT FROM (EXCLUDED.canvas_context_module_item_id, EXCLUDED.canvas_context_module_id, EXCLUDED.position, EXCLUDED.content_type, EXCLUDED.content_id, EXCLUDED.workflow_state, EXCLUDED.canvas_assignment_id) RETURNING "id"
41376
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
41377
+  (0.1ms) ROLLBACK
41378
+  (0.1ms) BEGIN
41379
+  (3.7ms) SELECT COUNT(*) FROM "context_modules"
41380
+ ContextModule Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "context_modules" ("canvas_context_module_id","canvas_context_id","canvas_context_type","position","name","workflow_state","deleted_at","created_at","updated_at") VALUES (23,785,'Course',1,'New Mod','active',NULL,'2018-06-05 17:24:18.330055','2018-06-05 17:24:18.330055'),(4,27,'Course',1,'Modules gonna module','unpublished',NULL,'2018-06-05 17:24:18.330055','2018-06-05 17:24:18.330055') ON CONFLICT (canvas_context_module_id) DO UPDATE SET "canvas_context_module_id"=EXCLUDED."canvas_context_module_id","canvas_context_id"=EXCLUDED."canvas_context_id","canvas_context_type"=EXCLUDED."canvas_context_type","position"=EXCLUDED."position","name"=EXCLUDED."name","workflow_state"=EXCLUDED."workflow_state","deleted_at"=EXCLUDED."deleted_at","updated_at"=EXCLUDED."updated_at" WHERE ("context_modules".canvas_context_module_id, "context_modules".canvas_context_id, "context_modules".canvas_context_type, "context_modules".position, "context_modules".name, "context_modules".workflow_state, "context_modules".deleted_at) IS DISTINCT FROM (EXCLUDED.canvas_context_module_id, EXCLUDED.canvas_context_id, EXCLUDED.canvas_context_type, EXCLUDED.position, EXCLUDED.name, EXCLUDED.workflow_state, EXCLUDED.deleted_at) RETURNING "id"
41381
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
41382
+  (0.1ms) ROLLBACK
41383
+  (0.1ms) BEGIN
41384
+  (0.2ms) SELECT COUNT(*) FROM "users"
41385
+ User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","full_name","sortable_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','Patches the Spider','the Spider, Patches','active','spiderdude1337','2018-06-05 17:24:18.338791','2018-06-05 17:24:18.338791'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','Hunter Djura','Djura, Hunter','active','retireddude109','2018-06-05 17:24:18.338791','2018-06-05 17:24:18.338791') 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","full_name"=EXCLUDED."full_name","sortable_name"=EXCLUDED."sortable_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".full_name, "users".sortable_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.full_name, EXCLUDED.sortable_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
41386
+  (0.2ms) SELECT COUNT(*) FROM "users"
41387
+  (0.2ms) ROLLBACK
41388
+  (0.1ms) BEGIN
41389
+  (0.3ms) SELECT COUNT(*) FROM "courses"
41390
+ 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-06-05 17:24:18.348554','2018-06-05 17:24:18.348554'),(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-06-05 17:24:18.348554','2018-06-05 17:24:18.348554') 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"
41391
+  (0.2ms) SELECT COUNT(*) FROM "courses"
41392
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
41393
+  (0.1ms) ROLLBACK
41394
+  (0.1ms) BEGIN
41395
+  (0.3ms) SELECT COUNT(*) FROM "enrollments"
41396
+ 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-06-05 17:24:18.358880','2018-06-05 17:24:18.358880'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-06-05 17:24:18.358880','2018-06-05 17:24:18.358880') 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"
41397
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
41398
+  (0.1ms) ROLLBACK
41399
+  (0.1ms) BEGIN
41400
+  (0.2ms) SELECT COUNT(*) FROM "sections"
41401
+ 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-06-05 17:24:18.370982','2018-06-05 17:24:18.370982'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-06-05 17:24:18.370982','2018-06-05 17:24:18.370982') 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"
41402
+  (0.2ms) SELECT COUNT(*) FROM "sections"
41403
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
41404
+  (0.2ms) ROLLBACK
41405
+  (0.1ms) BEGIN
41406
+ 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-06-05 17:24:18.380412','2018-06-05 17:24:18.380412') 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"
41407
+  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)
41408
+ 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]]
41409
+  (0.1ms) ROLLBACK
41410
+  (0.2ms) BEGIN
41411
+  (0.2ms) SELECT COUNT(*) FROM "users"
41412
+  (0.3ms) SELECT COUNT(*) FROM "courses"
41413
+ 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-06-05 17:24:18.394477','2018-06-05 17:24:18.394477'),(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-06-05 17:24:18.394477','2018-06-05 17:24:18.394477') 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"
41414
+ User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","full_name","sortable_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','Patches the Spider','the Spider, Patches','active','spiderdude1337','2018-06-05 17:24:18.396759','2018-06-05 17:24:18.396759'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','Hunter Djura','Djura, Hunter','active','retireddude109','2018-06-05 17:24:18.396759','2018-06-05 17:24:18.396759') 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","full_name"=EXCLUDED."full_name","sortable_name"=EXCLUDED."sortable_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".full_name, "users".sortable_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.full_name, EXCLUDED.sortable_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
41415
+  (0.3ms) SELECT COUNT(*) FROM "users"
41416
+  (0.2ms) SELECT COUNT(*) FROM "courses"
41417
+  (0.1ms) ROLLBACK
41418
+  (0.1ms) BEGIN
41419
+  (0.1ms) ROLLBACK
41420
+  (0.1ms) BEGIN
41421
+  (0.3ms) SELECT COUNT(*) FROM "submissions"
41422
+ Submission Create Many Without Validations Or Callbacks (4.2ms) 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-06-05 17:24:18.409871','2018-06-05 17:24:18.409871'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-06-05 17:24:18.409871','2018-06-05 17:24:18.409871') 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"
41423
+  (0.3ms) SELECT COUNT(*) FROM "submissions"
41424
+  (0.1ms) ROLLBACK
41425
+  (0.1ms) BEGIN
41426
+  (0.1ms) SAVEPOINT active_record_1
41427
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 86279393], ["LIMIT", 1]]
41428
+ 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", 86279393], ["sis_id", "58504982d807973bea027277bd5929ff"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-06-02 17:24:18.417477"], ["end_date", "2018-06-26 17:24:18.417576"], ["created_at", "2018-06-05 17:24:18.418772"], ["updated_at", "2018-06-05 17:24:18.418772"]]
41429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41430
+  (0.1ms) SAVEPOINT active_record_1
41431
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 18], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-06-05 17:24:18.420676"], ["updated_at", "2018-06-05 17:24:18.420676"]]
41432
+  (0.4ms) RELEASE SAVEPOINT active_record_1
41433
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
41434
+ ContextModule Load (0.4ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2 [["canvas_context_module_id", 1], ["LIMIT", 1]]
41435
+  (0.2ms) SAVEPOINT active_record_1
41436
+ SQL (0.4ms) UPDATE "context_modules" SET "canvas_context_id" = $1, "position" = $2, "name" = $3, "workflow_state" = $4, "updated_at" = $5 WHERE "context_modules"."id" = $6 [["canvas_context_id", 1], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["updated_at", "2018-06-05 17:24:18.431616"], ["id", 6]]
41437
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41438
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
41439
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
41440
+  (0.2ms) ROLLBACK
41441
+  (0.2ms) BEGIN
41442
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
41443
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2 [["canvas_context_module_id", 1], ["LIMIT", 1]]
41444
+  (0.1ms) SAVEPOINT active_record_1
41445
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "position", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 1], ["canvas_context_type", "Course"], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:18.441787"], ["updated_at", "2018-06-05 17:24:18.441787"]]
41446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41447
+  (3.7ms) SELECT COUNT(*) FROM "context_modules"
41448
+ ContextModule Load (0.3ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
41449
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
41450
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
41451
+  (0.1ms) ROLLBACK
41452
+  (0.1ms) BEGIN
41453
+  (0.1ms) SAVEPOINT active_record_1
41454
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 10], ["LIMIT", 1]]
41455
+ 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", 10], ["title", "Assignment 10"], ["due_at", "2018-06-12 17:24:18.451503"], ["unlock_at", "2018-06-04 17:24:18.451602"], ["lock_at", "2018-06-26 17:24:18.451705"], ["created_at", "2018-06-05 17:24:18.453007"], ["updated_at", "2018-06-05 17:24:18.453007"]]
41456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41457
+  (0.1ms) SAVEPOINT active_record_1
41458
+ SQL (0.3ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_assignment_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_assignment_id", 10], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:18.455009"], ["updated_at", "2018-06-05 17:24:18.455009"]]
41459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41460
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
41461
+ ContextModuleItem Load (0.3ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
41462
+  (0.2ms) SAVEPOINT active_record_1
41463
+ SQL (0.5ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-06-05 17:24:18.465436"], ["id", 5]]
41464
+  (0.2ms) RELEASE SAVEPOINT active_record_1
41465
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
41466
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]
41467
+  (0.1ms) ROLLBACK
41468
+  (0.1ms) BEGIN
41469
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
41470
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
41471
+  (0.2ms) SAVEPOINT active_record_1
41472
+ SQL (0.4ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-06-05 17:24:18.475933"], ["updated_at", "2018-06-05 17:24:18.475933"]]
41473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41474
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
41475
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
41476
+  (0.1ms) ROLLBACK