canvas_sync 0.3.14 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -3
  3. data/lib/canvas_sync.rb +3 -1
  4. data/lib/canvas_sync/generators/templates/models/assignment.rb +1 -0
  5. data/lib/canvas_sync/generators/templates/models/assignment_group.rb +7 -0
  6. data/lib/canvas_sync/generators/templates/models/course.rb +1 -0
  7. data/lib/canvas_sync/generators/templates/models/create_assignment_groups.rb +24 -0
  8. data/lib/canvas_sync/generators/templates/models/create_assignments.rb +1 -1
  9. data/lib/canvas_sync/jobs/sync_assignment_groups_job.rb +28 -0
  10. data/lib/canvas_sync/processors/assignment_groups_processor.rb +24 -0
  11. data/lib/canvas_sync/processors/model_mappings.yml +38 -1
  12. data/lib/canvas_sync/version.rb +1 -1
  13. data/spec/canvas_sync/canvas_sync_spec.rb +15 -0
  14. data/spec/canvas_sync/jobs/sync_assignment_groups_job_spec.rb +17 -0
  15. data/spec/canvas_sync/models/assignment_group_spec.rb +24 -0
  16. data/spec/canvas_sync/{assignment_spec.rb → models/assignment_spec.rb} +6 -0
  17. data/spec/canvas_sync/models/course_spec.rb +6 -0
  18. data/spec/canvas_sync/{submission_spec.rb → models/submission_spec.rb} +0 -0
  19. data/spec/canvas_sync/processors/assignment_groups_processor_spec.rb +13 -0
  20. data/spec/dummy/app/models/assignment.rb +1 -0
  21. data/spec/dummy/app/models/assignment_group.rb +13 -0
  22. data/spec/dummy/app/models/course.rb +1 -0
  23. data/spec/dummy/db/migrate/{20180212204530_create_assignments.rb → 20180215214227_create_assignments.rb} +1 -1
  24. data/spec/dummy/db/migrate/20180215220605_create_assignment_groups.rb +30 -0
  25. data/spec/dummy/db/schema.rb +20 -2
  26. data/spec/dummy/log/development.log +511 -0
  27. data/spec/dummy/log/test.log +1970 -0
  28. data/spec/factories/assignment_group_factory.rb +9 -0
  29. data/spec/support/fixtures/reports/assignment_groups.csv +3 -0
  30. metadata +26 -8
@@ -33343,3 +33343,1973 @@ end
33343
33343
  SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-07 00:27:41.795615"], ["graded_at", "2018-02-13 00:27:41.795683"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-14 00:27:41.796541"], ["updated_at", "2018-02-14 00:27:41.796541"]]
33344
33344
   (0.2ms) RELEASE SAVEPOINT active_record_1
33345
33345
   (0.1ms) ROLLBACK
33346
+  (121.2ms) DROP DATABASE IF EXISTS "canvas_sync_test"
33347
+  (390.7ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
33348
+ SQL (1.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
33349
+  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE
33350
+  (18.8ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33351
+  (1.5ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
33352
+  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE
33353
+  (3.9ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33354
+  (1.2ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
33355
+  (1.4ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
33356
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
33357
+  (3.6ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33358
+  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE
33359
+  (3.5ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33360
+  (1.5ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
33361
+  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE
33362
+  (3.8ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33363
+  (1.2ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
33364
+  (1.4ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
33365
+  (1.2ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
33366
+  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE
33367
+  (3.5ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33368
+  (1.2ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
33369
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
33370
+  (4.2ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33371
+  (1.6ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
33372
+  (1.6ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
33373
+  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE
33374
+  (2.7ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33375
+  (1.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
33376
+  (1.7ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
33377
+  (1.3ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
33378
+  (1.3ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
33379
+  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE
33380
+  (3.6ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33381
+  (1.4ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
33382
+  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE
33383
+  (3.8ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33384
+  (1.2ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
33385
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
33386
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
33387
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20180215214227)
33388
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES
33389
+ (20170905192509),
33390
+ (20170906193506),
33391
+ (20170914181345),
33392
+ (20170918221413),
33393
+ (20171107213207),
33394
+ (20180103162102),
33395
+ (20180109210452),
33396
+ (20180213235544),
33397
+ (20170915210836);
33398
+
33399
+ 
33400
+  (3.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33401
+ ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
33402
+  (0.1ms) BEGIN
33403
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-15 21:42:54.992068"], ["updated_at", "2018-02-15 21:42:54.992068"]]
33404
+  (0.3ms) COMMIT
33405
+ 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]]
33406
+  (0.1ms) BEGIN
33407
+  (0.1ms) COMMIT
33408
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
33409
+  (122.0ms) DROP DATABASE IF EXISTS "canvas_sync_test"
33410
+  (385.3ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
33411
+ SQL (1.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
33412
+  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE
33413
+  (14.9ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33414
+  (1.4ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
33415
+  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
33416
+  (4.6ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "default_assignment_name" character varying, "position" integer, "assignment_weighting_scheme" text, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33417
+  (1.6ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")
33418
+  (1.3ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
33419
+  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE
33420
+  (4.2ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_assignment_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" integer, "min_score" integer, "max_score" integer, "mastery_score" integer, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "context_id" integer, "context_type" character varying, "canvas_assignment_group_id" integer, "grading_scheme_id" integer, "grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33421
+  (1.5ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
33422
+  (1.5ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
33423
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
33424
+  (3.6ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33425
+  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE
33426
+  (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)
33427
+  (1.3ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
33428
+  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE
33429
+  (3.5ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33430
+  (1.6ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
33431
+  (1.4ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
33432
+  (1.3ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
33433
+  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE
33434
+  (4.1ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33435
+  (1.5ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
33436
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
33437
+  (4.9ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33438
+  (1.5ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
33439
+  (1.4ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
33440
+  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE
33441
+  (2.6ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33442
+  (1.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
33443
+  (1.5ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
33444
+  (1.3ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
33445
+  (1.3ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
33446
+  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE
33447
+  (3.8ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33448
+  (1.2ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
33449
+  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE
33450
+  (3.7ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33451
+  (1.2ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
33452
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
33453
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
33454
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES (20180215220605)
33455
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES
33456
+ (20170905192509),
33457
+ (20170906193506),
33458
+ (20170914181345),
33459
+ (20170918221413),
33460
+ (20171107213207),
33461
+ (20180103162102),
33462
+ (20180109210452),
33463
+ (20180213235544),
33464
+ (20180215214227),
33465
+ (20170915210836);
33466
+
33467
+ 
33468
+  (3.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33469
+ ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
33470
+  (0.1ms) BEGIN
33471
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-02-15 22:06:26.449672"], ["updated_at", "2018-02-15 22:06:26.449672"]]
33472
+  (0.3ms) COMMIT
33473
+ 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]]
33474
+  (0.1ms) BEGIN
33475
+  (0.1ms) COMMIT
33476
+  (1.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
33477
+  (0.2ms) BEGIN
33478
+  (0.2ms) SAVEPOINT active_record_1
33479
+ Assignment Exists (2.4ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
33480
+ SQL (0.5ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-22 22:06:26.742842"], ["unlock_at", "2018-02-14 22:06:26.742996"], ["lock_at", "2018-03-08 22:06:26.743036"], ["created_at", "2018-02-15 22:06:26.749707"], ["updated_at", "2018-02-15 22:06:26.749707"]]
33481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33482
+ 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]]
33483
+  (0.1ms) ROLLBACK
33484
+  (0.1ms) BEGIN
33485
+  (0.1ms) SAVEPOINT active_record_1
33486
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
33487
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-22 22:06:26.772343"], ["unlock_at", "2018-02-14 22:06:26.772438"], ["lock_at", "2018-03-08 22:06:26.772478"], ["created_at", "2018-02-15 22:06:26.773376"], ["updated_at", "2018-02-15 22:06:26.773376"]]
33488
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33489
+ Assignment Load (0.3ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]]
33490
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
33491
+  (0.1ms) ROLLBACK
33492
+  (0.1ms) BEGIN
33493
+  (0.1ms) SAVEPOINT active_record_1
33494
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]]
33495
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-22 22:06:26.783061"], ["unlock_at", "2018-02-14 22:06:26.783134"], ["lock_at", "2018-03-08 22:06:26.783194"], ["created_at", "2018-02-15 22:06:26.783982"], ["updated_at", "2018-02-15 22:06:26.783982"]]
33496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33497
+  (0.1ms) ROLLBACK
33498
+  (0.1ms) BEGIN
33499
+  (0.1ms) SAVEPOINT active_record_1
33500
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]]
33501
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-22 22:06:26.787834"], ["unlock_at", "2018-02-14 22:06:26.787923"], ["lock_at", "2018-03-08 22:06:26.787961"], ["created_at", "2018-02-15 22:06:26.788816"], ["updated_at", "2018-02-15 22:06:26.788816"]]
33502
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33503
+  (0.1ms) ROLLBACK
33504
+  (0.1ms) BEGIN
33505
+  (0.1ms) SAVEPOINT active_record_1
33506
+ Course Exists (1.8ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 24260761], ["LIMIT", 1]]
33507
+ SQL (0.4ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 24260761], ["sis_id", "8e0d72ae3ee89c8b0f42703fb11aa222"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:26.803214"], ["end_date", "2018-03-08 22:06:26.803321"], ["created_at", "2018-02-15 22:06:26.806468"], ["updated_at", "2018-02-15 22:06:26.806468"]]
33508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33509
+  (0.1ms) SAVEPOINT active_record_1
33510
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 46174241], ["LIMIT", 1]]
33511
+ SQL (1.0ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 46174241], ["sis_id", "ab79dffeaa3ac45fe63089653876fbb5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:26.808142"], ["end_date", "2018-03-08 22:06:26.808227"], ["created_at", "2018-02-15 22:06:26.809107"], ["updated_at", "2018-02-15 22:06:26.809107"]]
33512
+  (0.8ms) RELEASE SAVEPOINT active_record_1
33513
+  (0.1ms) SAVEPOINT active_record_1
33514
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]]
33515
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-22 22:06:26.818241"], ["unlock_at", "2018-02-14 22:06:26.818341"], ["lock_at", "2018-03-08 22:06:26.818409"], ["created_at", "2018-02-15 22:06:26.819734"], ["updated_at", "2018-02-15 22:06:26.819734"]]
33516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33517
+  (0.1ms) SAVEPOINT active_record_1
33518
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 5], ["LIMIT", 1]]
33519
+ SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 46174241], ["context_type", "Course"], ["updated_at", "2018-02-15 22:06:26.822288"], ["id", 5]]
33520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33521
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 46174241], ["LIMIT", 1]]
33522
+  (0.1ms) ROLLBACK
33523
+  (0.1ms) BEGIN
33524
+  (0.2ms) ROLLBACK
33525
+  (0.1ms) BEGIN
33526
+  (0.2ms) ROLLBACK
33527
+  (0.1ms) BEGIN
33528
+  (0.1ms) ROLLBACK
33529
+  (0.1ms) BEGIN
33530
+  (0.1ms) ROLLBACK
33531
+  (0.1ms) BEGIN
33532
+  (0.1ms) ROLLBACK
33533
+  (0.1ms) BEGIN
33534
+  (0.1ms) ROLLBACK
33535
+  (0.1ms) BEGIN
33536
+  (0.1ms) ROLLBACK
33537
+  (0.1ms) BEGIN
33538
+  (0.1ms) ROLLBACK
33539
+  (0.1ms) BEGIN
33540
+  (0.1ms) ROLLBACK
33541
+  (0.1ms) BEGIN
33542
+  (0.1ms) ROLLBACK
33543
+  (0.1ms) BEGIN
33544
+  (0.1ms) ROLLBACK
33545
+  (0.1ms) BEGIN
33546
+  (6.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
33547
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] Performing GoodJob (Job ID: 3ccaf3cc-6c95-4698-a743-730fffed4d44) from Async(default) with arguments: "argument"
33548
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) SAVEPOINT active_record_1
33549
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.924574"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:06:26.933565"], ["updated_at", "2018-02-15 22:06:26.933565"]]
33550
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) RELEASE SAVEPOINT active_record_1
33551
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) SAVEPOINT active_record_1
33552
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:26.936692"], ["status", "success"], ["updated_at", "2018-02-15 22:06:26.937010"], ["id", 1]]
33553
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44]  (0.1ms) RELEASE SAVEPOINT active_record_1
33554
+ [ActiveJob] [GoodJob] [3ccaf3cc-6c95-4698-a743-730fffed4d44] Performed GoodJob (Job ID: 3ccaf3cc-6c95-4698-a743-730fffed4d44) from Async(default) in 13.75ms
33555
+  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
33556
+ 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]]
33557
+  (0.1ms) ROLLBACK
33558
+  (0.1ms) BEGIN
33559
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] Performing BadJob (Job ID: 7b20f673-a42c-4f70-9493-17525923ddba) from Async(default) with arguments: "argument"
33560
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) SAVEPOINT active_record_1
33561
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.943480"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:06:26.943888"], ["updated_at", "2018-02-15 22:06:26.943888"]]
33562
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) RELEASE SAVEPOINT active_record_1
33563
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) SAVEPOINT active_record_1
33564
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:06:26.945552"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:06:26.945896"], ["id", 2]]
33565
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba]  (0.1ms) RELEASE SAVEPOINT active_record_1
33566
+ [ActiveJob] [BadJob] [7b20f673-a42c-4f70-9493-17525923ddba] Error performing BadJob (Job ID: 7b20f673-a42c-4f70-9493-17525923ddba) from Async(default) in 4.15ms: EvilError (EvilError):
33567
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
33568
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
33569
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
33570
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
33571
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
33572
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
33573
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
33574
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
33575
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
33576
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
33577
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
33578
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
33579
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
33580
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
33581
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
33582
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
33583
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
33584
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
33585
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
33586
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
33587
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
33588
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
33589
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
33590
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
33591
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
33592
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
33593
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
33594
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
33595
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
33596
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
33597
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
33598
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
33599
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
33600
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
33601
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
33602
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
33603
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
33604
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
33605
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
33606
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
33607
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
33608
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
33609
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
33610
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
33611
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
33612
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
33613
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
33614
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
33615
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
33616
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
33617
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
33618
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
33619
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
33620
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
33621
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
33622
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
33623
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
33624
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
33625
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
33626
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
33627
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
33628
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
33629
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
33630
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
33631
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
33632
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
33633
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
33634
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
33635
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
33636
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
33637
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'
33638
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'
33639
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'
33640
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
33641
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'
33642
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'
33643
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
33644
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
33645
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
33646
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'
33647
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
33648
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'
33649
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'
33650
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
33651
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'
33652
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'
33653
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'
33654
+ 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]]
33655
+  (0.1ms) ROLLBACK
33656
+  (0.1ms) BEGIN
33657
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] Performing CanvasSync::Jobs::ReportChecker (Job ID: 26d190ee-15aa-4336-9c67-b4e1a53bcb88) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
33658
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) SAVEPOINT active_record_1
33659
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.951878"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:26.952227"], ["updated_at", "2018-02-15 22:06:26.952227"]]
33660
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) RELEASE SAVEPOINT active_record_1
33661
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) SAVEPOINT active_record_1
33662
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]]
33663
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88]  (0.1ms) RELEASE SAVEPOINT active_record_1
33664
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [26d190ee-15aa-4336-9c67-b4e1a53bcb88] Performed CanvasSync::Jobs::ReportChecker (Job ID: 26d190ee-15aa-4336-9c67-b4e1a53bcb88) from Async(default) in 34.37ms
33665
+  (0.2ms) ROLLBACK
33666
+  (0.1ms) BEGIN
33667
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] Performing CanvasSync::Jobs::ReportChecker (Job ID: e33cd5a5-38ac-4685-8382-e7eed4df3cc8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
33668
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) SAVEPOINT active_record_1
33669
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:26.991101"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:26.991522"], ["updated_at", "2018-02-15 22:06:26.991522"]]
33670
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) RELEASE SAVEPOINT active_record_1
33671
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4bede8ed-b698-471f-b1b5-ec55c092bb4d) to Async(default) at 2018-02-15 22:06:56 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
33672
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) SAVEPOINT active_record_1
33673
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]]
33674
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8]  (0.1ms) RELEASE SAVEPOINT active_record_1
33675
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e33cd5a5-38ac-4685-8382-e7eed4df3cc8] Performed CanvasSync::Jobs::ReportChecker (Job ID: e33cd5a5-38ac-4685-8382-e7eed4df3cc8) from Async(default) in 7.38ms
33676
+  (0.1ms) ROLLBACK
33677
+  (0.1ms) BEGIN
33678
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] Performing CanvasSync::Jobs::ReportChecker (Job ID: 86095377-9295-45d2-9cef-90fa35f04a56) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
33679
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) SAVEPOINT active_record_1
33680
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.001547"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.001881"], ["updated_at", "2018-02-15 22:06:27.001881"]]
33681
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) RELEASE SAVEPOINT active_record_1
33682
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
33683
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) SAVEPOINT active_record_1
33684
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:06:27.004019"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:06:27.004285"], ["id", 5]]
33685
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56]  (0.1ms) RELEASE SAVEPOINT active_record_1
33686
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [86095377-9295-45d2-9cef-90fa35f04a56] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 86095377-9295-45d2-9cef-90fa35f04a56) from Async(default) in 4.62ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
33687
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'
33688
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
33689
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
33690
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
33691
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
33692
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
33693
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
33694
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
33695
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
33696
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
33697
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
33698
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
33699
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
33700
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
33701
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
33702
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
33703
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
33704
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
33705
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
33706
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
33707
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
33708
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
33709
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
33710
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
33711
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
33712
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
33713
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
33714
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
33715
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
33716
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
33717
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
33718
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
33719
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
33720
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
33721
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
33722
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
33723
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
33724
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
33725
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
33726
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
33727
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
33728
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
33729
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
33730
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
33731
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
33732
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
33733
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
33734
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
33735
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
33736
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
33737
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
33738
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
33739
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
33740
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
33741
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
33742
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
33743
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
33744
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
33745
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
33746
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
33747
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
33748
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
33749
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
33750
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
33751
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
33752
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
33753
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
33754
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
33755
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
33756
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
33757
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
33758
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
33759
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
33760
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
33761
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'
33762
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'
33763
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'
33764
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
33765
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'
33766
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'
33767
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
33768
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
33769
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
33770
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'
33771
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
33772
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'
33773
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'
33774
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
33775
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'
33776
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'
33777
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'
33778
+  (0.1ms) ROLLBACK
33779
+  (0.1ms) BEGIN
33780
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 32518ad7-e243-4cf4-ba90-f4ecfcba8bc0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
33781
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) SAVEPOINT active_record_1
33782
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.010061"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.010546"], ["updated_at", "2018-02-15 22:06:27.010546"]]
33783
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) RELEASE SAVEPOINT active_record_1
33784
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) SAVEPOINT active_record_1
33785
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-15 22:06:27.012444"], ["id", 6]]
33786
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) RELEASE SAVEPOINT active_record_1
33787
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.2ms) SAVEPOINT active_record_1
33788
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.062619"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.063342"], ["id", 6]]
33789
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0]  (0.1ms) RELEASE SAVEPOINT active_record_1
33790
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [32518ad7-e243-4cf4-ba90-f4ecfcba8bc0] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 32518ad7-e243-4cf4-ba90-f4ecfcba8bc0) from Async(default) in 55.39ms
33791
+  (0.1ms) ROLLBACK
33792
+  (0.1ms) BEGIN
33793
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] Performing CanvasSync::Jobs::ReportStarter (Job ID: c2201f3e-7854-4c03-98bc-fb453d7e0258) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
33794
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) SAVEPOINT active_record_1
33795
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.069652"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-15 22:06:27.070077"], ["updated_at", "2018-02-15 22:06:27.070077"]]
33796
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) RELEASE SAVEPOINT active_record_1
33797
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a9468443-3831-4365-9044-6d709cf4a535) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
33798
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) SAVEPOINT active_record_1
33799
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.073739"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.074079"], ["id", 7]]
33800
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258]  (0.1ms) RELEASE SAVEPOINT active_record_1
33801
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [c2201f3e-7854-4c03-98bc-fb453d7e0258] Performed CanvasSync::Jobs::ReportStarter (Job ID: c2201f3e-7854-4c03-98bc-fb453d7e0258) from Async(default) in 5.96ms
33802
+  (0.1ms) ROLLBACK
33803
+  (0.1ms) BEGIN
33804
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] Performing CanvasSync::Jobs::ReportStarter (Job ID: 25ad459d-c9ff-4b4c-948a-350211abdb7e) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
33805
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) SAVEPOINT active_record_1
33806
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.079588"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:06:27.080213"], ["updated_at", "2018-02-15 22:06:27.080213"]]
33807
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) RELEASE SAVEPOINT active_record_1
33808
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) SAVEPOINT active_record_1
33809
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.082832"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.083183"], ["id", 8]]
33810
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e]  (0.1ms) RELEASE SAVEPOINT active_record_1
33811
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [25ad459d-c9ff-4b4c-948a-350211abdb7e] Performed CanvasSync::Jobs::ReportStarter (Job ID: 25ad459d-c9ff-4b4c-948a-350211abdb7e) from Async(default) in 5.19ms
33812
+  (0.1ms) ROLLBACK
33813
+  (0.1ms) BEGIN
33814
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] Performing CanvasSync::Jobs::ReportStarter (Job ID: eeec9bd8-3d13-4946-94fb-ba1283b17ff8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
33815
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) SAVEPOINT active_record_1
33816
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.089936"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:06:27.090377"], ["updated_at", "2018-02-15 22:06:27.090377"]]
33817
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) RELEASE SAVEPOINT active_record_1
33818
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) SAVEPOINT active_record_1
33819
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.093403"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.093727"], ["id", 9]]
33820
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8]  (0.1ms) RELEASE SAVEPOINT active_record_1
33821
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [eeec9bd8-3d13-4946-94fb-ba1283b17ff8] Performed CanvasSync::Jobs::ReportStarter (Job ID: eeec9bd8-3d13-4946-94fb-ba1283b17ff8) from Async(default) in 5.45ms
33822
+  (0.1ms) ROLLBACK
33823
+  (0.1ms) BEGIN
33824
+  (2.4ms) SELECT COUNT(*) FROM "admins"
33825
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: 315d9a92-2f12-4c2e-9417-723345c3653b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
33826
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1
33827
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.111173"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.111624"], ["updated_at", "2018-02-15 22:06:27.111624"]]
33828
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33829
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
33830
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1
33831
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
33832
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.131983"], ["updated_at", "2018-02-15 22:06:27.131983"]]
33833
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33834
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
33835
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1
33836
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Exists (0.1ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
33837
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.134924"], ["updated_at", "2018-02-15 22:06:27.134924"]]
33838
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33839
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
33840
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1
33841
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
33842
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.137634"], ["updated_at", "2018-02-15 22:06:27.137634"]]
33843
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33844
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3))
33845
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) SAVEPOINT active_record_1
33846
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.139283"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.139608"], ["id", 10]]
33847
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33848
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [315d9a92-2f12-4c2e-9417-723345c3653b] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: 315d9a92-2f12-4c2e-9417-723345c3653b) from Async(default) in 29.85ms
33849
+  (0.2ms) SELECT COUNT(*) FROM "admins"
33850
+  (0.1ms) ROLLBACK
33851
+  (0.1ms) BEGIN
33852
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: db62f980-1736-49d8-a833-8f87e9a1d5e8) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {}
33853
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) SAVEPOINT active_record_1
33854
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.147057"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.147500"], ["updated_at", "2018-02-15 22:06:27.147500"]]
33855
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) RELEASE SAVEPOINT active_record_1
33856
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 285d330e-cd2a-4193-b5c9-dafcc9f8d9a6) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
33857
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) SAVEPOINT active_record_1
33858
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.150525"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.150825"], ["id", 11]]
33859
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8]  (0.1ms) RELEASE SAVEPOINT active_record_1
33860
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [db62f980-1736-49d8-a833-8f87e9a1d5e8] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: db62f980-1736-49d8-a833-8f87e9a1d5e8) from Async(default) in 5.41ms
33861
+  (0.1ms) ROLLBACK
33862
+  (0.1ms) BEGIN
33863
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 66c04b81-4750-49eb-bfc1-d2f4d29a64b3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {}
33864
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.2ms) SAVEPOINT active_record_1
33865
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.158979"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.159597"], ["updated_at", "2018-02-15 22:06:27.159597"]]
33866
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.1ms) RELEASE SAVEPOINT active_record_1
33867
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c9368f11-2b48-44bc-a31d-f9089c07719e) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
33868
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.1ms) SAVEPOINT active_record_1
33869
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.162927"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.163275"], ["id", 12]]
33870
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3]  (0.1ms) RELEASE SAVEPOINT active_record_1
33871
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [66c04b81-4750-49eb-bfc1-d2f4d29a64b3] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 66c04b81-4750-49eb-bfc1-d2f4d29a64b3) from Async(default) in 5.79ms
33872
+  (0.1ms) ROLLBACK
33873
+  (0.1ms) BEGIN
33874
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 40c200f7-0721-4dba-82bc-7b6de8adae34) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
33875
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) SAVEPOINT active_record_1
33876
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.168913"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.169343"], ["updated_at", "2018-02-15 22:06:27.169343"]]
33877
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) RELEASE SAVEPOINT active_record_1
33878
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9abaa44e-2a16-4a6c-b6d0-5f37b83407be) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
33879
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) SAVEPOINT active_record_1
33880
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.172884"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.173316"], ["id", 13]]
33881
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34]  (0.1ms) RELEASE SAVEPOINT active_record_1
33882
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [40c200f7-0721-4dba-82bc-7b6de8adae34] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 40c200f7-0721-4dba-82bc-7b6de8adae34) from Async(default) in 6.1ms
33883
+  (0.1ms) ROLLBACK
33884
+  (0.1ms) BEGIN
33885
+  (0.1ms) SAVEPOINT active_record_1
33886
+ Term Exists (1.9ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 41396644], ["LIMIT", 1]]
33887
+ SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 41396644], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "86c6d8a123b7acff17df151763dd5d93"], ["created_at", "2018-02-15 22:06:27.206079"], ["updated_at", "2018-02-15 22:06:27.206079"]]
33888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33889
+  (0.1ms) SAVEPOINT active_record_1
33890
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 50823247], ["LIMIT", 1]]
33891
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 50823247], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "6b20a6073fea75b7f94492f04218bbdb"], ["created_at", "2018-02-15 22:06:27.210473"], ["updated_at", "2018-02-15 22:06:27.210473"]]
33892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33893
+  (0.1ms) SAVEPOINT active_record_1
33894
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 12814805], ["LIMIT", 1]]
33895
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 12814805], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "inactive"], ["sis_id", "d24df2bf1f2b9cb3bb4fd1d9b6e3f97a"], ["created_at", "2018-02-15 22:06:27.213959"], ["updated_at", "2018-02-15 22:06:27.213959"]]
33896
+  (0.1ms) RELEASE SAVEPOINT active_record_1
33897
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
33898
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) SAVEPOINT active_record_1
33899
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.215905"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-15 22:06:27.216248"], ["updated_at", "2018-02-15 22:06:27.216248"]]
33900
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) RELEASE SAVEPOINT active_record_1
33901
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] Term Load (1.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:06:27.219415' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:06:27.219591' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
33902
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) SAVEPOINT active_record_1
33903
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.223179"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.223526"], ["id", 14]]
33904
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61]  (0.1ms) RELEASE SAVEPOINT active_record_1
33905
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a8ddc9b3-7c30-44e3-9a4f-3f6f55521e61) from Async(default) in 9.69ms
33906
+  (0.1ms) ROLLBACK
33907
+  (1.0ms) BEGIN
33908
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: adfc9a68-1b9f-4a2a-866f-9e3768c14872) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
33909
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.2ms) SAVEPOINT active_record_1
33910
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.238810"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-15 22:06:27.239413"], ["updated_at", "2018-02-15 22:06:27.239413"]]
33911
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.2ms) RELEASE SAVEPOINT active_record_1
33912
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.1ms) SAVEPOINT active_record_1
33913
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.242643"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.243180"], ["id", 15]]
33914
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872]  (0.1ms) RELEASE SAVEPOINT active_record_1
33915
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [adfc9a68-1b9f-4a2a-866f-9e3768c14872] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: adfc9a68-1b9f-4a2a-866f-9e3768c14872) from Async(default) in 6.1ms
33916
+  (0.1ms) ROLLBACK
33917
+  (0.1ms) BEGIN
33918
+  (1.7ms) SELECT COUNT(*) FROM "roles"
33919
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 1a7b4450-5917-4829-a714-dad79123e4ec) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
33920
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1
33921
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.257143"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.258201"], ["updated_at", "2018-02-15 22:06:27.258201"]]
33922
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1
33923
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
33924
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1
33925
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
33926
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.5ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:06:27.302759"], ["updated_at", "2018-02-15 22:06:27.302759"]]
33927
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1
33928
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
33929
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1
33930
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
33931
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-15 22:06:27.312362"], ["updated_at", "2018-02-15 22:06:27.312362"]]
33932
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1
33933
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2))
33934
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) SAVEPOINT active_record_1
33935
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.316706"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.317002"], ["id", 16]]
33936
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec]  (0.1ms) RELEASE SAVEPOINT active_record_1
33937
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [1a7b4450-5917-4829-a714-dad79123e4ec] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 1a7b4450-5917-4829-a714-dad79123e4ec) from Async(default) in 61.13ms
33938
+  (0.2ms) SELECT COUNT(*) FROM "roles"
33939
+  (0.1ms) ROLLBACK
33940
+  (0.1ms) BEGIN
33941
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8f4c3460-3e37-469b-ab7c-30eaafaad621) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {}
33942
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) SAVEPOINT active_record_1
33943
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.322744"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.323140"], ["updated_at", "2018-02-15 22:06:27.323140"]]
33944
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) RELEASE SAVEPOINT active_record_1
33945
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dd91d852-7872-465b-91e5-f9d144b4bf13) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
33946
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) SAVEPOINT active_record_1
33947
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.325638"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.325901"], ["id", 17]]
33948
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621]  (0.1ms) RELEASE SAVEPOINT active_record_1
33949
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [8f4c3460-3e37-469b-ab7c-30eaafaad621] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 8f4c3460-3e37-469b-ab7c-30eaafaad621) from Async(default) in 4.41ms
33950
+  (0.1ms) ROLLBACK
33951
+  (0.1ms) BEGIN
33952
+  (0.2ms) SELECT COUNT(*) FROM "terms"
33953
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
33954
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33955
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.332542"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.332918"], ["updated_at", "2018-02-15 22:06:27.332918"]]
33956
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33957
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
33958
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33959
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
33960
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:06:27.339050"], ["updated_at", "2018-02-15 22:06:27.339050"]]
33961
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33962
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
33963
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33964
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
33965
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.341577"], ["updated_at", "2018-02-15 22:06:27.341577"]]
33966
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33967
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
33968
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33969
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
33970
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.343985"], ["updated_at", "2018-02-15 22:06:27.343985"]]
33971
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33972
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
33973
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33974
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
33975
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-15 22:06:27.347180"], ["updated_at", "2018-02-15 22:06:27.347180"]]
33976
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33977
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
33978
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33979
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
33980
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-15 22:06:27.349606"], ["updated_at", "2018-02-15 22:06:27.349606"]]
33981
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33982
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
33983
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33984
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
33985
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.352507"], ["updated_at", "2018-02-15 22:06:27.352507"]]
33986
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (1.7ms) RELEASE SAVEPOINT active_record_1
33987
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) SAVEPOINT active_record_1
33988
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.360707"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.361280"], ["id", 18]]
33989
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b]  (0.1ms) RELEASE SAVEPOINT active_record_1
33990
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 32d3ab7b-52e0-4326-b84a-5bdabdd6ca4b) from Async(default) in 30.48ms
33991
+  (0.2ms) SELECT COUNT(*) FROM "terms"
33992
+  (0.1ms) ROLLBACK
33993
+  (0.1ms) BEGIN
33994
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: ae4cd86b-540b-4740-98c0-920d6260df01) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
33995
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) SAVEPOINT active_record_1
33996
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:06:27.368246"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:06:27.368687"], ["updated_at", "2018-02-15 22:06:27.368687"]]
33997
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) RELEASE SAVEPOINT active_record_1
33998
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: dc12c517-2a47-4594-bd8f-95e399fb6553) to Async(default) at 2018-02-15 22:06:57 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
33999
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) SAVEPOINT active_record_1
34000
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:06:27.371391"], ["status", "success"], ["updated_at", "2018-02-15 22:06:27.371723"], ["id", 19]]
34001
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01]  (0.1ms) RELEASE SAVEPOINT active_record_1
34002
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [ae4cd86b-540b-4740-98c0-920d6260df01] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: ae4cd86b-540b-4740-98c0-920d6260df01) from Async(default) in 6.04ms
34003
+  (0.1ms) ROLLBACK
34004
+  (0.1ms) BEGIN
34005
+  (0.1ms) SAVEPOINT active_record_1
34006
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 43286280], ["LIMIT", 1]]
34007
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 43286280], ["role_name", "Cool Role"], ["canvas_role_id", 26920776], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.378495"], ["updated_at", "2018-02-15 22:06:27.378495"]]
34008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34009
+ 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]]
34010
+  (0.1ms) ROLLBACK
34011
+  (0.1ms) BEGIN
34012
+  (0.1ms) SAVEPOINT active_record_1
34013
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 40863331], ["LIMIT", 1]]
34014
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 40863331], ["role_name", "Cool Role"], ["canvas_role_id", 82040208], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.384699"], ["updated_at", "2018-02-15 22:06:27.384699"]]
34015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34016
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]]
34017
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 40863331], ["LIMIT", 1]]
34018
+  (0.1ms) ROLLBACK
34019
+  (0.1ms) BEGIN
34020
+  (0.2ms) SELECT COUNT(*) FROM "admins"
34021
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34022
+  (0.1ms) SAVEPOINT active_record_1
34023
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34024
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.392462"], ["updated_at", "2018-02-15 22:06:27.392462"]]
34025
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34026
+  (0.1ms) SELECT COUNT(*) FROM "admins"
34027
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]
34028
+  (0.1ms) ROLLBACK
34029
+  (0.1ms) BEGIN
34030
+  (0.1ms) SAVEPOINT active_record_1
34031
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34032
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 91059761], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.397937"], ["updated_at", "2018-02-15 22:06:27.397937"]]
34033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34034
+  (0.2ms) SELECT COUNT(*) FROM "admins"
34035
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34036
+  (0.1ms) SAVEPOINT active_record_1
34037
+ 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]]
34038
+ SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-15 22:06:27.401183"], ["id", 7]]
34039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34040
+  (0.1ms) SELECT COUNT(*) FROM "admins"
34041
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]
34042
+  (0.1ms) ROLLBACK
34043
+  (1.9ms) BEGIN
34044
+  (0.1ms) SAVEPOINT active_record_1
34045
+ AssignmentGroup Exists (2.5ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]]
34046
+ SQL (0.4ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.425211"], ["canvas_updated_at", "2018-02-14 22:06:27.425317"], ["created_at", "2018-02-15 22:06:27.429166"], ["updated_at", "2018-02-15 22:06:27.429166"]]
34047
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34048
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
34049
+  (0.1ms) ROLLBACK
34050
+  (0.1ms) BEGIN
34051
+  (0.1ms) SAVEPOINT active_record_1
34052
+ 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]]
34053
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.435628"], ["canvas_updated_at", "2018-02-14 22:06:27.435726"], ["created_at", "2018-02-15 22:06:27.436641"], ["updated_at", "2018-02-15 22:06:27.436641"]]
34054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34055
+ AssignmentGroup Load (0.1ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
34056
+ 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]]
34057
+  (0.1ms) ROLLBACK
34058
+  (0.1ms) BEGIN
34059
+  (0.1ms) SAVEPOINT active_record_1
34060
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]]
34061
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.442467"], ["canvas_updated_at", "2018-02-14 22:06:27.442535"], ["created_at", "2018-02-15 22:06:27.443354"], ["updated_at", "2018-02-15 22:06:27.443354"]]
34062
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34063
+  (0.1ms) ROLLBACK
34064
+  (0.1ms) BEGIN
34065
+  (0.1ms) SAVEPOINT active_record_1
34066
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]]
34067
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:06:27.446895"], ["canvas_updated_at", "2018-02-14 22:06:27.446963"], ["created_at", "2018-02-15 22:06:27.447801"], ["updated_at", "2018-02-15 22:06:27.447801"]]
34068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34069
+  (0.1ms) ROLLBACK
34070
+  (0.1ms) BEGIN
34071
+  (0.1ms) SAVEPOINT active_record_1
34072
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37185643], ["LIMIT", 1]]
34073
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37185643], ["sis_id", "3344abdd6678afddf52326d74eb60969"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.451884"], ["end_date", "2018-03-08 22:06:27.451966"], ["created_at", "2018-02-15 22:06:27.452980"], ["updated_at", "2018-02-15 22:06:27.452980"]]
34074
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34075
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]
34076
+  (0.2ms) ROLLBACK
34077
+  (0.1ms) BEGIN
34078
+  (0.1ms) SAVEPOINT active_record_1
34079
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90681969], ["LIMIT", 1]]
34080
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 90681969], ["sis_id", "36d62ab356c5e7b0abb7bd61990ec1c3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.460146"], ["end_date", "2018-03-08 22:06:27.460242"], ["created_at", "2018-02-15 22:06:27.461386"], ["updated_at", "2018-02-15 22:06:27.461386"]]
34081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34082
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
34083
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 90681969], ["LIMIT", 1]]
34084
+  (0.1ms) ROLLBACK
34085
+  (0.2ms) BEGIN
34086
+  (0.2ms) SAVEPOINT active_record_1
34087
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76784647], ["LIMIT", 1]]
34088
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 76784647], ["sis_id", "c40f921f627b3693d5f14ed88f1f72f3"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.474853"], ["end_date", "2018-03-08 22:06:27.474970"], ["created_at", "2018-02-15 22:06:27.476266"], ["updated_at", "2018-02-15 22:06:27.476266"]]
34089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34090
+  (0.1ms) ROLLBACK
34091
+  (0.1ms) BEGIN
34092
+  (0.1ms) SAVEPOINT active_record_1
34093
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 43101757], ["LIMIT", 1]]
34094
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 43101757], ["sis_id", "93946e1e33d21c2ce1227fc9a8fd55f5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.480573"], ["end_date", "2018-03-08 22:06:27.480645"], ["created_at", "2018-02-15 22:06:27.481528"], ["updated_at", "2018-02-15 22:06:27.481528"]]
34095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34096
+  (0.1ms) ROLLBACK
34097
+  (0.1ms) BEGIN
34098
+  (0.1ms) SAVEPOINT active_record_1
34099
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 76266459], ["LIMIT", 1]]
34100
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 76266459], ["sis_id", "40d569f333c933b9cf5bc730088b6edc"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.486257"], ["end_date", "2018-03-08 22:06:27.486330"], ["created_at", "2018-02-15 22:06:27.487304"], ["updated_at", "2018-02-15 22:06:27.487304"]]
34101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34102
+  (0.2ms) ROLLBACK
34103
+  (0.1ms) BEGIN
34104
+  (0.1ms) SAVEPOINT active_record_1
34105
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 57973229], ["LIMIT", 1]]
34106
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 57973229], ["sis_id", "f7d469c3a649613f4dc08f1390d24e7c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.491408"], ["end_date", "2018-03-08 22:06:27.491505"], ["created_at", "2018-02-15 22:06:27.492770"], ["updated_at", "2018-02-15 22:06:27.492770"]]
34107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34108
+  (0.1ms) ROLLBACK
34109
+  (0.1ms) BEGIN
34110
+  (0.1ms) SAVEPOINT active_record_1
34111
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58786803], ["LIMIT", 1]]
34112
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 58786803], ["sis_id", "b615094321273b98b54f6918aec4b6b4"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.496608"], ["end_date", "2018-03-08 22:06:27.496677"], ["created_at", "2018-02-15 22:06:27.497491"], ["updated_at", "2018-02-15 22:06:27.497491"]]
34113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34114
+  (0.1ms) ROLLBACK
34115
+  (0.1ms) BEGIN
34116
+  (0.1ms) SAVEPOINT active_record_1
34117
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 68940573], ["LIMIT", 1]]
34118
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 68940573], ["sis_id", "891647880088edec5dec4a3f2002f58d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:06:27.500949"], ["end_date", "2018-03-08 22:06:27.501014"], ["created_at", "2018-02-15 22:06:27.501809"], ["updated_at", "2018-02-15 22:06:27.501809"]]
34119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34120
+  (0.1ms) ROLLBACK
34121
+  (0.1ms) BEGIN
34122
+  (0.1ms) SAVEPOINT active_record_1
34123
+ Enrollment Exists (6.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 54270635], ["LIMIT", 1]]
34124
+ SQL (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 54270635], ["created_at", "2018-02-15 22:06:27.527585"], ["updated_at", "2018-02-15 22:06:27.527585"]]
34125
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34126
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
34127
+  (0.1ms) ROLLBACK
34128
+  (0.1ms) BEGIN
34129
+  (0.1ms) SAVEPOINT active_record_1
34130
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 67558822], ["LIMIT", 1]]
34131
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 67558822], ["created_at", "2018-02-15 22:06:27.536629"], ["updated_at", "2018-02-15 22:06:27.536629"]]
34132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34133
+ Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]]
34134
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 67558822], ["LIMIT", 1]]
34135
+  (0.1ms) ROLLBACK
34136
+  (0.1ms) BEGIN
34137
+  (0.1ms) SAVEPOINT active_record_1
34138
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 96720068], ["LIMIT", 1]]
34139
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 96720068], ["created_at", "2018-02-15 22:06:27.545081"], ["updated_at", "2018-02-15 22:06:27.545081"]]
34140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34141
+  (0.2ms) ROLLBACK
34142
+  (0.1ms) BEGIN
34143
+  (0.1ms) SAVEPOINT active_record_1
34144
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 18754282], ["LIMIT", 1]]
34145
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 18754282], ["created_at", "2018-02-15 22:06:27.550836"], ["updated_at", "2018-02-15 22:06:27.550836"]]
34146
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34147
+  (0.1ms) ROLLBACK
34148
+  (0.1ms) BEGIN
34149
+  (0.1ms) SAVEPOINT active_record_1
34150
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 9301830], ["LIMIT", 1]]
34151
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 9301830], ["created_at", "2018-02-15 22:06:27.554949"], ["updated_at", "2018-02-15 22:06:27.554949"]]
34152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34153
+  (0.1ms) ROLLBACK
34154
+  (0.1ms) BEGIN
34155
+  (0.1ms) SAVEPOINT active_record_1
34156
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 86753166], ["LIMIT", 1]]
34157
+ SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 86753166], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.559654"], ["updated_at", "2018-02-15 22:06:27.559654"]]
34158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34159
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]
34160
+  (0.1ms) ROLLBACK
34161
+  (0.1ms) BEGIN
34162
+  (0.1ms) SAVEPOINT active_record_1
34163
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55518716], ["LIMIT", 1]]
34164
+ SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 55518716], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.565141"], ["updated_at", "2018-02-15 22:06:27.565141"]]
34165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34166
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]]
34167
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 55518716], ["LIMIT", 1]]
34168
+  (0.1ms) ROLLBACK
34169
+  (0.1ms) BEGIN
34170
+  (0.2ms) SELECT COUNT(*) FROM "roles"
34171
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
34172
+  (0.2ms) SAVEPOINT active_record_1
34173
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
34174
+ SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:06:27.582898"], ["updated_at", "2018-02-15 22:06:27.582898"]]
34175
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34176
+  (0.2ms) SELECT COUNT(*) FROM "roles"
34177
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]
34178
+  (0.1ms) ROLLBACK
34179
+  (0.1ms) BEGIN
34180
+  (0.1ms) SAVEPOINT active_record_1
34181
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
34182
+ SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:06:27.596189"], ["updated_at", "2018-02-15 22:06:27.596189"]]
34183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34184
+  (0.2ms) SELECT COUNT(*) FROM "roles"
34185
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
34186
+  (0.1ms) SAVEPOINT active_record_1
34187
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]]
34188
+ SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-15 22:06:27.601743"], ["id", 6]]
34189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34190
+  (0.2ms) SELECT COUNT(*) FROM "roles"
34191
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
34192
+  (0.1ms) ROLLBACK
34193
+  (0.1ms) BEGIN
34194
+  (0.1ms) SAVEPOINT active_record_1
34195
+ Section Exists (7.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 2853148], ["LIMIT", 1]]
34196
+ SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 2853148], ["created_at", "2018-02-15 22:06:27.637717"], ["updated_at", "2018-02-15 22:06:27.637717"]]
34197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34198
+ 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]]
34199
+  (0.1ms) ROLLBACK
34200
+  (0.1ms) BEGIN
34201
+  (0.1ms) SAVEPOINT active_record_1
34202
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47827073], ["LIMIT", 1]]
34203
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 47827073], ["created_at", "2018-02-15 22:06:27.647595"], ["updated_at", "2018-02-15 22:06:27.647595"]]
34204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34205
+ Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
34206
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 47827073], ["LIMIT", 1]]
34207
+  (0.1ms) ROLLBACK
34208
+  (0.1ms) BEGIN
34209
+  (0.1ms) SAVEPOINT active_record_1
34210
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 43567135], ["LIMIT", 1]]
34211
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 43567135], ["created_at", "2018-02-15 22:06:27.654265"], ["updated_at", "2018-02-15 22:06:27.654265"]]
34212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34213
+  (0.1ms) ROLLBACK
34214
+  (0.1ms) BEGIN
34215
+  (0.1ms) SAVEPOINT active_record_1
34216
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 25361438], ["LIMIT", 1]]
34217
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 25361438], ["created_at", "2018-02-15 22:06:27.658647"], ["updated_at", "2018-02-15 22:06:27.658647"]]
34218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34219
+  (0.1ms) ROLLBACK
34220
+  (0.1ms) BEGIN
34221
+  (0.1ms) SAVEPOINT active_record_1
34222
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 78050298], ["LIMIT", 1]]
34223
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 78050298], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "f79500bdd52a4ef2742043ec926a5ea6"], ["created_at", "2018-02-15 22:06:27.663886"], ["updated_at", "2018-02-15 22:06:27.663886"]]
34224
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34225
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]
34226
+  (0.1ms) ROLLBACK
34227
+  (0.1ms) BEGIN
34228
+  (0.1ms) SAVEPOINT active_record_1
34229
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1543953], ["LIMIT", 1]]
34230
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1543953], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "b3d913878a825357173e29ff5767cba9"], ["created_at", "2018-02-15 22:06:27.669666"], ["updated_at", "2018-02-15 22:06:27.669666"]]
34231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34232
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]]
34233
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1543953], ["LIMIT", 1]]
34234
+  (0.1ms) ROLLBACK
34235
+  (0.1ms) BEGIN
34236
+  (0.1ms) SAVEPOINT active_record_1
34237
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 36109146], ["LIMIT", 1]]
34238
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 36109146], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "f9ff1f31659351d2a1bdb5e244437773"], ["created_at", "2018-02-15 22:06:27.675871"], ["updated_at", "2018-02-15 22:06:27.675871"]]
34239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34240
+  (0.1ms) ROLLBACK
34241
+  (0.1ms) BEGIN
34242
+  (0.2ms) SAVEPOINT active_record_1
34243
+ Term Exists (2.8ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 30320845], ["LIMIT", 1]]
34244
+ SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 30320845], ["name", "Cool Term"], ["start_at", "2018-02-13 22:06:27.679946"], ["end_at", "2018-02-18 22:06:27.680028"], ["workflow_state", "active"], ["sis_id", "66eba99c5719dfebb54b3e327c4b7288"], ["created_at", "2018-02-15 22:06:27.688321"], ["updated_at", "2018-02-15 22:06:27.688321"]]
34245
+  (0.2ms) RELEASE SAVEPOINT active_record_1
34246
+  (0.1ms) SAVEPOINT active_record_1
34247
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 72850267], ["LIMIT", 1]]
34248
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 72850267], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "inactive"], ["sis_id", "f06cb407fd9667d5e845b057eae5179f"], ["created_at", "2018-02-15 22:06:27.691222"], ["updated_at", "2018-02-15 22:06:27.691222"]]
34249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34250
+  (0.1ms) SAVEPOINT active_record_1
34251
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 40295545], ["LIMIT", 1]]
34252
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 40295545], ["name", "Cool Term"], ["start_at", "2017-12-15 22:06:27.692317"], ["end_at", "2018-01-15 22:06:27.692387"], ["workflow_state", "active"], ["sis_id", "9c42bdf0ca8cdea18944a03726d0294e"], ["created_at", "2018-02-15 22:06:27.693425"], ["updated_at", "2018-02-15 22:06:27.693425"]]
34253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34254
+  (0.1ms) SAVEPOINT active_record_1
34255
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 49698848], ["LIMIT", 1]]
34256
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 49698848], ["name", "Cool Term"], ["start_at", "2018-08-15 22:06:27.694363"], ["end_at", "2019-02-15 22:06:27.694412"], ["workflow_state", "active"], ["sis_id", "dc598fd3666d3356c7a1f907ffbd1335"], ["created_at", "2018-02-15 22:06:27.695391"], ["updated_at", "2018-02-15 22:06:27.695391"]]
34257
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34258
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:06:27.696458' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:06:27.696579' OR end_at IS NULL) [["workflow_state", "active"]]
34259
+  (0.1ms) ROLLBACK
34260
+  (0.1ms) BEGIN
34261
+  (0.2ms) SELECT COUNT(*) FROM "terms"
34262
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
34263
+  (0.1ms) SAVEPOINT active_record_1
34264
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
34265
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:06:27.704423"], ["updated_at", "2018-02-15 22:06:27.704423"]]
34266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34267
+  (0.2ms) SELECT COUNT(*) FROM "terms"
34268
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]
34269
+  (0.1ms) ROLLBACK
34270
+  (0.1ms) BEGIN
34271
+  (0.1ms) SAVEPOINT active_record_1
34272
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
34273
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-12 22:06:23.152910"], ["end_at", "2018-02-18 22:06:23.153082"], ["workflow_state", "active"], ["sis_id", "0be04d505c99384db133b8760eb4ab3c"], ["created_at", "2018-02-15 22:06:27.711779"], ["updated_at", "2018-02-15 22:06:27.711779"]]
34274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34275
+  (0.2ms) SELECT COUNT(*) FROM "terms"
34276
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
34277
+  (0.1ms) SAVEPOINT active_record_1
34278
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 18], ["LIMIT", 1]]
34279
+ SQL (0.2ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-15 22:06:27.715043"], ["id", 18]]
34280
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34281
+  (0.1ms) SELECT COUNT(*) FROM "terms"
34282
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]
34283
+  (0.1ms) ROLLBACK
34284
+  (0.1ms) BEGIN
34285
+  (0.1ms) SAVEPOINT active_record_1
34286
+ User Exists (1.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 44997440], ["LIMIT", 1]]
34287
+ SQL (4.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 44997440], ["sis_id", "a04a597fc2842b38e9abae238b7c9261"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.732209"], ["updated_at", "2018-02-15 22:06:27.732209"]]
34288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34289
+ 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]]
34290
+  (0.1ms) ROLLBACK
34291
+  (0.1ms) BEGIN
34292
+  (0.1ms) SAVEPOINT active_record_1
34293
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 29708722], ["LIMIT", 1]]
34294
+ SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 29708722], ["sis_id", "b20168a0f32272b8fd49da5f11155a9b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.749060"], ["updated_at", "2018-02-15 22:06:27.749060"]]
34295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34296
+ User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
34297
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 29708722], ["LIMIT", 1]]
34298
+  (0.1ms) ROLLBACK
34299
+  (0.1ms) BEGIN
34300
+  (0.1ms) SAVEPOINT active_record_1
34301
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 64428856], ["LIMIT", 1]]
34302
+ SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 64428856], ["sis_id", "70ae0790fe55e9374f1afc073513d91c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.757308"], ["updated_at", "2018-02-15 22:06:27.757308"]]
34303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34304
+  (0.1ms) ROLLBACK
34305
+  (0.1ms) BEGIN
34306
+  (0.1ms) SAVEPOINT active_record_1
34307
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65327627], ["LIMIT", 1]]
34308
+ SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 65327627], ["sis_id", "a428a17e44941742f983706ba5b9c5ab"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:06:27.762874"], ["updated_at", "2018-02-15 22:06:27.762874"]]
34309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34310
+  (0.1ms) ROLLBACK
34311
+  (0.1ms) BEGIN
34312
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
34313
+ AssignmentGroup Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:06:27.770692','2018-02-15 22:06:27.770692'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:06:27.770692','2018-02-15 22:06:27.770692') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"
34314
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
34315
+  (0.1ms) ROLLBACK
34316
+  (0.1ms) BEGIN
34317
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
34318
+ 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-02-15 22:06:27.780011','2018-02-15 22:06:27.780011'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-15 22:06:27.780011','2018-02-15 22:06:27.780011') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"
34319
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
34320
+  (0.1ms) ROLLBACK
34321
+  (0.1ms) BEGIN
34322
+  (0.5ms) SELECT COUNT(*) FROM "users"
34323
+ User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:06:27.795693','2018-02-15 22:06:27.795693'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:06:27.795693','2018-02-15 22:06:27.795693') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
34324
+  (0.2ms) SELECT COUNT(*) FROM "users"
34325
+  (0.1ms) ROLLBACK
34326
+  (0.1ms) BEGIN
34327
+  (0.2ms) SELECT COUNT(*) FROM "courses"
34328
+ Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:06:27.805370','2018-02-15 22:06:27.805370'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:06:27.805370','2018-02-15 22:06:27.805370') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"
34329
+  (0.2ms) SELECT COUNT(*) FROM "courses"
34330
+ Course Load (0.3ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
34331
+  (0.3ms) ROLLBACK
34332
+  (0.1ms) BEGIN
34333
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
34334
+ Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-15 22:06:27.814722','2018-02-15 22:06:27.814722'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-15 22:06:27.814722','2018-02-15 22:06:27.814722') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"
34335
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
34336
+  (0.1ms) ROLLBACK
34337
+  (0.1ms) BEGIN
34338
+  (0.2ms) SELECT COUNT(*) FROM "sections"
34339
+ Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:06:27.821878','2018-02-15 22:06:27.821878'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:06:27.821878','2018-02-15 22:06:27.821878') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"
34340
+  (0.2ms) SELECT COUNT(*) FROM "sections"
34341
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
34342
+  (0.1ms) ROLLBACK
34343
+  (0.1ms) BEGIN
34344
+ Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-15 22:06:27.829108','2018-02-15 22:06:27.829108') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"
34345
+  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)
34346
+ Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
34347
+  (0.1ms) ROLLBACK
34348
+  (0.1ms) BEGIN
34349
+  (0.2ms) SELECT COUNT(*) FROM "users"
34350
+  (0.2ms) SELECT COUNT(*) FROM "courses"
34351
+ Course Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:06:27.846602','2018-02-15 22:06:27.846602'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:06:27.846602','2018-02-15 22:06:27.846602') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"
34352
+ User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:06:27.848309','2018-02-15 22:06:27.848309'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:06:27.848309','2018-02-15 22:06:27.848309') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
34353
+  (0.2ms) SELECT COUNT(*) FROM "users"
34354
+  (0.2ms) SELECT COUNT(*) FROM "courses"
34355
+  (0.1ms) ROLLBACK
34356
+  (0.1ms) BEGIN
34357
+  (0.1ms) ROLLBACK
34358
+  (0.1ms) BEGIN
34359
+  (3.0ms) SELECT COUNT(*) FROM "submissions"
34360
+ Submission Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:06:27.865192','2018-02-15 22:06:27.865192'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:06:27.865192','2018-02-15 22:06:27.865192') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible) RETURNING "id"
34361
+  (0.2ms) SELECT COUNT(*) FROM "submissions"
34362
+  (0.1ms) ROLLBACK
34363
+  (0.1ms) BEGIN
34364
+  (0.1ms) SAVEPOINT active_record_1
34365
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]]
34366
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-08 22:06:27.877740"], ["graded_at", "2018-02-14 22:06:27.877844"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.879180"], ["updated_at", "2018-02-15 22:06:27.879180"]]
34367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34368
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]
34369
+  (0.1ms) ROLLBACK
34370
+  (0.1ms) BEGIN
34371
+  (0.1ms) SAVEPOINT active_record_1
34372
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
34373
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-08 22:06:27.885301"], ["graded_at", "2018-02-14 22:06:27.885396"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.886416"], ["updated_at", "2018-02-15 22:06:27.886416"]]
34374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34375
+ Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]]
34376
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
34377
+  (0.1ms) ROLLBACK
34378
+  (0.1ms) BEGIN
34379
+  (0.1ms) SAVEPOINT active_record_1
34380
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]]
34381
+ SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-08 22:06:27.900329"], ["graded_at", "2018-02-14 22:06:27.900468"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.901587"], ["updated_at", "2018-02-15 22:06:27.901587"]]
34382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34383
+  (0.1ms) ROLLBACK
34384
+  (0.1ms) BEGIN
34385
+  (0.1ms) SAVEPOINT active_record_1
34386
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]]
34387
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-08 22:06:27.905809"], ["graded_at", "2018-02-14 22:06:27.905891"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.906826"], ["updated_at", "2018-02-15 22:06:27.906826"]]
34388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34389
+  (0.1ms) ROLLBACK
34390
+  (0.1ms) BEGIN
34391
+  (0.1ms) SAVEPOINT active_record_1
34392
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]]
34393
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-08 22:06:27.912405"], ["graded_at", "2018-02-14 22:06:27.912491"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:06:27.913538"], ["updated_at", "2018-02-15 22:06:27.913538"]]
34394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34395
+  (0.1ms) ROLLBACK
34396
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34397
+  (0.2ms) BEGIN
34398
+  (0.1ms) ROLLBACK
34399
+  (0.1ms) BEGIN
34400
+  (0.1ms) ROLLBACK
34401
+  (0.1ms) BEGIN
34402
+  (0.1ms) ROLLBACK
34403
+  (0.1ms) BEGIN
34404
+  (0.1ms) ROLLBACK
34405
+  (0.1ms) BEGIN
34406
+  (0.1ms) ROLLBACK
34407
+  (0.1ms) BEGIN
34408
+  (0.1ms) ROLLBACK
34409
+  (0.1ms) BEGIN
34410
+  (0.1ms) ROLLBACK
34411
+  (0.1ms) BEGIN
34412
+  (0.1ms) ROLLBACK
34413
+  (0.1ms) BEGIN
34414
+  (0.1ms) ROLLBACK
34415
+  (0.1ms) BEGIN
34416
+  (0.1ms) ROLLBACK
34417
+  (0.1ms) BEGIN
34418
+  (0.1ms) ROLLBACK
34419
+  (0.1ms) BEGIN
34420
+  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
34421
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] Performing GoodJob (Job ID: 67f9ca05-b9a5-4e28-a38c-59a36b430ba4) from Async(default) with arguments: "argument"
34422
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (0.1ms) SAVEPOINT active_record_1
34423
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.349841"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:08:17.364898"], ["updated_at", "2018-02-15 22:08:17.364898"]]
34424
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (0.6ms) RELEASE SAVEPOINT active_record_1
34425
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (1.1ms) SAVEPOINT active_record_1
34426
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.370689"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.375403"], ["id", 20]]
34427
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4]  (0.1ms) RELEASE SAVEPOINT active_record_1
34428
+ [ActiveJob] [GoodJob] [67f9ca05-b9a5-4e28-a38c-59a36b430ba4] Performed GoodJob (Job ID: 67f9ca05-b9a5-4e28-a38c-59a36b430ba4) from Async(default) in 27.51ms
34429
+  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
34430
+ 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]]
34431
+  (0.2ms) ROLLBACK
34432
+  (0.1ms) BEGIN
34433
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] Performing BadJob (Job ID: 24eddbc0-5d0a-4a85-8f88-ec80a46b1e63) from Async(default) with arguments: "argument"
34434
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) SAVEPOINT active_record_1
34435
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.383808"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-02-15 22:08:17.384178"], ["updated_at", "2018-02-15 22:08:17.384178"]]
34436
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) RELEASE SAVEPOINT active_record_1
34437
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) SAVEPOINT active_record_1
34438
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:08:17.385844"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:08:17.386117"], ["id", 21]]
34439
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63]  (0.1ms) RELEASE SAVEPOINT active_record_1
34440
+ [ActiveJob] [BadJob] [24eddbc0-5d0a-4a85-8f88-ec80a46b1e63] Error performing BadJob (Job ID: 24eddbc0-5d0a-4a85-8f88-ec80a46b1e63) from Async(default) in 3.99ms: EvilError (EvilError):
34441
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
34442
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
34443
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
34444
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
34445
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
34446
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
34447
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
34448
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
34449
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
34450
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
34451
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
34452
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
34453
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
34454
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
34455
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
34456
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
34457
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
34458
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
34459
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
34460
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
34461
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
34462
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
34463
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
34464
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
34465
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
34466
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
34467
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
34468
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
34469
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
34470
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
34471
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
34472
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
34473
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
34474
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
34475
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
34476
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
34477
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
34478
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
34479
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
34480
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
34481
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
34482
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
34483
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
34484
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
34485
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
34486
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
34487
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
34488
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
34489
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
34490
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
34491
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
34492
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
34493
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
34494
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
34495
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
34496
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
34497
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
34498
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
34499
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
34500
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
34501
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
34502
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
34503
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
34504
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
34505
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
34506
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
34507
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
34508
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
34509
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
34510
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
34511
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'
34512
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'
34513
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'
34514
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
34515
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'
34516
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'
34517
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
34518
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
34519
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
34520
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'
34521
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
34522
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'
34523
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'
34524
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
34525
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'
34526
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'
34527
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'
34528
+ 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]]
34529
+  (0.1ms) ROLLBACK
34530
+  (0.1ms) BEGIN
34531
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] Performing CanvasSync::Jobs::ReportChecker (Job ID: 16f7e499-97f2-4492-b2a8-a1227050580a) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
34532
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) SAVEPOINT active_record_1
34533
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.392971"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.393360"], ["updated_at", "2018-02-15 22:08:17.393360"]]
34534
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) RELEASE SAVEPOINT active_record_1
34535
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) SAVEPOINT active_record_1
34536
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 22]]
34537
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a]  (0.1ms) RELEASE SAVEPOINT active_record_1
34538
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [16f7e499-97f2-4492-b2a8-a1227050580a] Performed CanvasSync::Jobs::ReportChecker (Job ID: 16f7e499-97f2-4492-b2a8-a1227050580a) from Async(default) in 7.31ms
34539
+  (0.1ms) ROLLBACK
34540
+  (0.1ms) BEGIN
34541
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] Performing CanvasSync::Jobs::ReportChecker (Job ID: 7002501f-410b-4bff-b9d9-b7001e416a0d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
34542
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) SAVEPOINT active_record_1
34543
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.403461"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.403795"], ["updated_at", "2018-02-15 22:08:17.403795"]]
34544
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) RELEASE SAVEPOINT active_record_1
34545
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: af0dbcff-3e8c-407c-bada-c0cf9fbd695b) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
34546
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) SAVEPOINT active_record_1
34547
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 23]]
34548
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d]  (0.1ms) RELEASE SAVEPOINT active_record_1
34549
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [7002501f-410b-4bff-b9d9-b7001e416a0d] Performed CanvasSync::Jobs::ReportChecker (Job ID: 7002501f-410b-4bff-b9d9-b7001e416a0d) from Async(default) in 4.99ms
34550
+  (0.1ms) ROLLBACK
34551
+  (0.1ms) BEGIN
34552
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] Performing CanvasSync::Jobs::ReportChecker (Job ID: 43403ae3-6985-4aef-b09a-fc60ba5a0acf) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
34553
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) SAVEPOINT active_record_1
34554
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.411573"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.411881"], ["updated_at", "2018-02-15 22:08:17.411881"]]
34555
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) RELEASE SAVEPOINT active_record_1
34556
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
34557
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) SAVEPOINT active_record_1
34558
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-02-15 22:08:17.414167"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-02-15 22:08:17.414410"], ["id", 24]]
34559
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf]  (0.1ms) RELEASE SAVEPOINT active_record_1
34560
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [43403ae3-6985-4aef-b09a-fc60ba5a0acf] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 43403ae3-6985-4aef-b09a-fc60ba5a0acf) from Async(default) in 4.74ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
34561
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'
34562
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
34563
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
34564
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
34565
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
34566
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
34567
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
34568
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
34569
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
34570
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
34571
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
34572
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
34573
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
34574
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
34575
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
34576
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
34577
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
34578
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
34579
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
34580
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
34581
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
34582
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
34583
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
34584
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
34585
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
34586
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
34587
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
34588
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
34589
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
34590
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
34591
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
34592
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
34593
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
34594
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
34595
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
34596
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
34597
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
34598
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
34599
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
34600
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
34601
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
34602
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
34603
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
34604
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
34605
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
34606
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
34607
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
34608
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
34609
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
34610
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
34611
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
34612
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
34613
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
34614
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
34615
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
34616
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
34617
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
34618
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
34619
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
34620
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
34621
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
34622
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
34623
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
34624
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
34625
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
34626
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
34627
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
34628
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
34629
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
34630
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
34631
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
34632
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
34633
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
34634
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
34635
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'
34636
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'
34637
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `load'
34638
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:74:in `kernel_load'
34639
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli/exec.rb:27:in `run'
34640
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:365:in `exec'
34641
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
34642
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
34643
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor.rb:369:in `dispatch'
34644
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:22:in `dispatch'
34645
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/vendor/thor/lib/thor/base.rb:444:in `start'
34646
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/cli.rb:13:in `start'
34647
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:30:in `block in <top (required)>'
34648
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
34649
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.15.3/exe/bundle:22:in `<top (required)>'
34650
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'
34651
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'
34652
+  (0.1ms) ROLLBACK
34653
+  (0.1ms) BEGIN
34654
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
34655
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) SAVEPOINT active_record_1
34656
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.420425"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.420832"], ["updated_at", "2018-02-15 22:08:17.420832"]]
34657
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) RELEASE SAVEPOINT active_record_1
34658
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) SAVEPOINT active_record_1
34659
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-02-15 22:08:17.422934"], ["id", 25]]
34660
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.2ms) RELEASE SAVEPOINT active_record_1
34661
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.2ms) SAVEPOINT active_record_1
34662
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.451871"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.452414"], ["id", 25]]
34663
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb]  (0.1ms) RELEASE SAVEPOINT active_record_1
34664
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: bbe50fec-cf93-4d85-9c85-b10bcbb9c8bb) from Async(default) in 33.55ms
34665
+  (0.1ms) ROLLBACK
34666
+  (0.1ms) BEGIN
34667
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] Performing CanvasSync::Jobs::ReportStarter (Job ID: 875a82b8-8f41-40cd-a153-990095822425) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
34668
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) SAVEPOINT active_record_1
34669
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.457855"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-02-15 22:08:17.458197"], ["updated_at", "2018-02-15 22:08:17.458197"]]
34670
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) RELEASE SAVEPOINT active_record_1
34671
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 2a21563d-7e8e-4b3d-91da-53514d7800d2) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
34672
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) SAVEPOINT active_record_1
34673
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.460835"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.461148"], ["id", 26]]
34674
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425]  (0.1ms) RELEASE SAVEPOINT active_record_1
34675
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [875a82b8-8f41-40cd-a153-990095822425] Performed CanvasSync::Jobs::ReportStarter (Job ID: 875a82b8-8f41-40cd-a153-990095822425) from Async(default) in 4.74ms
34676
+  (0.1ms) ROLLBACK
34677
+  (0.1ms) BEGIN
34678
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] Performing CanvasSync::Jobs::ReportStarter (Job ID: de360250-cb34-4fc2-a0e3-744bf2c2c53e) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
34679
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) SAVEPOINT active_record_1
34680
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.465960"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:08:17.466326"], ["updated_at", "2018-02-15 22:08:17.466326"]]
34681
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) RELEASE SAVEPOINT active_record_1
34682
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) SAVEPOINT active_record_1
34683
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.468610"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.468904"], ["id", 27]]
34684
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e]  (0.1ms) RELEASE SAVEPOINT active_record_1
34685
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [de360250-cb34-4fc2-a0e3-744bf2c2c53e] Performed CanvasSync::Jobs::ReportStarter (Job ID: de360250-cb34-4fc2-a0e3-744bf2c2c53e) from Async(default) in 4.41ms
34686
+  (0.1ms) ROLLBACK
34687
+  (0.1ms) BEGIN
34688
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] Performing CanvasSync::Jobs::ReportStarter (Job ID: f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
34689
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) SAVEPOINT active_record_1
34690
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.474428"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-02-15 22:08:17.474908"], ["updated_at", "2018-02-15 22:08:17.474908"]]
34691
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) RELEASE SAVEPOINT active_record_1
34692
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) SAVEPOINT active_record_1
34693
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.477539"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.477848"], ["id", 28]]
34694
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e]  (0.1ms) RELEASE SAVEPOINT active_record_1
34695
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e] Performed CanvasSync::Jobs::ReportStarter (Job ID: f7aa2f22-dfb1-4aa0-8a6f-98e4ecdacf1e) from Async(default) in 4.91ms
34696
+  (0.2ms) ROLLBACK
34697
+  (0.1ms) BEGIN
34698
+  (11.9ms) SELECT COUNT(*) FROM "admins"
34699
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: e0f1c90e-35e6-4b99-9114-6a8ad97b1f25) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
34700
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1
34701
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.498775"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.499288"], ["updated_at", "2018-02-15 22:08:17.499288"]]
34702
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1
34703
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34704
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1
34705
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34706
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.515933"], ["updated_at", "2018-02-15 22:08:17.515933"]]
34707
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1
34708
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Load (0.3ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
34709
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1
34710
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
34711
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 3], ["role_name", "Custom Account Role"], ["canvas_role_id", 11], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.519489"], ["updated_at", "2018-02-15 22:08:17.519489"]]
34712
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1
34713
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
34714
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1
34715
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
34716
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 4], ["role_name", "Test"], ["canvas_role_id", 10], ["user_data", "{\"id\":11,\"name\":\"Test Account User\",\"sortable_name\":\"User, Test Account\",\"short_name\":\"Test Account User\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"testaccountuser@example.com\"}"], ["canvas_user_id", 11], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.522748"], ["updated_at", "2018-02-15 22:08:17.522748"]]
34717
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1
34718
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (8, 9, 10))
34719
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) SAVEPOINT active_record_1
34720
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.524810"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.525139"], ["id", 29]]
34721
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25]  (0.1ms) RELEASE SAVEPOINT active_record_1
34722
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [e0f1c90e-35e6-4b99-9114-6a8ad97b1f25] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: e0f1c90e-35e6-4b99-9114-6a8ad97b1f25) from Async(default) in 27.72ms
34723
+  (0.1ms) SELECT COUNT(*) FROM "admins"
34724
+  (0.1ms) ROLLBACK
34725
+  (0.1ms) BEGIN
34726
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 4f05d323-9b32-446f-88ca-5d4b035c5746) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {}
34727
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) SAVEPOINT active_record_1
34728
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.533719"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.534200"], ["updated_at", "2018-02-15 22:08:17.534200"]]
34729
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) RELEASE SAVEPOINT active_record_1
34730
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1e513f32-0661-4fde-a6ae-e0206f1763ce) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
34731
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) SAVEPOINT active_record_1
34732
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.537177"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.537528"], ["id", 30]]
34733
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746]  (0.1ms) RELEASE SAVEPOINT active_record_1
34734
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [4f05d323-9b32-446f-88ca-5d4b035c5746] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 4f05d323-9b32-446f-88ca-5d4b035c5746) from Async(default) in 5.22ms
34735
+  (0.1ms) ROLLBACK
34736
+  (0.1ms) BEGIN
34737
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: be416dbc-1496-4895-962c-937a7ff05d1a) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {}
34738
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) SAVEPOINT active_record_1
34739
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.543156"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.543582"], ["updated_at", "2018-02-15 22:08:17.543582"]]
34740
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) RELEASE SAVEPOINT active_record_1
34741
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 5ae10e0c-b613-489f-bfe3-7b3db44decf6) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
34742
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) SAVEPOINT active_record_1
34743
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.546769"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.547165"], ["id", 31]]
34744
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a]  (0.1ms) RELEASE SAVEPOINT active_record_1
34745
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [be416dbc-1496-4895-962c-937a7ff05d1a] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: be416dbc-1496-4895-962c-937a7ff05d1a) from Async(default) in 5.6ms
34746
+  (0.2ms) ROLLBACK
34747
+  (0.1ms) BEGIN
34748
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d7050328-d563-4b2d-8f91-e1c4a32dac99) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
34749
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) SAVEPOINT active_record_1
34750
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.553168"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.553598"], ["updated_at", "2018-02-15 22:08:17.553598"]]
34751
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) RELEASE SAVEPOINT active_record_1
34752
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: a601282a-d714-4faf-93dd-a9688b6ee811) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
34753
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) SAVEPOINT active_record_1
34754
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.558056"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.558379"], ["id", 32]]
34755
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99]  (0.1ms) RELEASE SAVEPOINT active_record_1
34756
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d7050328-d563-4b2d-8f91-e1c4a32dac99] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d7050328-d563-4b2d-8f91-e1c4a32dac99) from Async(default) in 6.63ms
34757
+  (0.1ms) ROLLBACK
34758
+  (0.1ms) BEGIN
34759
+  (0.1ms) SAVEPOINT active_record_1
34760
+ Term Exists (3.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 44858434], ["LIMIT", 1]]
34761
+ SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 44858434], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "832c41a23555b5478b8a99c46b2ca646"], ["created_at", "2018-02-15 22:08:17.586932"], ["updated_at", "2018-02-15 22:08:17.586932"]]
34762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34763
+  (0.1ms) SAVEPOINT active_record_1
34764
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7161498], ["LIMIT", 1]]
34765
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7161498], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "1703aa5389de797520681701da7b79e5"], ["created_at", "2018-02-15 22:08:17.589318"], ["updated_at", "2018-02-15 22:08:17.589318"]]
34766
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34767
+  (0.1ms) SAVEPOINT active_record_1
34768
+ Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 25148181], ["LIMIT", 1]]
34769
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 25148181], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "inactive"], ["sis_id", "2e67312b2942b5bb4f340f87439715f9"], ["created_at", "2018-02-15 22:08:17.591255"], ["updated_at", "2018-02-15 22:08:17.591255"]]
34770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34771
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2bed5db6-a5f1-4400-9533-69234e3cdf76) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
34772
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) SAVEPOINT active_record_1
34773
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] SQL (0.1ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.592703"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-02-15 22:08:17.593059"], ["updated_at", "2018-02-15 22:08:17.593059"]]
34774
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) RELEASE SAVEPOINT active_record_1
34775
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] Term Load (0.4ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:08:17.595068' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:08:17.595248' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
34776
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) SAVEPOINT active_record_1
34777
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.596514"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.596808"], ["id", 33]]
34778
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76]  (0.1ms) RELEASE SAVEPOINT active_record_1
34779
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [2bed5db6-a5f1-4400-9533-69234e3cdf76] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 2bed5db6-a5f1-4400-9533-69234e3cdf76) from Async(default) in 5.5ms
34780
+  (0.2ms) ROLLBACK
34781
+  (0.1ms) BEGIN
34782
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: bd2ef532-05ec-4c59-9abd-02e8c9874680) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
34783
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) SAVEPOINT active_record_1
34784
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.602107"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-02-15 22:08:17.602542"], ["updated_at", "2018-02-15 22:08:17.602542"]]
34785
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) RELEASE SAVEPOINT active_record_1
34786
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) SAVEPOINT active_record_1
34787
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.605205"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.605509"], ["id", 34]]
34788
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680]  (0.1ms) RELEASE SAVEPOINT active_record_1
34789
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bd2ef532-05ec-4c59-9abd-02e8c9874680] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: bd2ef532-05ec-4c59-9abd-02e8c9874680) from Async(default) in 5.83ms
34790
+  (0.1ms) ROLLBACK
34791
+  (0.1ms) BEGIN
34792
+  (2.2ms) SELECT COUNT(*) FROM "roles"
34793
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 4b3ca27f-bbb7-40ef-865e-eff28ccbd977) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
34794
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1
34795
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.620581"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.620990"], ["updated_at", "2018-02-15 22:08:17.620990"]]
34796
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) RELEASE SAVEPOINT active_record_1
34797
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
34798
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1
34799
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
34800
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:08:17.665714"], ["updated_at", "2018-02-15 22:08:17.665714"]]
34801
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.2ms) RELEASE SAVEPOINT active_record_1
34802
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
34803
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1
34804
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
34805
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-02-15 22:08:17.686273"], ["updated_at", "2018-02-15 22:08:17.686273"]]
34806
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) RELEASE SAVEPOINT active_record_1
34807
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (7, 8))
34808
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) SAVEPOINT active_record_1
34809
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.691214"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.691559"], ["id", 35]]
34810
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977]  (0.1ms) RELEASE SAVEPOINT active_record_1
34811
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [4b3ca27f-bbb7-40ef-865e-eff28ccbd977] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 4b3ca27f-bbb7-40ef-865e-eff28ccbd977) from Async(default) in 72.41ms
34812
+  (0.2ms) SELECT COUNT(*) FROM "roles"
34813
+  (0.1ms) ROLLBACK
34814
+  (0.1ms) BEGIN
34815
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e6677000-c5b6-43d8-adaa-3eee897482cb) from Async(default) with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, {}
34816
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) SAVEPOINT active_record_1
34817
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.697534"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.697975"], ["updated_at", "2018-02-15 22:08:17.697975"]]
34818
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) RELEASE SAVEPOINT active_record_1
34819
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8d43d1ca-7add-4152-8b14-70d7d3207c48) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{:term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
34820
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) SAVEPOINT active_record_1
34821
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.700650"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.700908"], ["id", 36]]
34822
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb]  (0.1ms) RELEASE SAVEPOINT active_record_1
34823
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [e6677000-c5b6-43d8-adaa-3eee897482cb] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: e6677000-c5b6-43d8-adaa-3eee897482cb) from Async(default) in 4.73ms
34824
+  (0.1ms) ROLLBACK
34825
+  (0.1ms) BEGIN
34826
+  (0.3ms) SELECT COUNT(*) FROM "terms"
34827
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 60bf1a43-e2a1-4f94-b08d-6e0b9902da13) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
34828
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34829
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.708322"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.708734"], ["updated_at", "2018-02-15 22:08:17.708734"]]
34830
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34831
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
34832
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34833
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
34834
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:08:17.715787"], ["updated_at", "2018-02-15 22:08:17.715787"]]
34835
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34836
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
34837
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34838
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
34839
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.718196"], ["updated_at", "2018-02-15 22:08:17.718196"]]
34840
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.2ms) RELEASE SAVEPOINT active_record_1
34841
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
34842
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34843
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
34844
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.721890"], ["updated_at", "2018-02-15 22:08:17.721890"]]
34845
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34846
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
34847
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34848
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
34849
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-02-15 22:08:17.725325"], ["updated_at", "2018-02-15 22:08:17.725325"]]
34850
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34851
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
34852
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34853
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.5ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
34854
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.4ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2018-02-15 22:08:17.730003"], ["updated_at", "2018-02-15 22:08:17.730003"]]
34855
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34856
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
34857
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34858
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
34859
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.739158"], ["updated_at", "2018-02-15 22:08:17.739158"]]
34860
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34861
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) SAVEPOINT active_record_1
34862
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.740269"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.740662"], ["id", 37]]
34863
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13]  (0.1ms) RELEASE SAVEPOINT active_record_1
34864
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [60bf1a43-e2a1-4f94-b08d-6e0b9902da13] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 60bf1a43-e2a1-4f94-b08d-6e0b9902da13) from Async(default) in 33.82ms
34865
+  (0.2ms) SELECT COUNT(*) FROM "terms"
34866
+  (0.1ms) ROLLBACK
34867
+  (0.1ms) BEGIN
34868
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 72b31fa1-506e-429c-9789-2b76353de7ff) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
34869
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) SAVEPOINT active_record_1
34870
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-02-15 22:08:17.746771"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-02-15 22:08:17.747156"], ["updated_at", "2018-02-15 22:08:17.747156"]]
34871
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) RELEASE SAVEPOINT active_record_1
34872
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 39176b51-5826-4df5-ba18-1ceb5aa1f87f) to Async(default) at 2018-02-15 22:08:47 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
34873
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) SAVEPOINT active_record_1
34874
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-02-15 22:08:17.751053"], ["status", "success"], ["updated_at", "2018-02-15 22:08:17.751413"], ["id", 38]]
34875
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff]  (0.1ms) RELEASE SAVEPOINT active_record_1
34876
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [72b31fa1-506e-429c-9789-2b76353de7ff] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 72b31fa1-506e-429c-9789-2b76353de7ff) from Async(default) in 6.12ms
34877
+  (0.1ms) ROLLBACK
34878
+  (0.1ms) BEGIN
34879
+  (0.1ms) SAVEPOINT active_record_1
34880
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 48633818], ["LIMIT", 1]]
34881
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 48633818], ["role_name", "Cool Role"], ["canvas_role_id", 17881240], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.756632"], ["updated_at", "2018-02-15 22:08:17.756632"]]
34882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34883
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 11], ["LIMIT", 1]]
34884
+  (0.1ms) ROLLBACK
34885
+  (0.1ms) BEGIN
34886
+  (0.2ms) SAVEPOINT active_record_1
34887
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 15469943], ["LIMIT", 1]]
34888
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 15469943], ["role_name", "Cool Role"], ["canvas_role_id", 18613652], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.765381"], ["updated_at", "2018-02-15 22:08:17.765381"]]
34889
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34890
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]]
34891
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 15469943], ["LIMIT", 1]]
34892
+  (0.1ms) ROLLBACK
34893
+  (0.1ms) BEGIN
34894
+  (0.2ms) SELECT COUNT(*) FROM "admins"
34895
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34896
+  (0.1ms) SAVEPOINT active_record_1
34897
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34898
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.773755"], ["updated_at", "2018-02-15 22:08:17.773755"]]
34899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34900
+  (0.1ms) SELECT COUNT(*) FROM "admins"
34901
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]
34902
+  (0.1ms) ROLLBACK
34903
+  (0.1ms) BEGIN
34904
+  (0.1ms) SAVEPOINT active_record_1
34905
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34906
+ SQL (0.2ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 16745416], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:17.780347"], ["updated_at", "2018-02-15 22:08:17.780347"]]
34907
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34908
+  (0.2ms) SELECT COUNT(*) FROM "admins"
34909
+ Admin Load (2.6ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
34910
+  (0.2ms) SAVEPOINT active_record_1
34911
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_admin_id", 2], ["id", 14], ["LIMIT", 1]]
34912
+ SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-02-15 22:08:17.790834"], ["id", 14]]
34913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34914
+  (0.2ms) SELECT COUNT(*) FROM "admins"
34915
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 14], ["LIMIT", 1]]
34916
+  (0.1ms) ROLLBACK
34917
+  (0.1ms) BEGIN
34918
+  (0.1ms) SAVEPOINT active_record_1
34919
+ AssignmentGroup Exists (2.8ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 1], ["LIMIT", 1]]
34920
+ SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.809355"], ["canvas_updated_at", "2018-02-14 22:08:17.809446"], ["created_at", "2018-02-15 22:08:17.813338"], ["updated_at", "2018-02-15 22:08:17.813338"]]
34921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34922
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 7], ["LIMIT", 1]]
34923
+  (0.1ms) ROLLBACK
34924
+  (0.1ms) BEGIN
34925
+  (0.1ms) SAVEPOINT active_record_1
34926
+ 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]]
34927
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.819253"], ["canvas_updated_at", "2018-02-14 22:08:17.819330"], ["created_at", "2018-02-15 22:08:17.820169"], ["updated_at", "2018-02-15 22:08:17.820169"]]
34928
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34929
+ AssignmentGroup Load (0.1ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
34930
+ AssignmentGroup Exists (0.1ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 2], ["LIMIT", 1]]
34931
+  (0.1ms) ROLLBACK
34932
+  (0.1ms) BEGIN
34933
+  (0.1ms) SAVEPOINT active_record_1
34934
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 3], ["LIMIT", 1]]
34935
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.825639"], ["canvas_updated_at", "2018-02-14 22:08:17.825702"], ["created_at", "2018-02-15 22:08:17.826488"], ["updated_at", "2018-02-15 22:08:17.826488"]]
34936
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34937
+  (0.1ms) ROLLBACK
34938
+  (0.1ms) BEGIN
34939
+  (0.1ms) SAVEPOINT active_record_1
34940
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]]
34941
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-02-08 22:08:17.830804"], ["canvas_updated_at", "2018-02-14 22:08:17.830926"], ["created_at", "2018-02-15 22:08:17.831917"], ["updated_at", "2018-02-15 22:08:17.831917"]]
34942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34943
+  (0.1ms) ROLLBACK
34944
+  (0.1ms) BEGIN
34945
+  (0.1ms) SAVEPOINT active_record_1
34946
+ Assignment Exists (4.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
34947
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-02-22 22:08:17.860970"], ["unlock_at", "2018-02-14 22:08:17.861088"], ["lock_at", "2018-03-08 22:08:17.861133"], ["created_at", "2018-02-15 22:08:17.866922"], ["updated_at", "2018-02-15 22:08:17.866922"]]
34948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34949
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]
34950
+  (0.1ms) ROLLBACK
34951
+  (0.2ms) BEGIN
34952
+  (0.1ms) SAVEPOINT active_record_1
34953
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
34954
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 2], ["title", "Assignment 2"], ["due_at", "2018-02-22 22:08:17.873312"], ["unlock_at", "2018-02-14 22:08:17.873442"], ["lock_at", "2018-03-08 22:08:17.873484"], ["created_at", "2018-02-15 22:08:17.874630"], ["updated_at", "2018-02-15 22:08:17.874630"]]
34955
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34956
+ Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]]
34957
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
34958
+  (0.1ms) ROLLBACK
34959
+  (0.1ms) BEGIN
34960
+  (0.1ms) SAVEPOINT active_record_1
34961
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]]
34962
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-02-22 22:08:17.881770"], ["unlock_at", "2018-02-14 22:08:17.881896"], ["lock_at", "2018-03-08 22:08:17.881983"], ["created_at", "2018-02-15 22:08:17.882972"], ["updated_at", "2018-02-15 22:08:17.882972"]]
34963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34964
+  (0.1ms) ROLLBACK
34965
+  (0.1ms) BEGIN
34966
+  (0.1ms) SAVEPOINT active_record_1
34967
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]]
34968
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 4], ["title", "Assignment 4"], ["due_at", "2018-02-22 22:08:17.897759"], ["unlock_at", "2018-02-14 22:08:17.897868"], ["lock_at", "2018-03-08 22:08:17.897909"], ["created_at", "2018-02-15 22:08:17.899144"], ["updated_at", "2018-02-15 22:08:17.899144"]]
34969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34970
+  (0.2ms) ROLLBACK
34971
+  (0.1ms) BEGIN
34972
+  (0.1ms) SAVEPOINT active_record_1
34973
+ Course Exists (4.0ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37395867], ["LIMIT", 1]]
34974
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37395867], ["sis_id", "b1d1018ab3dc726f05bc6b3a16b2a343"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.917199"], ["end_date", "2018-03-08 22:08:17.917287"], ["created_at", "2018-02-15 22:08:17.922737"], ["updated_at", "2018-02-15 22:08:17.922737"]]
34975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34976
+  (0.1ms) SAVEPOINT active_record_1
34977
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6057878], ["LIMIT", 1]]
34978
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 6057878], ["sis_id", "40ed8e507d53bbe991a76238153cc34b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.924544"], ["end_date", "2018-03-08 22:08:17.924612"], ["created_at", "2018-02-15 22:08:17.925488"], ["updated_at", "2018-02-15 22:08:17.925488"]]
34979
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34980
+  (0.1ms) SAVEPOINT active_record_1
34981
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]]
34982
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-02-22 22:08:17.926657"], ["unlock_at", "2018-02-14 22:08:17.926714"], ["lock_at", "2018-03-08 22:08:17.926754"], ["created_at", "2018-02-15 22:08:17.927597"], ["updated_at", "2018-02-15 22:08:17.927597"]]
34983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34984
+  (0.1ms) SAVEPOINT active_record_1
34985
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 5], ["id", 12], ["LIMIT", 1]]
34986
+ SQL (0.2ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 6057878], ["context_type", "Course"], ["updated_at", "2018-02-15 22:08:17.929842"], ["id", 12]]
34987
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34988
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 6057878], ["LIMIT", 1]]
34989
+  (0.1ms) ROLLBACK
34990
+  (0.1ms) BEGIN
34991
+  (0.1ms) SAVEPOINT active_record_1
34992
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 10549549], ["LIMIT", 1]]
34993
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 10549549], ["sis_id", "a1237f4544063c68c62638d3b1841207"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.951825"], ["end_date", "2018-03-08 22:08:17.951937"], ["created_at", "2018-02-15 22:08:17.953263"], ["updated_at", "2018-02-15 22:08:17.953263"]]
34994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
34995
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 17], ["LIMIT", 1]]
34996
+  (0.1ms) ROLLBACK
34997
+  (0.1ms) BEGIN
34998
+  (0.1ms) SAVEPOINT active_record_1
34999
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65130931], ["LIMIT", 1]]
35000
+ SQL (1.3ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 65130931], ["sis_id", "979b9634054fe99c6571f2f9be193db2"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.959067"], ["end_date", "2018-03-08 22:08:17.959145"], ["created_at", "2018-02-15 22:08:17.960030"], ["updated_at", "2018-02-15 22:08:17.960030"]]
35001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35002
+ Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
35003
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 65130931], ["LIMIT", 1]]
35004
+  (0.1ms) ROLLBACK
35005
+  (0.1ms) BEGIN
35006
+  (0.1ms) SAVEPOINT active_record_1
35007
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 50766270], ["LIMIT", 1]]
35008
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 50766270], ["sis_id", "f4783e1b489f526ecd04923cd92a0914"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.967429"], ["end_date", "2018-03-08 22:08:17.967502"], ["created_at", "2018-02-15 22:08:17.968518"], ["updated_at", "2018-02-15 22:08:17.968518"]]
35009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35010
+  (0.1ms) ROLLBACK
35011
+  (0.1ms) BEGIN
35012
+  (0.1ms) SAVEPOINT active_record_1
35013
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 1238611], ["LIMIT", 1]]
35014
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 1238611], ["sis_id", "3fa581fcafd142a60e4e053d4f12e24e"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.972616"], ["end_date", "2018-03-08 22:08:17.972682"], ["created_at", "2018-02-15 22:08:17.973564"], ["updated_at", "2018-02-15 22:08:17.973564"]]
35015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35016
+  (0.1ms) ROLLBACK
35017
+  (0.1ms) BEGIN
35018
+  (0.1ms) SAVEPOINT active_record_1
35019
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 21727173], ["LIMIT", 1]]
35020
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 21727173], ["sis_id", "1a45b0383bba641a273585ac6b4fc0d7"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.977310"], ["end_date", "2018-03-08 22:08:17.977374"], ["created_at", "2018-02-15 22:08:17.978153"], ["updated_at", "2018-02-15 22:08:17.978153"]]
35021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35022
+  (0.1ms) ROLLBACK
35023
+  (0.1ms) BEGIN
35024
+  (0.1ms) SAVEPOINT active_record_1
35025
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 37352624], ["LIMIT", 1]]
35026
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 37352624], ["sis_id", "f7f28c47bc025322464f1e0e06d77942"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.981513"], ["end_date", "2018-03-08 22:08:17.981574"], ["created_at", "2018-02-15 22:08:17.982367"], ["updated_at", "2018-02-15 22:08:17.982367"]]
35027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35028
+  (0.1ms) ROLLBACK
35029
+  (0.1ms) BEGIN
35030
+  (0.1ms) SAVEPOINT active_record_1
35031
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 77916622], ["LIMIT", 1]]
35032
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 77916622], ["sis_id", "4e80e51c45cd1db2579c43bfa3787c60"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.985846"], ["end_date", "2018-03-08 22:08:17.985908"], ["created_at", "2018-02-15 22:08:17.986803"], ["updated_at", "2018-02-15 22:08:17.986803"]]
35033
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35034
+  (0.1ms) ROLLBACK
35035
+  (0.1ms) BEGIN
35036
+  (0.1ms) SAVEPOINT active_record_1
35037
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 60600401], ["LIMIT", 1]]
35038
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 60600401], ["sis_id", "79666f22a6245084bdcc20c901db9425"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-02-12 22:08:17.990658"], ["end_date", "2018-03-08 22:08:17.990754"], ["created_at", "2018-02-15 22:08:17.991695"], ["updated_at", "2018-02-15 22:08:17.991695"]]
35039
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35040
+  (0.1ms) ROLLBACK
35041
+  (0.1ms) BEGIN
35042
+  (0.1ms) SAVEPOINT active_record_1
35043
+ Enrollment Exists (4.4ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 38388886], ["LIMIT", 1]]
35044
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 38388886], ["created_at", "2018-02-15 22:08:18.024544"], ["updated_at", "2018-02-15 22:08:18.024544"]]
35045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35046
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]
35047
+  (0.1ms) ROLLBACK
35048
+  (0.1ms) BEGIN
35049
+  (0.1ms) SAVEPOINT active_record_1
35050
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99775346], ["LIMIT", 1]]
35051
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 99775346], ["created_at", "2018-02-15 22:08:18.030675"], ["updated_at", "2018-02-15 22:08:18.030675"]]
35052
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35053
+ Enrollment Load (0.1ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]]
35054
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 99775346], ["LIMIT", 1]]
35055
+  (0.2ms) ROLLBACK
35056
+  (0.1ms) BEGIN
35057
+  (0.1ms) SAVEPOINT active_record_1
35058
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 87558714], ["LIMIT", 1]]
35059
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 87558714], ["created_at", "2018-02-15 22:08:18.037865"], ["updated_at", "2018-02-15 22:08:18.037865"]]
35060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35061
+  (0.1ms) ROLLBACK
35062
+  (0.1ms) BEGIN
35063
+  (0.1ms) SAVEPOINT active_record_1
35064
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 72012157], ["LIMIT", 1]]
35065
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 72012157], ["created_at", "2018-02-15 22:08:18.043003"], ["updated_at", "2018-02-15 22:08:18.043003"]]
35066
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35067
+  (0.1ms) ROLLBACK
35068
+  (0.1ms) BEGIN
35069
+  (0.1ms) SAVEPOINT active_record_1
35070
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 76511231], ["LIMIT", 1]]
35071
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 76511231], ["created_at", "2018-02-15 22:08:18.048009"], ["updated_at", "2018-02-15 22:08:18.048009"]]
35072
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35073
+  (0.2ms) ROLLBACK
35074
+  (0.1ms) BEGIN
35075
+  (0.1ms) SAVEPOINT active_record_1
35076
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 38463545], ["LIMIT", 1]]
35077
+ SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 38463545], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:18.059691"], ["updated_at", "2018-02-15 22:08:18.059691"]]
35078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35079
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]
35080
+  (0.7ms) ROLLBACK
35081
+  (0.1ms) BEGIN
35082
+  (0.1ms) SAVEPOINT active_record_1
35083
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 62953604], ["LIMIT", 1]]
35084
+ SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 62953604], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:18.074132"], ["updated_at", "2018-02-15 22:08:18.074132"]]
35085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35086
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]]
35087
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 62953604], ["LIMIT", 1]]
35088
+  (0.1ms) ROLLBACK
35089
+  (0.1ms) BEGIN
35090
+  (0.3ms) SELECT COUNT(*) FROM "roles"
35091
+ Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
35092
+  (0.1ms) SAVEPOINT active_record_1
35093
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
35094
+ SQL (0.3ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-02-15 22:08:18.087086"], ["updated_at", "2018-02-15 22:08:18.087086"]]
35095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35096
+  (0.1ms) SELECT COUNT(*) FROM "roles"
35097
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]
35098
+  (0.1ms) ROLLBACK
35099
+  (0.1ms) BEGIN
35100
+  (0.1ms) SAVEPOINT active_record_1
35101
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
35102
+ SQL (0.2ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-02-15 22:08:18.096714"], ["updated_at", "2018-02-15 22:08:18.096714"]]
35103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35104
+  (0.2ms) SELECT COUNT(*) FROM "roles"
35105
+ Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
35106
+  (0.1ms) SAVEPOINT active_record_1
35107
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 12], ["LIMIT", 1]]
35108
+ SQL (0.3ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-02-15 22:08:18.101398"], ["id", 12]]
35109
+  (0.9ms) RELEASE SAVEPOINT active_record_1
35110
+  (2.1ms) SELECT COUNT(*) FROM "roles"
35111
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]
35112
+  (0.2ms) ROLLBACK
35113
+  (0.1ms) BEGIN
35114
+  (0.1ms) SAVEPOINT active_record_1
35115
+ Section Exists (4.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 64598336], ["LIMIT", 1]]
35116
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 64598336], ["created_at", "2018-02-15 22:08:18.136909"], ["updated_at", "2018-02-15 22:08:18.136909"]]
35117
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35118
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]
35119
+  (0.1ms) ROLLBACK
35120
+  (0.1ms) BEGIN
35121
+  (0.1ms) SAVEPOINT active_record_1
35122
+ Section Exists (0.1ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73132630], ["LIMIT", 1]]
35123
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 73132630], ["created_at", "2018-02-15 22:08:18.143586"], ["updated_at", "2018-02-15 22:08:18.143586"]]
35124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35125
+ Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
35126
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 73132630], ["LIMIT", 1]]
35127
+  (0.1ms) ROLLBACK
35128
+  (0.1ms) BEGIN
35129
+  (0.1ms) SAVEPOINT active_record_1
35130
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 24804280], ["LIMIT", 1]]
35131
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 24804280], ["created_at", "2018-02-15 22:08:18.150279"], ["updated_at", "2018-02-15 22:08:18.150279"]]
35132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35133
+  (0.1ms) ROLLBACK
35134
+  (0.1ms) BEGIN
35135
+  (0.1ms) SAVEPOINT active_record_1
35136
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 5660518], ["LIMIT", 1]]
35137
+ SQL (0.2ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 5660518], ["created_at", "2018-02-15 22:08:18.162757"], ["updated_at", "2018-02-15 22:08:18.162757"]]
35138
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35139
+  (0.2ms) ROLLBACK
35140
+  (0.1ms) BEGIN
35141
+  (0.1ms) SAVEPOINT active_record_1
35142
+ Submission Exists (5.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]]
35143
+ SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 1], ["submitted_at", "2018-02-08 22:08:18.176413"], ["graded_at", "2018-02-14 22:08:18.176550"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.182873"], ["updated_at", "2018-02-15 22:08:18.182873"]]
35144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35145
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 8], ["LIMIT", 1]]
35146
+  (0.1ms) ROLLBACK
35147
+  (0.1ms) BEGIN
35148
+  (0.1ms) SAVEPOINT active_record_1
35149
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
35150
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-02-08 22:08:18.188438"], ["graded_at", "2018-02-14 22:08:18.188512"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.189333"], ["updated_at", "2018-02-15 22:08:18.189333"]]
35151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35152
+ Submission Load (0.1ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]]
35153
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
35154
+  (0.1ms) ROLLBACK
35155
+  (0.1ms) BEGIN
35156
+  (0.1ms) SAVEPOINT active_record_1
35157
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]]
35158
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 3], ["submitted_at", "2018-02-08 22:08:18.195038"], ["graded_at", "2018-02-14 22:08:18.195105"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.195901"], ["updated_at", "2018-02-15 22:08:18.195901"]]
35159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35160
+  (0.1ms) ROLLBACK
35161
+  (0.1ms) BEGIN
35162
+  (0.1ms) SAVEPOINT active_record_1
35163
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]]
35164
+ SQL (0.2ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 4], ["submitted_at", "2018-02-08 22:08:18.199555"], ["graded_at", "2018-02-14 22:08:18.199631"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.200517"], ["updated_at", "2018-02-15 22:08:18.200517"]]
35165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35166
+  (0.1ms) ROLLBACK
35167
+  (0.1ms) BEGIN
35168
+  (0.1ms) SAVEPOINT active_record_1
35169
+ Submission Exists (1.6ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]]
35170
+ SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 5], ["submitted_at", "2018-02-08 22:08:18.204803"], ["graded_at", "2018-02-14 22:08:18.204892"], ["score", 5], ["points_possible", 10], ["created_at", "2018-02-15 22:08:18.213097"], ["updated_at", "2018-02-15 22:08:18.213097"]]
35171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35172
+  (0.2ms) ROLLBACK
35173
+  (0.1ms) BEGIN
35174
+  (0.1ms) SAVEPOINT active_record_1
35175
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 42747932], ["LIMIT", 1]]
35176
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 42747932], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "50b7d154b493704fd490a7276cd87d4e"], ["created_at", "2018-02-15 22:08:18.219920"], ["updated_at", "2018-02-15 22:08:18.219920"]]
35177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35178
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 28], ["LIMIT", 1]]
35179
+  (0.2ms) ROLLBACK
35180
+  (0.1ms) BEGIN
35181
+  (0.1ms) SAVEPOINT active_record_1
35182
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7744036], ["LIMIT", 1]]
35183
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 7744036], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "1b0be6c45b090aafd10c2bed2111b758"], ["created_at", "2018-02-15 22:08:18.227864"], ["updated_at", "2018-02-15 22:08:18.227864"]]
35184
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35185
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]]
35186
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7744036], ["LIMIT", 1]]
35187
+  (0.1ms) ROLLBACK
35188
+  (0.1ms) BEGIN
35189
+  (0.1ms) SAVEPOINT active_record_1
35190
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 57735157], ["LIMIT", 1]]
35191
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 57735157], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "d39e2a27cb2746ef912fadaf44833067"], ["created_at", "2018-02-15 22:08:18.234868"], ["updated_at", "2018-02-15 22:08:18.234868"]]
35192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35193
+  (0.1ms) ROLLBACK
35194
+  (0.1ms) BEGIN
35195
+  (0.1ms) SAVEPOINT active_record_1
35196
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 68955391], ["LIMIT", 1]]
35197
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 68955391], ["name", "Cool Term"], ["start_at", "2018-02-13 22:08:18.238664"], ["end_at", "2018-02-18 22:08:18.238732"], ["workflow_state", "active"], ["sis_id", "fbebaa9be8992d62ac6109a9fe1fde75"], ["created_at", "2018-02-15 22:08:18.239911"], ["updated_at", "2018-02-15 22:08:18.239911"]]
35198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35199
+  (0.1ms) SAVEPOINT active_record_1
35200
+ Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 35323592], ["LIMIT", 1]]
35201
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 35323592], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "inactive"], ["sis_id", "5b1bb8a909aa8987986afe494a26386c"], ["created_at", "2018-02-15 22:08:18.241591"], ["updated_at", "2018-02-15 22:08:18.241591"]]
35202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35203
+  (0.1ms) SAVEPOINT active_record_1
35204
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 94692810], ["LIMIT", 1]]
35205
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 94692810], ["name", "Cool Term"], ["start_at", "2017-12-15 22:08:18.242486"], ["end_at", "2018-01-15 22:08:18.242538"], ["workflow_state", "active"], ["sis_id", "87d89bcb08d43fca68f77b8ebb949666"], ["created_at", "2018-02-15 22:08:18.243426"], ["updated_at", "2018-02-15 22:08:18.243426"]]
35206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35207
+  (0.1ms) SAVEPOINT active_record_1
35208
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38781348], ["LIMIT", 1]]
35209
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38781348], ["name", "Cool Term"], ["start_at", "2018-08-15 22:08:18.244368"], ["end_at", "2019-02-15 22:08:18.244423"], ["workflow_state", "active"], ["sis_id", "864a6c7b31ff8f4579d72d007b4347ef"], ["created_at", "2018-02-15 22:08:18.245645"], ["updated_at", "2018-02-15 22:08:18.245645"]]
35210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35211
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-03-02 22:08:18.246854' OR start_at IS NULL) AND (end_at >= '2018-01-31 22:08:18.246986' OR end_at IS NULL) [["workflow_state", "active"]]
35212
+  (0.1ms) ROLLBACK
35213
+  (1.4ms) BEGIN
35214
+  (0.3ms) SELECT COUNT(*) FROM "terms"
35215
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
35216
+  (0.2ms) SAVEPOINT active_record_1
35217
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
35218
+ SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-02-15 22:08:18.260990"], ["updated_at", "2018-02-15 22:08:18.260990"]]
35219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35220
+  (0.2ms) SELECT COUNT(*) FROM "terms"
35221
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]
35222
+  (0.1ms) ROLLBACK
35223
+  (0.1ms) BEGIN
35224
+  (0.1ms) SAVEPOINT active_record_1
35225
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
35226
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2018-02-12 22:08:16.418965"], ["end_at", "2018-02-18 22:08:16.419132"], ["workflow_state", "active"], ["sis_id", "c6ddca35518ffedd79a3f610d0e55090"], ["created_at", "2018-02-15 22:08:18.267996"], ["updated_at", "2018-02-15 22:08:18.267996"]]
35227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35228
+  (0.2ms) SELECT COUNT(*) FROM "terms"
35229
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
35230
+  (0.1ms) SAVEPOINT active_record_1
35231
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_term_id", 1], ["id", 36], ["LIMIT", 1]]
35232
+ SQL (0.3ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2018-02-15 22:08:18.272482"], ["id", 36]]
35233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35234
+  (0.2ms) SELECT COUNT(*) FROM "terms"
35235
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 36], ["LIMIT", 1]]
35236
+  (0.1ms) ROLLBACK
35237
+  (0.1ms) BEGIN
35238
+  (0.1ms) SAVEPOINT active_record_1
35239
+ User Exists (1.8ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 15316243], ["LIMIT", 1]]
35240
+ SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 15316243], ["sis_id", "56fadbf3566418d0310c68d9f2d199fa"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.291497"], ["updated_at", "2018-02-15 22:08:18.291497"]]
35241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35242
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 9], ["LIMIT", 1]]
35243
+  (0.1ms) ROLLBACK
35244
+  (0.1ms) BEGIN
35245
+  (0.1ms) SAVEPOINT active_record_1
35246
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 53149050], ["LIMIT", 1]]
35247
+ SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 53149050], ["sis_id", "aa0b010f97b7d64dc786f0eaa1d90b83"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.298494"], ["updated_at", "2018-02-15 22:08:18.298494"]]
35248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35249
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
35250
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 53149050], ["LIMIT", 1]]
35251
+  (0.1ms) ROLLBACK
35252
+  (0.1ms) BEGIN
35253
+  (0.1ms) SAVEPOINT active_record_1
35254
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 88960990], ["LIMIT", 1]]
35255
+ SQL (0.3ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 88960990], ["sis_id", "1236abd56495fa12d91f67250e6592ff"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.315229"], ["updated_at", "2018-02-15 22:08:18.315229"]]
35256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35257
+  (0.1ms) ROLLBACK
35258
+  (0.1ms) BEGIN
35259
+  (0.1ms) SAVEPOINT active_record_1
35260
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 65021385], ["LIMIT", 1]]
35261
+ SQL (0.2ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 65021385], ["sis_id", "b0bf02d77e4deb1bbc047abe5d528036"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-02-15 22:08:18.320523"], ["updated_at", "2018-02-15 22:08:18.320523"]]
35262
+  (0.2ms) RELEASE SAVEPOINT active_record_1
35263
+  (0.1ms) ROLLBACK
35264
+  (0.1ms) BEGIN
35265
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
35266
+ AssignmentGroup Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","default_assignment_name","position","assignment_weighting_scheme","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n','Assignment',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:08:18.329403','2018-02-15 22:08:18.329403'),(2,1,'Tests',NULL,'Test',1,NULL,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-02-15 22:08:18.329403','2018-02-15 22:08:18.329403') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","default_assignment_name"=EXCLUDED."default_assignment_name","position"=EXCLUDED."position","assignment_weighting_scheme"=EXCLUDED."assignment_weighting_scheme","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".default_assignment_name, "assignment_groups".position, "assignment_groups".assignment_weighting_scheme, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.default_assignment_name, EXCLUDED.position, EXCLUDED.assignment_weighting_scheme, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"
35267
+  (0.2ms) SELECT COUNT(*) FROM "assignment_groups"
35268
+  (0.1ms) ROLLBACK
35269
+  (0.1ms) BEGIN
35270
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
35271
+ Assignment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','<p>fdsfds</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-02-15 22:08:18.337701','2018-02-15 22:08:18.337701'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-02-15 22:08:18.337701','2018-02-15 22:08:18.337701') ON CONFLICT (canvas_assignment_id) DO UPDATE SET "canvas_assignment_id"=EXCLUDED."canvas_assignment_id","title"=EXCLUDED."title","description"=EXCLUDED."description","due_at"=EXCLUDED."due_at","unlock_at"=EXCLUDED."unlock_at","lock_at"=EXCLUDED."lock_at","points_possible"=EXCLUDED."points_possible","min_score"=EXCLUDED."min_score","max_score"=EXCLUDED."max_score","mastery_score"=EXCLUDED."mastery_score","grading_type"=EXCLUDED."grading_type","submission_types"=EXCLUDED."submission_types","workflow_state"=EXCLUDED."workflow_state","context_id"=EXCLUDED."context_id","context_type"=EXCLUDED."context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","grading_scheme_id"=EXCLUDED."grading_scheme_id","grading_standard_id"=EXCLUDED."grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_assignment_id, "assignments".title, "assignments".description, "assignments".due_at, "assignments".unlock_at, "assignments".lock_at, "assignments".points_possible, "assignments".min_score, "assignments".max_score, "assignments".mastery_score, "assignments".grading_type, "assignments".submission_types, "assignments".workflow_state, "assignments".context_id, "assignments".context_type, "assignments".canvas_assignment_group_id, "assignments".grading_scheme_id, "assignments".grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_assignment_id, EXCLUDED.title, EXCLUDED.description, EXCLUDED.due_at, EXCLUDED.unlock_at, EXCLUDED.lock_at, EXCLUDED.points_possible, EXCLUDED.min_score, EXCLUDED.max_score, EXCLUDED.mastery_score, EXCLUDED.grading_type, EXCLUDED.submission_types, EXCLUDED.workflow_state, EXCLUDED.context_id, EXCLUDED.context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.grading_scheme_id, EXCLUDED.grading_standard_id) RETURNING "id"
35272
+  (0.1ms) SELECT COUNT(*) FROM "assignments"
35273
+  (0.1ms) ROLLBACK
35274
+  (0.1ms) BEGIN
35275
+  (0.2ms) SELECT COUNT(*) FROM "users"
35276
+ User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:08:18.344913','2018-02-15 22:08:18.344913'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:08:18.344913','2018-02-15 22:08:18.344913') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
35277
+  (0.2ms) SELECT COUNT(*) FROM "users"
35278
+  (0.1ms) ROLLBACK
35279
+  (0.1ms) BEGIN
35280
+  (0.2ms) SELECT COUNT(*) FROM "courses"
35281
+ Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:08:18.352510','2018-02-15 22:08:18.352510'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:08:18.352510','2018-02-15 22:08:18.352510') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"
35282
+  (0.2ms) SELECT COUNT(*) FROM "courses"
35283
+ Course Load (0.1ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
35284
+  (0.1ms) ROLLBACK
35285
+  (0.1ms) BEGIN
35286
+  (0.3ms) SELECT COUNT(*) FROM "enrollments"
35287
+ Enrollment Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-02-15 22:08:18.369533','2018-02-15 22:08:18.369533'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-02-15 22:08:18.369533','2018-02-15 22:08:18.369533') ON CONFLICT (canvas_enrollment_id) DO UPDATE SET "canvas_enrollment_id"=EXCLUDED."canvas_enrollment_id","canvas_course_id"=EXCLUDED."canvas_course_id","course_sis_id"=EXCLUDED."course_sis_id","canvas_user_id"=EXCLUDED."canvas_user_id","user_sis_id"=EXCLUDED."user_sis_id","role"=EXCLUDED."role","role_id"=EXCLUDED."role_id","canvas_section_id"=EXCLUDED."canvas_section_id","section_sis_id"=EXCLUDED."section_sis_id","status"=EXCLUDED."status","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_enrollment_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".role_id, "enrollments".canvas_section_id, "enrollments".section_sis_id, "enrollments".status, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_enrollment_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.role_id, EXCLUDED.canvas_section_id, EXCLUDED.section_sis_id, EXCLUDED.status, EXCLUDED.base_role_type) RETURNING "id"
35288
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
35289
+  (0.1ms) ROLLBACK
35290
+  (0.1ms) BEGIN
35291
+  (0.2ms) SELECT COUNT(*) FROM "sections"
35292
+ Section Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:08:18.378681','2018-02-15 22:08:18.378681'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-02-15 22:08:18.378681','2018-02-15 22:08:18.378681') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","status"=EXCLUDED."status","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".status, "sections".start_date, "sections".end_date) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.status, EXCLUDED.start_date, EXCLUDED.end_date) RETURNING "id"
35293
+  (0.2ms) SELECT COUNT(*) FROM "sections"
35294
+ Section Load (0.1ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
35295
+  (0.1ms) ROLLBACK
35296
+  (0.1ms) BEGIN
35297
+ Section Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-02-15 22:08:18.386313','2018-02-15 22:08:18.386313') ON CONFLICT (canvas_section_id) DO UPDATE SET "canvas_section_id"=EXCLUDED."canvas_section_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_section_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_section_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"
35298
+  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)
35299
+ 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]]
35300
+  (0.1ms) ROLLBACK
35301
+  (0.1ms) BEGIN
35302
+  (0.2ms) SELECT COUNT(*) FROM "users"
35303
+  (0.3ms) SELECT COUNT(*) FROM "courses"
35304
+ Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-02-15 22:08:18.397060','2018-02-15 22:08:18.397060'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-02-15 22:08:18.397060','2018-02-15 22:08:18.397060') ON CONFLICT (canvas_course_id) DO UPDATE SET "canvas_course_id"=EXCLUDED."canvas_course_id","sis_id"=EXCLUDED."sis_id","short_name"=EXCLUDED."short_name","long_name"=EXCLUDED."long_name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","term_sis_id"=EXCLUDED."term_sis_id","start_date"=EXCLUDED."start_date","end_date"=EXCLUDED."end_date","status"=EXCLUDED."status","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_course_id, "courses".sis_id, "courses".short_name, "courses".long_name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".term_sis_id, "courses".start_date, "courses".end_date, "courses".status) IS DISTINCT FROM (EXCLUDED.canvas_course_id, EXCLUDED.sis_id, EXCLUDED.short_name, EXCLUDED.long_name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.term_sis_id, EXCLUDED.start_date, EXCLUDED.end_date, EXCLUDED.status) RETURNING "id"
35305
+ User Create Many Without Validations Or Callbacks (0.3ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-02-15 22:08:18.398520','2018-02-15 22:08:18.398520'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-02-15 22:08:18.398520','2018-02-15 22:08:18.398520') ON CONFLICT (canvas_user_id) DO UPDATE SET "canvas_user_id"=EXCLUDED."canvas_user_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","status"=EXCLUDED."status","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_user_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".status, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_user_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.status, EXCLUDED.login_id) RETURNING "id"
35306
+  (0.2ms) SELECT COUNT(*) FROM "users"
35307
+  (0.1ms) SELECT COUNT(*) FROM "courses"
35308
+  (0.1ms) ROLLBACK
35309
+  (0.1ms) BEGIN
35310
+  (0.1ms) ROLLBACK
35311
+  (0.1ms) BEGIN
35312
+  (1.2ms) SELECT COUNT(*) FROM "submissions"
35313
+ Submission Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:08:18.423598','2018-02-15 22:08:18.423598'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'2018-02-15 22:08:18.423598','2018-02-15 22:08:18.423598') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible) RETURNING "id"
35314
+  (0.2ms) SELECT COUNT(*) FROM "submissions"
35315
+  (0.1ms) ROLLBACK