canvas_sync 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -37648,3 +37648,1471 @@ Diff:
37648
37648
  ContextModule Load (0.3ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
37649
37649
  ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
37650
37650
   (0.1ms) ROLLBACK
37651
+  (204.0ms) DROP DATABASE IF EXISTS "canvas_sync_test"
37652
+  (977.9ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
37653
+ SQL (5.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
37654
+  (1.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
37655
+  (42.7ms) CREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37656
+  (2.1ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")
37657
+  (0.1ms) DROP TABLE IF EXISTS "admins" CASCADE
37658
+  (5.5ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_admin_id" bigint NOT NULL, "role_name" character varying, "canvas_role_id" bigint NOT NULL, "user_data" json, "canvas_user_id" bigint NOT NULL, "workflow_state" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37659
+  (1.7ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
37660
+  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
37661
+  (5.1ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37662
+  (2.1ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")
37663
+  (1.9ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
37664
+  (0.2ms) DROP TABLE IF EXISTS "assignments" CASCADE
37665
+  (5.3ms) 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)
37666
+  (1.7ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
37667
+  (2.1ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
37668
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
37669
+  (6.1ms) 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)
37670
+  (0.3ms) DROP TABLE IF EXISTS "context_module_items" CASCADE
37671
+  (5.7ms) CREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37672
+  (1.8ms) CREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")
37673
+  (1.9ms) CREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")
37674
+  (0.2ms) DROP TABLE IF EXISTS "context_modules" CASCADE
37675
+  (5.4ms) CREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37676
+  (1.9ms) CREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")
37677
+  (2.9ms) CREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")
37678
+  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE
37679
+  (5.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)
37680
+  (1.9ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
37681
+  (0.2ms) DROP TABLE IF EXISTS "enrollments" CASCADE
37682
+  (7.1ms) 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)
37683
+  (2.4ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
37684
+  (3.2ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
37685
+  (2.7ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
37686
+  (0.2ms) DROP TABLE IF EXISTS "roles" CASCADE
37687
+  (7.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)
37688
+  (1.9ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
37689
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
37690
+  (5.8ms) 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)
37691
+  (2.0ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
37692
+  (2.1ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
37693
+  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE
37694
+  (6.0ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37695
+  (2.1ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
37696
+  (2.1ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
37697
+  (2.1ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
37698
+  (2.0ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
37699
+  (0.2ms) DROP TABLE IF EXISTS "terms" CASCADE
37700
+  (5.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)
37701
+  (2.1ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
37702
+  (0.2ms) DROP TABLE IF EXISTS "users" CASCADE
37703
+  (6.3ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37704
+  (2.0ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
37705
+  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
37706
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37707
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES (20180411215633)
37708
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES
37709
+ (20170905192509),
37710
+ (20170906193506),
37711
+ (20170914181345),
37712
+ (20170918221413),
37713
+ (20171107213207),
37714
+ (20180103162102),
37715
+ (20180109210452),
37716
+ (20180215214227),
37717
+ (20180216171618),
37718
+ (20180220172559),
37719
+ (20180222163506),
37720
+ (20180411215348),
37721
+ (20170915210836);
37722
+
37723
+ 
37724
+  (5.2ms) 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)
37725
+ ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
37726
+  (0.1ms) BEGIN
37727
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-05-02 19:12:36.222255"], ["updated_at", "2018-05-02 19:12:36.222255"]]
37728
+  (0.4ms) COMMIT
37729
+ 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]]
37730
+  (0.2ms) BEGIN
37731
+  (0.1ms) COMMIT
37732
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37733
+  (0.2ms) BEGIN
37734
+  (0.2ms) SAVEPOINT active_record_1
37735
+ Assignment Exists (7.9ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
37736
+ SQL (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:12:36.451924"], ["unlock_at", "2018-05-01 19:12:36.452134"], ["lock_at", "2018-05-23 19:12:36.452190"], ["created_at", "2018-05-02 19:12:36.464335"], ["updated_at", "2018-05-02 19:12:36.464335"]]
37737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37738
+  (0.2ms) SAVEPOINT active_record_1
37739
+ SQL (8.9ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:12:36.471903"], ["updated_at", "2018-05-02 19:12:36.471903"]]
37740
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37741
+  (0.4ms) SELECT COUNT(*) FROM "context_module_items"
37742
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37743
+  (0.2ms) ROLLBACK
37744
+  (0.1ms) BEGIN
37745
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37746
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37747
+  (0.1ms) ROLLBACK
37748
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37749
+  (0.2ms) BEGIN
37750
+  (0.2ms) SAVEPOINT active_record_1
37751
+ Assignment Exists (3.1ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
37752
+ SQL (0.6ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:19:03.510733"], ["unlock_at", "2018-05-01 19:19:03.510867"], ["lock_at", "2018-05-23 19:19:03.510920"], ["created_at", "2018-05-02 19:19:03.517804"], ["updated_at", "2018-05-02 19:19:03.517804"]]
37753
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37754
+  (0.1ms) SAVEPOINT active_record_1
37755
+ SQL (1.1ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:19:03.524412"], ["updated_at", "2018-05-02 19:19:03.524412"]]
37756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37757
+  (2.1ms) SELECT COUNT(*) FROM "context_module_items"
37758
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37759
+  (0.1ms) ROLLBACK
37760
+  (0.1ms) BEGIN
37761
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37762
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37763
+  (0.1ms) ROLLBACK
37764
+  (123.3ms) DROP DATABASE IF EXISTS "canvas_sync_test"
37765
+  (604.5ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
37766
+ SQL (2.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
37767
+  (0.2ms) DROP TABLE IF EXISTS "accounts" CASCADE
37768
+  (20.0ms) CREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37769
+  (1.9ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")
37770
+  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE
37771
+  (4.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)
37772
+  (1.6ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
37773
+  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
37774
+  (5.2ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_assignment_group_id" bigint NOT NULL, "canvas_course_id" bigint, "name" character varying, "rules" text, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37775
+  (1.9ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")
37776
+  (1.7ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
37777
+  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE
37778
+  (5.3ms) 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)
37779
+  (1.8ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
37780
+  (1.9ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
37781
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
37782
+  (4.9ms) 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)
37783
+  (0.2ms) DROP TABLE IF EXISTS "context_module_items" CASCADE
37784
+  (5.1ms) CREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37785
+  (2.0ms) CREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")
37786
+  (1.8ms) CREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")
37787
+  (0.1ms) DROP TABLE IF EXISTS "context_modules" CASCADE
37788
+  (5.0ms) CREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37789
+  (1.7ms) CREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")
37790
+  (1.7ms) CREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")
37791
+  (0.1ms) DROP TABLE IF EXISTS "courses" CASCADE
37792
+  (4.8ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37793
+  (1.7ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
37794
+  (0.1ms) DROP TABLE IF EXISTS "enrollments" CASCADE
37795
+  (4.9ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" character varying, "canvas_user_id" bigint, "user_sis_id" character varying, "role" character varying, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" character varying, "status" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37796
+  (1.9ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
37797
+  (1.7ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
37798
+  (1.8ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
37799
+  (0.1ms) DROP TABLE IF EXISTS "roles" CASCADE
37800
+  (5.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)
37801
+  (1.8ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
37802
+  (0.2ms) DROP TABLE IF EXISTS "sections" CASCADE
37803
+  (5.4ms) 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)
37804
+  (1.8ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
37805
+  (1.7ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
37806
+  (0.1ms) DROP TABLE IF EXISTS "submissions" CASCADE
37807
+  (5.2ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37808
+  (1.7ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
37809
+  (1.9ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
37810
+  (1.7ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
37811
+  (1.8ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
37812
+  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE
37813
+  (5.0ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_term_id" integer NOT NULL, "name" character varying, "start_at" timestamp, "end_at" timestamp, "workflow_state" character varying, "grading_period_group_id" integer, "sis_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37814
+  (1.9ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
37815
+  (0.1ms) DROP TABLE IF EXISTS "users" CASCADE
37816
+  (4.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)
37817
+  (1.7ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
37818
+  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
37819
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37820
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20180411215633)
37821
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES
37822
+ (20170905192509),
37823
+ (20170906193506),
37824
+ (20170914181345),
37825
+ (20170918221413),
37826
+ (20171107213207),
37827
+ (20180103162102),
37828
+ (20180109210452),
37829
+ (20180215214227),
37830
+ (20180216171618),
37831
+ (20180220172559),
37832
+ (20180222163506),
37833
+ (20180411215348),
37834
+ (20170915210836);
37835
+
37836
+ 
37837
+  (3.9ms) 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)
37838
+ 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]]
37839
+  (0.1ms) BEGIN
37840
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-05-02 19:20:49.670621"], ["updated_at", "2018-05-02 19:20:49.670621"]]
37841
+  (0.4ms) COMMIT
37842
+ 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]]
37843
+  (0.1ms) BEGIN
37844
+  (0.1ms) COMMIT
37845
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37846
+  (205.3ms) DROP DATABASE IF EXISTS "canvas_sync_test"
37847
+  (546.1ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
37848
+ SQL (3.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
37849
+  (0.3ms) DROP TABLE IF EXISTS "accounts" CASCADE
37850
+  (36.7ms) CREATE TABLE "accounts" ("id" bigserial primary key, "canvas_account_id" bigint NOT NULL, "account_id" character varying, "canvas_parent_id" bigint, "parent_account_id" character varying, "name" character varying, "status" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37851
+  (18.9ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_account_id" ON "accounts" ("canvas_account_id")
37852
+  (0.2ms) DROP TABLE IF EXISTS "admins" CASCADE
37853
+  (23.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)
37854
+  (2.6ms) CREATE UNIQUE INDEX "index_admins_on_canvas_admin_id" ON "admins" ("canvas_admin_id")
37855
+  (0.2ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
37856
+  (5.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, "position" integer, "group_weight" float, "workflow_state" character varying, "canvas_created_at" timestamp, "canvas_updated_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37857
+  (1.7ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_assignment_group_id" ON "assignment_groups" ("canvas_assignment_group_id")
37858
+  (1.8ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
37859
+  (0.1ms) DROP TABLE IF EXISTS "assignments" CASCADE
37860
+  (5.3ms) 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)
37861
+  (2.3ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_assignment_id" ON "assignments" ("canvas_assignment_id")
37862
+  (2.2ms) CREATE INDEX "index_assignments_on_context_id_and_context_type" ON "assignments" ("context_id", "context_type")
37863
+  (0.1ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
37864
+  (5.8ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37865
+  (0.2ms) DROP TABLE IF EXISTS "context_module_items" CASCADE
37866
+  (7.2ms) CREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_context_module_item_id" bigint, "canvas_context_module_id" bigint, "position" integer, "content_type" character varying, "content_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37867
+  (19.3ms) CREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")
37868
+  (13.3ms) CREATE UNIQUE INDEX "index_context_module_items_on_canvas_context_module_item_id" ON "context_module_items" ("canvas_context_module_item_id")
37869
+  (0.2ms) DROP TABLE IF EXISTS "context_modules" CASCADE
37870
+  (26.0ms) CREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_context_module_id" bigint, "canvas_context_id" bigint, "canvas_context_type" character varying, "position" integer, "name" character varying, "workflow_state" character varying, "deleted_at" timestamp, "unlock_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37871
+  (13.8ms) CREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")
37872
+  (18.0ms) CREATE UNIQUE INDEX "index_context_modules_on_canvas_context_module_id" ON "context_modules" ("canvas_context_module_id")
37873
+  (0.2ms) DROP TABLE IF EXISTS "courses" CASCADE
37874
+  (5.7ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_course_id" bigint NOT NULL, "sis_id" character varying, "short_name" character varying, "long_name" character varying, "status" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37875
+  (2.2ms) CREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")
37876
+  (0.2ms) DROP TABLE IF EXISTS "enrollments" CASCADE
37877
+  (33.7ms) 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)
37878
+  (18.3ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
37879
+  (13.7ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")
37880
+  (13.4ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
37881
+  (0.2ms) DROP TABLE IF EXISTS "roles" CASCADE
37882
+  (17.6ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_role_id" integer NOT NULL, "label" character varying NOT NULL, "base_role_type" character varying NOT NULL, "account" json, "workflow_state" character varying NOT NULL, "permissions" json, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37883
+  (1.8ms) CREATE UNIQUE INDEX "index_roles_on_canvas_role_id" ON "roles" ("canvas_role_id")
37884
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
37885
+  (5.0ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_section_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "status" character varying, "start_date" timestamp, "end_date" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37886
+  (2.8ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
37887
+  (2.7ms) CREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")
37888
+  (0.3ms) DROP TABLE IF EXISTS "submissions" CASCADE
37889
+  (6.2ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_submission_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" integer, "points_possible" integer, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37890
+  (2.6ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
37891
+  (2.8ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
37892
+  (2.9ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_submission_id" ON "submissions" ("canvas_submission_id")
37893
+  (2.2ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
37894
+  (0.2ms) DROP TABLE IF EXISTS "terms" CASCADE
37895
+  (23.4ms) 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)
37896
+  (2.9ms) CREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")
37897
+  (0.3ms) DROP TABLE IF EXISTS "users" CASCADE
37898
+  (9.5ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_user_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "status" character varying, "login_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37899
+  (3.4ms) CREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")
37900
+  (9.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
37901
+  (1.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37902
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (20180411215633)
37903
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES
37904
+ (20170905192509),
37905
+ (20170906193506),
37906
+ (20170914181345),
37907
+ (20170918221413),
37908
+ (20171107213207),
37909
+ (20180103162102),
37910
+ (20180109210452),
37911
+ (20180215214227),
37912
+ (20180216171618),
37913
+ (20180220172559),
37914
+ (20180222163506),
37915
+ (20180411215348),
37916
+ (20170915210836);
37917
+
37918
+ 
37919
+  (6.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
37920
+ ActiveRecord::InternalMetadata Load (2.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
37921
+  (0.2ms) BEGIN
37922
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2018-05-02 19:22:07.289315"], ["updated_at", "2018-05-02 19:22:07.289315"]]
37923
+  (5.6ms) COMMIT
37924
+ 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]]
37925
+  (0.2ms) BEGIN
37926
+  (0.1ms) COMMIT
37927
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37928
+  (0.2ms) BEGIN
37929
+  (0.2ms) SAVEPOINT active_record_1
37930
+ Assignment Exists (4.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
37931
+ SQL (1.0ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:22:07.509165"], ["unlock_at", "2018-05-01 19:22:07.509433"], ["lock_at", "2018-05-23 19:22:07.509496"], ["created_at", "2018-05-02 19:22:07.519431"], ["updated_at", "2018-05-02 19:22:07.519431"]]
37932
+  (0.2ms) RELEASE SAVEPOINT active_record_1
37933
+  (0.2ms) SAVEPOINT active_record_1
37934
+ SQL (3.6ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:22:07.528838"], ["updated_at", "2018-05-02 19:22:07.528838"]]
37935
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37936
+  (0.9ms) SELECT COUNT(*) FROM "context_module_items"
37937
+ ContextModuleItem Load (0.3ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37938
+  (0.2ms) ROLLBACK
37939
+  (0.1ms) BEGIN
37940
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37941
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37942
+  (0.1ms) ROLLBACK
37943
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37944
+  (0.2ms) BEGIN
37945
+  (0.2ms) SAVEPOINT active_record_1
37946
+ Assignment Exists (2.7ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
37947
+ SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:23:07.630065"], ["unlock_at", "2018-05-01 19:23:07.630256"], ["lock_at", "2018-05-23 19:23:07.630316"], ["created_at", "2018-05-02 19:23:07.636653"], ["updated_at", "2018-05-02 19:23:07.636653"]]
37948
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37949
+  (0.1ms) SAVEPOINT active_record_1
37950
+ SQL (1.0ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:07.642182"], ["updated_at", "2018-05-02 19:23:07.642182"]]
37951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37952
+  (2.1ms) SELECT COUNT(*) FROM "context_module_items"
37953
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37954
+  (0.2ms) SAVEPOINT active_record_1
37955
+ SQL (0.4ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:23:07.679037"], ["id", 2]]
37956
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37957
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37958
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]]
37959
+  (0.2ms) ROLLBACK
37960
+  (0.1ms) BEGIN
37961
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37962
+ ContextModuleItem Load (0.1ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37963
+  (0.1ms) SAVEPOINT active_record_1
37964
+ SQL (0.2ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:07.710167"], ["updated_at", "2018-05-02 19:23:07.710167"]]
37965
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37966
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37967
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
37968
+  (0.1ms) ROLLBACK
37969
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37970
+  (0.2ms) BEGIN
37971
+  (0.2ms) SAVEPOINT active_record_1
37972
+ Assignment Exists (1.5ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
37973
+ 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-05-09 19:23:37.580471"], ["unlock_at", "2018-05-01 19:23:37.580603"], ["lock_at", "2018-05-23 19:23:37.580657"], ["created_at", "2018-05-02 19:23:37.585952"], ["updated_at", "2018-05-02 19:23:37.585952"]]
37974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37975
+  (0.1ms) SAVEPOINT active_record_1
37976
+ SQL (0.7ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:37.592145"], ["updated_at", "2018-05-02 19:23:37.592145"]]
37977
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37978
+  (1.0ms) SELECT COUNT(*) FROM "context_module_items"
37979
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37980
+  (0.2ms) SAVEPOINT active_record_1
37981
+ SQL (0.4ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:23:37.619571"], ["id", 4]]
37982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37983
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37984
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]]
37985
+  (0.2ms) ROLLBACK
37986
+  (0.1ms) BEGIN
37987
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37988
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
37989
+  (0.1ms) SAVEPOINT active_record_1
37990
+ SQL (0.3ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:37.641808"], ["updated_at", "2018-05-02 19:23:37.641808"]]
37991
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37992
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
37993
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
37994
+  (0.1ms) ROLLBACK
37995
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37996
+  (0.2ms) BEGIN
37997
+  (0.3ms) SAVEPOINT active_record_1
37998
+ Assignment Exists (1.5ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
37999
+ SQL (0.4ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 1], ["title", "Assignment 1"], ["due_at", "2018-05-09 19:23:52.851563"], ["unlock_at", "2018-05-01 19:23:52.851724"], ["lock_at", "2018-05-23 19:23:52.851776"], ["created_at", "2018-05-02 19:23:52.856891"], ["updated_at", "2018-05-02 19:23:52.856891"]]
38000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38001
+  (0.1ms) SAVEPOINT active_record_1
38002
+ SQL (0.8ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:52.862819"], ["updated_at", "2018-05-02 19:23:52.862819"]]
38003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38004
+  (1.2ms) SELECT COUNT(*) FROM "context_module_items"
38005
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
38006
+  (0.1ms) SAVEPOINT active_record_1
38007
+ SQL (0.3ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:23:52.891171"], ["id", 6]]
38008
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38009
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
38010
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
38011
+  (0.2ms) ROLLBACK
38012
+  (0.1ms) BEGIN
38013
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
38014
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
38015
+  (0.1ms) SAVEPOINT active_record_1
38016
+ SQL (0.2ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:23:52.901119"], ["updated_at", "2018-05-02 19:23:52.901119"]]
38017
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38018
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
38019
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
38020
+  (0.1ms) ROLLBACK
38021
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
38022
+  (0.1ms) BEGIN
38023
+  (0.1ms) ROLLBACK
38024
+  (0.1ms) BEGIN
38025
+  (0.1ms) ROLLBACK
38026
+  (0.1ms) BEGIN
38027
+  (0.1ms) ROLLBACK
38028
+  (3.5ms) BEGIN
38029
+  (0.1ms) ROLLBACK
38030
+  (0.1ms) BEGIN
38031
+  (0.1ms) ROLLBACK
38032
+  (0.1ms) BEGIN
38033
+  (0.1ms) ROLLBACK
38034
+  (0.1ms) BEGIN
38035
+  (0.1ms) ROLLBACK
38036
+  (0.1ms) BEGIN
38037
+  (0.1ms) ROLLBACK
38038
+  (0.1ms) BEGIN
38039
+  (0.1ms) ROLLBACK
38040
+  (0.2ms) BEGIN
38041
+  (0.1ms) ROLLBACK
38042
+  (0.1ms) BEGIN
38043
+  (0.1ms) ROLLBACK
38044
+  (0.1ms) BEGIN
38045
+  (1.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
38046
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] Performing GoodJob (Job ID: 09554b2d-4037-450f-8177-25bca2b4e048) from Async(default) with arguments: "argument"
38047
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048]  (0.1ms) SAVEPOINT active_record_1
38048
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] SQL (4.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.204580"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-05-02 19:24:00.215476"], ["updated_at", "2018-05-02 19:24:00.215476"]]
38049
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048]  (0.1ms) RELEASE SAVEPOINT active_record_1
38050
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048]  (0.2ms) SAVEPOINT active_record_1
38051
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.221536"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.221990"], ["id", 1]]
38052
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048]  (0.1ms) RELEASE SAVEPOINT active_record_1
38053
+ [ActiveJob] [GoodJob] [09554b2d-4037-450f-8177-25bca2b4e048] Performed GoodJob (Job ID: 09554b2d-4037-450f-8177-25bca2b4e048) from Async(default) in 18.91ms
38054
+  (0.2ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
38055
+ 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]]
38056
+  (0.2ms) ROLLBACK
38057
+  (0.1ms) BEGIN
38058
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] Performing BadJob (Job ID: 144a7097-ddce-422b-8c5d-336bc0cadc15) from Async(default) with arguments: "argument"
38059
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15]  (0.1ms) SAVEPOINT active_record_1
38060
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.227897"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2018-05-02 19:24:00.228328"], ["updated_at", "2018-05-02 19:24:00.228328"]]
38061
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15]  (0.1ms) RELEASE SAVEPOINT active_record_1
38062
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15]  (0.1ms) SAVEPOINT active_record_1
38063
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-05-02 19:24:00.230000"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-05-02 19:24:00.230258"], ["id", 2]]
38064
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15]  (0.1ms) RELEASE SAVEPOINT active_record_1
38065
+ [ActiveJob] [BadJob] [144a7097-ddce-422b-8c5d-336bc0cadc15] Error performing BadJob (Job ID: 144a7097-ddce-422b-8c5d-336bc0cadc15) from Async(default) in 4.25ms: EvilError (EvilError):
38066
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
38067
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
38068
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
38069
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
38070
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
38071
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
38072
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
38073
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
38074
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
38075
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
38076
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
38077
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
38078
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
38079
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
38080
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
38081
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
38082
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
38083
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
38084
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
38085
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
38086
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
38087
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
38088
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
38089
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
38090
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
38091
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
38092
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
38093
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
38094
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
38095
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
38096
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
38097
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
38098
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
38099
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
38100
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
38101
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
38102
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
38103
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
38104
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
38105
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
38106
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
38107
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
38108
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
38109
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
38110
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
38111
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
38112
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
38113
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
38114
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
38115
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
38116
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
38117
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
38118
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
38119
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
38120
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
38121
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
38122
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
38123
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
38124
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
38125
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
38126
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
38127
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
38128
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
38129
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
38130
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
38131
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
38132
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
38133
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
38134
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
38135
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
38136
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
38137
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
38138
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
38139
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
38140
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
38141
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
38142
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
38143
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
38144
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
38145
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
38146
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
38147
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
38148
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
38149
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
38150
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
38151
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
38152
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
38153
+ 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]]
38154
+  (0.1ms) ROLLBACK
38155
+  (0.1ms) BEGIN
38156
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] Performing CanvasSync::Jobs::ReportChecker (Job ID: a972f0fc-32f9-4466-9f1e-9baea7ded51d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
38157
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d]  (0.1ms) SAVEPOINT active_record_1
38158
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.234802"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.235208"], ["updated_at", "2018-05-02 19:24:00.235208"]]
38159
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d]  (0.2ms) RELEASE SAVEPOINT active_record_1
38160
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d]  (0.1ms) SAVEPOINT active_record_1
38161
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]]
38162
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d]  (0.1ms) RELEASE SAVEPOINT active_record_1
38163
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [a972f0fc-32f9-4466-9f1e-9baea7ded51d] Performed CanvasSync::Jobs::ReportChecker (Job ID: a972f0fc-32f9-4466-9f1e-9baea7ded51d) from Async(default) in 8.36ms
38164
+  (0.1ms) ROLLBACK
38165
+  (0.1ms) BEGIN
38166
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] Performing CanvasSync::Jobs::ReportChecker (Job ID: 4efbcd40-d3cb-4809-a2b3-6dca2b324771) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
38167
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771]  (0.1ms) SAVEPOINT active_record_1
38168
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.244953"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.245343"], ["updated_at", "2018-05-02 19:24:00.245343"]]
38169
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771]  (0.1ms) RELEASE SAVEPOINT active_record_1
38170
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: af237c0f-ffc1-4fec-8997-af6d0df9a63e) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
38171
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771]  (0.1ms) SAVEPOINT active_record_1
38172
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] SQL (0.2ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]]
38173
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771]  (0.1ms) RELEASE SAVEPOINT active_record_1
38174
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [4efbcd40-d3cb-4809-a2b3-6dca2b324771] Performed CanvasSync::Jobs::ReportChecker (Job ID: 4efbcd40-d3cb-4809-a2b3-6dca2b324771) from Async(default) in 6.62ms
38175
+  (0.1ms) ROLLBACK
38176
+  (0.1ms) BEGIN
38177
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] Performing CanvasSync::Jobs::ReportChecker (Job ID: e6c2c621-211b-4274-8ac0-b25b27815ad7) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
38178
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7]  (0.2ms) SAVEPOINT active_record_1
38179
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.253808"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.254423"], ["updated_at", "2018-05-02 19:24:00.254423"]]
38180
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7]  (0.1ms) RELEASE SAVEPOINT active_record_1
38181
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
38182
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7]  (0.1ms) SAVEPOINT active_record_1
38183
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] SQL (0.6ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "exception" = $2, "backtrace" = $3, "status" = $4, "updated_at" = $5 WHERE "canvas_sync_job_logs"."id" = $6 [["completed_at", "2018-05-02 19:24:00.257697"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2018-05-02 19:24:00.258080"], ["id", 5]]
38184
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7]  (0.1ms) RELEASE SAVEPOINT active_record_1
38185
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [e6c2c621-211b-4274-8ac0-b25b27815ad7] Error performing CanvasSync::Jobs::ReportChecker (Job ID: e6c2c621-211b-4274-8ac0-b25b27815ad7) from Async(default) in 6.97ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
38186
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:30:in `perform'
38187
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
38188
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
38189
+ /Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
38190
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
38191
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
38192
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
38193
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
38194
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
38195
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
38196
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
38197
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
38198
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
38199
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
38200
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
38201
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
38202
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
38203
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
38204
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
38205
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
38206
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
38207
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
38208
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
38209
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
38210
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
38211
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
38212
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
38213
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
38214
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
38215
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
38216
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
38217
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
38218
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
38219
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
38220
+ /Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
38221
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
38222
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
38223
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
38224
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
38225
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
38226
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
38227
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
38228
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
38229
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
38230
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
38231
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
38232
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
38233
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
38234
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
38235
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
38236
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
38237
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
38238
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
38239
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
38240
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
38241
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
38242
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
38243
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
38244
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
38245
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
38246
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
38247
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
38248
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
38249
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
38250
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
38251
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
38252
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
38253
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
38254
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
38255
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
38256
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
38257
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
38258
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
38259
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
38260
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `load'
38261
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/rspec:23:in `<top (required)>'
38262
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
38263
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
38264
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
38265
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
38266
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
38267
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
38268
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
38269
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
38270
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
38271
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
38272
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
38273
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
38274
+ /Users/ncollings/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
38275
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `load'
38276
+ /Users/ncollings/.rbenv/versions/2.5.0/bin/bundle:23:in `<main>'
38277
+  (0.1ms) ROLLBACK
38278
+  (0.1ms) BEGIN
38279
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
38280
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88]  (0.1ms) SAVEPOINT active_record_1
38281
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.263552"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.264099"], ["updated_at", "2018-05-02 19:24:00.264099"]]
38282
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88]  (0.1ms) RELEASE SAVEPOINT active_record_1
38283
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88]  (0.1ms) SAVEPOINT active_record_1
38284
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2018-05-02 19:24:00.266756"], ["id", 6]]
38285
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88]  (0.1ms) RELEASE SAVEPOINT active_record_1
38286
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88]  (0.2ms) SAVEPOINT active_record_1
38287
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.300999"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.301685"], ["id", 6]]
38288
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88]  (0.2ms) RELEASE SAVEPOINT active_record_1
38289
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 7b9c3f0c-25e8-4fe0-bd0c-914a6a94cf88) from Async(default) in 40.19ms
38290
+  (0.1ms) ROLLBACK
38291
+  (0.1ms) BEGIN
38292
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] Performing CanvasSync::Jobs::ReportStarter (Job ID: 3f6a56d4-8974-4404-8e67-4b8ef095b040) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
38293
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040]  (0.1ms) SAVEPOINT active_record_1
38294
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.306082"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2018-05-02 19:24:00.306537"], ["updated_at", "2018-05-02 19:24:00.306537"]]
38295
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040]  (0.1ms) RELEASE SAVEPOINT active_record_1
38296
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f4f11865-5777-4649-ab47-7a56af2a3d47) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
38297
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040]  (0.1ms) SAVEPOINT active_record_1
38298
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.309834"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.310253"], ["id", 7]]
38299
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040]  (0.2ms) RELEASE SAVEPOINT active_record_1
38300
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [3f6a56d4-8974-4404-8e67-4b8ef095b040] Performed CanvasSync::Jobs::ReportStarter (Job ID: 3f6a56d4-8974-4404-8e67-4b8ef095b040) from Async(default) in 6.27ms
38301
+  (0.1ms) ROLLBACK
38302
+  (0.2ms) BEGIN
38303
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] Performing CanvasSync::Jobs::ReportStarter (Job ID: 5fcca148-afeb-44c2-ac53-be7768c3d607) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
38304
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607]  (0.1ms) SAVEPOINT active_record_1
38305
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.314685"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n provisioning_csv: 1\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-05-02 19:24:00.315181"], ["updated_at", "2018-05-02 19:24:00.315181"]]
38306
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607]  (0.1ms) RELEASE SAVEPOINT active_record_1
38307
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607]  (0.1ms) SAVEPOINT active_record_1
38308
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.318106"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.318474"], ["id", 8]]
38309
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607]  (0.2ms) RELEASE SAVEPOINT active_record_1
38310
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5fcca148-afeb-44c2-ac53-be7768c3d607] Performed CanvasSync::Jobs::ReportStarter (Job ID: 5fcca148-afeb-44c2-ac53-be7768c3d607) from Async(default) in 6.28ms
38311
+  (0.1ms) ROLLBACK
38312
+  (0.1ms) BEGIN
38313
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] Performing CanvasSync::Jobs::ReportStarter (Job ID: 578b59bb-4917-45b2-9d56-76d1fb6b4dae) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
38314
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae]  (0.2ms) SAVEPOINT active_record_1
38315
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.327024"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n allow_redownloads: true\n"], ["created_at", "2018-05-02 19:24:00.327643"], ["updated_at", "2018-05-02 19:24:00.327643"]]
38316
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae]  (0.1ms) RELEASE SAVEPOINT active_record_1
38317
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae]  (0.1ms) SAVEPOINT active_record_1
38318
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.330955"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.331315"], ["id", 9]]
38319
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae]  (0.1ms) RELEASE SAVEPOINT active_record_1
38320
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [578b59bb-4917-45b2-9d56-76d1fb6b4dae] Performed CanvasSync::Jobs::ReportStarter (Job ID: 578b59bb-4917-45b2-9d56-76d1fb6b4dae) from Async(default) in 6.1ms
38321
+  (0.1ms) ROLLBACK
38322
+  (0.1ms) BEGIN
38323
+  (2.0ms) SELECT COUNT(*) FROM "admins"
38324
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: dde2dd51-b74b-409d-be13-c518b12f81da) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38325
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) SAVEPOINT active_record_1
38326
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.340303"], ["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.340779"], ["updated_at", "2018-05-02 19:24:00.340779"]]
38327
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) RELEASE SAVEPOINT active_record_1
38328
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Admin Load (0.3ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
38329
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.2ms) SAVEPOINT active_record_1
38330
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
38331
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] SQL (1.0ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.360294"], ["updated_at", "2018-05-02 19:24:00.360294"]]
38332
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) RELEASE SAVEPOINT active_record_1
38333
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
38334
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) SAVEPOINT active_record_1
38335
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 3], ["LIMIT", 1]]
38336
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] 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-05-02 19:24:00.364863"], ["updated_at", "2018-05-02 19:24:00.364863"]]
38337
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) RELEASE SAVEPOINT active_record_1
38338
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
38339
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.2ms) SAVEPOINT active_record_1
38340
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 4], ["LIMIT", 1]]
38341
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] 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-05-02 19:24:00.368311"], ["updated_at", "2018-05-02 19:24:00.368311"]]
38342
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) RELEASE SAVEPOINT active_record_1
38343
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] SQL (0.3ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3))
38344
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) SAVEPOINT active_record_1
38345
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.370530"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.370920"], ["id", 10]]
38346
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da]  (0.1ms) RELEASE SAVEPOINT active_record_1
38347
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [dde2dd51-b74b-409d-be13-c518b12f81da] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: dde2dd51-b74b-409d-be13-c518b12f81da) from Async(default) in 32.44ms
38348
+  (0.2ms) SELECT COUNT(*) FROM "admins"
38349
+  (0.1ms) ROLLBACK
38350
+  (0.1ms) BEGIN
38351
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 452bf5e1-1368-4645-a50f-37ae82ff86f3) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
38352
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3]  (0.1ms) SAVEPOINT active_record_1
38353
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.375663"], ["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.376167"], ["updated_at", "2018-05-02 19:24:00.376167"]]
38354
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3]  (0.2ms) RELEASE SAVEPOINT active_record_1
38355
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1f08cd6a-551a-447a-8923-345c77fadce1) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
38356
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3]  (0.2ms) SAVEPOINT active_record_1
38357
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.383250"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.383764"], ["id", 11]]
38358
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3]  (0.2ms) RELEASE SAVEPOINT active_record_1
38359
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [452bf5e1-1368-4645-a50f-37ae82ff86f3] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 452bf5e1-1368-4645-a50f-37ae82ff86f3) from Async(default) in 10.29ms
38360
+  (0.1ms) ROLLBACK
38361
+  (0.1ms) BEGIN
38362
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d41b335d-1e5e-4d14-bd67-c74c7f60c5e4) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
38363
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4]  (0.1ms) SAVEPOINT active_record_1
38364
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.388640"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.389122"], ["updated_at", "2018-05-02 19:24:00.389122"]]
38365
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4]  (0.1ms) RELEASE SAVEPOINT active_record_1
38366
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 3c7a3127-d349-4db1-bb82-994948eb5bd3) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
38367
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4]  (0.1ms) SAVEPOINT active_record_1
38368
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.392251"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.392680"], ["id", 12]]
38369
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4]  (0.2ms) RELEASE SAVEPOINT active_record_1
38370
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [d41b335d-1e5e-4d14-bd67-c74c7f60c5e4] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: d41b335d-1e5e-4d14-bd67-c74c7f60c5e4) from Async(default) in 6.34ms
38371
+  (0.2ms) ROLLBACK
38372
+  (0.1ms) BEGIN
38373
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 58b521fa-791f-4e1a-974a-6d19cbe0c7a4) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38374
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4]  (0.1ms) SAVEPOINT active_record_1
38375
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.397657"], ["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.398208"], ["updated_at", "2018-05-02 19:24:00.398208"]]
38376
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4]  (0.2ms) RELEASE SAVEPOINT active_record_1
38377
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: c282c268-2db2-4b07-aa10-b2fc0bd1e01b) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
38378
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4]  (0.2ms) SAVEPOINT active_record_1
38379
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] SQL (0.5ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.401725"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.402257"], ["id", 13]]
38380
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4]  (0.1ms) RELEASE SAVEPOINT active_record_1
38381
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [58b521fa-791f-4e1a-974a-6d19cbe0c7a4] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 58b521fa-791f-4e1a-974a-6d19cbe0c7a4) from Async(default) in 7.28ms
38382
+  (0.1ms) ROLLBACK
38383
+  (0.1ms) BEGIN
38384
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
38385
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838]  (0.1ms) SAVEPOINT active_record_1
38386
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.407416"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.407924"], ["updated_at", "2018-05-02 19:24:00.407924"]]
38387
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838]  (0.1ms) RELEASE SAVEPOINT active_record_1
38388
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: fa01c85f-3e96-4b11-9a95-d30b801630a1) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
38389
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838]  (0.2ms) SAVEPOINT active_record_1
38390
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.411345"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.411863"], ["id", 14]]
38391
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838]  (0.1ms) RELEASE SAVEPOINT active_record_1
38392
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 8b7ff3f4-b9d0-46af-a34a-d2eacbcf2838) from Async(default) in 6.58ms
38393
+  (0.2ms) ROLLBACK
38394
+  (0.1ms) BEGIN
38395
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 3517fd63-7a03-420d-a697-3871043de274) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38396
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274]  (0.2ms) SAVEPOINT active_record_1
38397
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.421214"], ["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.421782"], ["updated_at", "2018-05-02 19:24:00.421782"]]
38398
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274]  (0.1ms) RELEASE SAVEPOINT active_record_1
38399
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ca8ff719-a50b-4df0-9728-eb8b3dccf19f) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
38400
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274]  (0.2ms) SAVEPOINT active_record_1
38401
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.429073"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.429662"], ["id", 15]]
38402
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274]  (0.1ms) RELEASE SAVEPOINT active_record_1
38403
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [3517fd63-7a03-420d-a697-3871043de274] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 3517fd63-7a03-420d-a697-3871043de274) from Async(default) in 10.18ms
38404
+  (0.1ms) ROLLBACK
38405
+  (0.1ms) BEGIN
38406
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
38407
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac]  (0.1ms) SAVEPOINT active_record_1
38408
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.434028"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.434652"], ["updated_at", "2018-05-02 19:24:00.434652"]]
38409
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac]  (0.1ms) RELEASE SAVEPOINT active_record_1
38410
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 347bbff4-2718-49f5-b4aa-265565512027) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
38411
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac]  (0.1ms) SAVEPOINT active_record_1
38412
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.438582"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.439108"], ["id", 16]]
38413
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac]  (0.2ms) RELEASE SAVEPOINT active_record_1
38414
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: cccbc548-a5f8-4356-ab12-1ea5b9a3e8ac) from Async(default) in 7.74ms
38415
+  (0.2ms) ROLLBACK
38416
+  (0.1ms) BEGIN
38417
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: bdb2df3b-3a93-49e4-9151-62cb00cbcd19) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38418
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19]  (0.2ms) SAVEPOINT active_record_1
38419
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.444455"], ["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.445180"], ["updated_at", "2018-05-02 19:24:00.445180"]]
38420
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19]  (0.1ms) RELEASE SAVEPOINT active_record_1
38421
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4297c2fd-03ab-493f-8597-7b018d733b24) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
38422
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19]  (0.2ms) SAVEPOINT active_record_1
38423
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.449135"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.449729"], ["id", 17]]
38424
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19]  (0.2ms) RELEASE SAVEPOINT active_record_1
38425
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [bdb2df3b-3a93-49e4-9151-62cb00cbcd19] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: bdb2df3b-3a93-49e4-9151-62cb00cbcd19) from Async(default) in 7.57ms
38426
+  (0.1ms) ROLLBACK
38427
+  (0.2ms) BEGIN
38428
+  (0.2ms) SAVEPOINT active_record_1
38429
+ Term Exists (2.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 64794369], ["LIMIT", 1]]
38430
+ SQL (0.6ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 64794369], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "4773ea12dfa6c4a38ec840ea5229bd83"], ["created_at", "2018-05-02 19:24:00.475451"], ["updated_at", "2018-05-02 19:24:00.475451"]]
38431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38432
+  (0.1ms) SAVEPOINT active_record_1
38433
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 55060694], ["LIMIT", 1]]
38434
+ 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", 55060694], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "70938ceb94107893a73750ed17345c4e"], ["created_at", "2018-05-02 19:24:00.478731"], ["updated_at", "2018-05-02 19:24:00.478731"]]
38435
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38436
+  (0.1ms) SAVEPOINT active_record_1
38437
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 60597861], ["LIMIT", 1]]
38438
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 60597861], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "inactive"], ["sis_id", "36f827af513aa9d710fecf83478db821"], ["created_at", "2018-05-02 19:24:00.481344"], ["updated_at", "2018-05-02 19:24:00.481344"]]
38439
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38440
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0423ac1a-f8f0-4fbc-873a-32b9bb902376) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
38441
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376]  (0.1ms) SAVEPOINT active_record_1
38442
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.483074"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2018-05-02 19:24:00.483499"], ["updated_at", "2018-05-02 19:24:00.483499"]]
38443
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376]  (0.1ms) RELEASE SAVEPOINT active_record_1
38444
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] Term Load (5.5ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-05-17 19:24:00.485860' OR start_at IS NULL) AND (end_at >= '2018-04-17 19:24:00.486037' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
38445
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376]  (0.2ms) SAVEPOINT active_record_1
38446
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.492918"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.493438"], ["id", 18]]
38447
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376]  (0.1ms) RELEASE SAVEPOINT active_record_1
38448
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [0423ac1a-f8f0-4fbc-873a-32b9bb902376] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 0423ac1a-f8f0-4fbc-873a-32b9bb902376) from Async(default) in 12.38ms
38449
+  (0.2ms) ROLLBACK
38450
+  (0.1ms) BEGIN
38451
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
38452
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8]  (0.1ms) SAVEPOINT active_record_1
38453
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.497557"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2018-05-02 19:24:00.498028"], ["updated_at", "2018-05-02 19:24:00.498028"]]
38454
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8]  (0.1ms) RELEASE SAVEPOINT active_record_1
38455
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8]  (0.1ms) SAVEPOINT active_record_1
38456
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.500893"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.501233"], ["id", 19]]
38457
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8]  (0.1ms) RELEASE SAVEPOINT active_record_1
38458
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: a1fe21be-f445-4cbd-b08e-0f4fab6b4bc8) from Async(default) in 5.36ms
38459
+  (0.1ms) ROLLBACK
38460
+  (0.1ms) BEGIN
38461
+  (2.7ms) SELECT COUNT(*) FROM "roles"
38462
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: fd7e61e4-2ac4-4055-a19d-e9a7f676b93f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38463
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.2ms) SAVEPOINT active_record_1
38464
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.512760"], ["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.513423"], ["updated_at", "2018-05-02 19:24:00.513423"]]
38465
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.1ms) RELEASE SAVEPOINT active_record_1
38466
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
38467
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.2ms) SAVEPOINT active_record_1
38468
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
38469
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] SQL (0.7ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 1], ["label", "Account Admin"], ["base_role_type", "AccountMembership"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["created_at", "2018-05-02 19:24:00.534200"], ["updated_at", "2018-05-02 19:24:00.534200"]]
38470
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.2ms) RELEASE SAVEPOINT active_record_1
38471
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
38472
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.1ms) SAVEPOINT active_record_1
38473
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 3], ["LIMIT", 1]]
38474
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_role_id", 3], ["label", "Student"], ["base_role_type", "StudentEnrollment"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_outcomes\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_rubrics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"comment_on_others_submissions\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_students\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_admin_users\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_role_overrides\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_memberships\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_account_settings\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_groups\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_group_pages\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"manage_files\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_assignments\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"undelete_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_grade_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_course_changes\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_question_banks\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_calendar\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_reports\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_courses\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_logins\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_user_observers\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"become_user\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_developer_keys\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"import_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sis\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_sis\":{\"enabled\":false,\"locked\":false,\"readonly\":false,\"explicit\":false},\"read_course_list\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_statistics\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_storage_quotas\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"read_course_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_content\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_interaction_alerts\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"change_course_state\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_sections\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"manage_feature_flags\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"view_quiz_answer_audits\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"moderate_grades\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false},\"lti_add_edit\":{\"enabled\":false,\"locked\":true,\"readonly\":true,\"explicit\":false}}"], ["created_at", "2018-05-02 19:24:00.550803"], ["updated_at", "2018-05-02 19:24:00.550803"]]
38475
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.1ms) RELEASE SAVEPOINT active_record_1
38476
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] SQL (0.3ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2))
38477
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.1ms) SAVEPOINT active_record_1
38478
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.556268"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.556802"], ["id", 20]]
38479
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f]  (0.1ms) RELEASE SAVEPOINT active_record_1
38480
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [fd7e61e4-2ac4-4055-a19d-e9a7f676b93f] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: fd7e61e4-2ac4-4055-a19d-e9a7f676b93f) from Async(default) in 46.02ms
38481
+  (0.2ms) SELECT COUNT(*) FROM "roles"
38482
+  (0.2ms) ROLLBACK
38483
+  (0.1ms) BEGIN
38484
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 775a3158-c247-4de9-923a-3e2185801ec8) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
38485
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8]  (0.1ms) SAVEPOINT active_record_1
38486
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.562270"], ["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.562832"], ["updated_at", "2018-05-02 19:24:00.562832"]]
38487
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8]  (0.1ms) RELEASE SAVEPOINT active_record_1
38488
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: ddf2275c-c961-4b17-9eff-69af2d417da8) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
38489
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8]  (0.2ms) SAVEPOINT active_record_1
38490
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.566879"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.567451"], ["id", 21]]
38491
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8]  (0.2ms) RELEASE SAVEPOINT active_record_1
38492
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [775a3158-c247-4de9-923a-3e2185801ec8] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 775a3158-c247-4de9-923a-3e2185801ec8) from Async(default) in 7.2ms
38493
+  (0.1ms) ROLLBACK
38494
+  (0.2ms) BEGIN
38495
+  (0.2ms) SELECT COUNT(*) FROM "terms"
38496
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: 878b212d-c912-4557-ad2b-bdb7b2c780f0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38497
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) SAVEPOINT active_record_1
38498
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.572396"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.572845"], ["updated_at", "2018-05-02 19:24:00.572845"]]
38499
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38500
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
38501
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.2ms) SAVEPOINT active_record_1
38502
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
38503
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] 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-05-02 19:24:00.580971"], ["updated_at", "2018-05-02 19:24:00.580971"]]
38504
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38505
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
38506
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.2ms) SAVEPOINT active_record_1
38507
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 6], ["LIMIT", 1]]
38508
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] 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-05-02 19:24:00.584703"], ["updated_at", "2018-05-02 19:24:00.584703"]]
38509
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38510
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
38511
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) SAVEPOINT active_record_1
38512
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 7], ["LIMIT", 1]]
38513
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.588085"], ["updated_at", "2018-05-02 19:24:00.588085"]]
38514
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38515
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
38516
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) SAVEPOINT active_record_1
38517
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 5], ["LIMIT", 1]]
38518
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] SQL (0.3ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2018-05-02 19:24:00.592717"], ["updated_at", "2018-05-02 19:24:00.592717"]]
38519
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38520
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
38521
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) SAVEPOINT active_record_1
38522
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 4], ["LIMIT", 1]]
38523
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] 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-05-02 19:24:00.596077"], ["updated_at", "2018-05-02 19:24:00.596077"]]
38524
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38525
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
38526
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) SAVEPOINT active_record_1
38527
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 3], ["LIMIT", 1]]
38528
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.599272"], ["updated_at", "2018-05-02 19:24:00.599272"]]
38529
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38530
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) SAVEPOINT active_record_1
38531
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.600486"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.600878"], ["id", 22]]
38532
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0]  (0.1ms) RELEASE SAVEPOINT active_record_1
38533
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [878b212d-c912-4557-ad2b-bdb7b2c780f0] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: 878b212d-c912-4557-ad2b-bdb7b2c780f0) from Async(default) in 30.19ms
38534
+  (0.2ms) SELECT COUNT(*) FROM "terms"
38535
+  (0.1ms) ROLLBACK
38536
+  (0.1ms) BEGIN
38537
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: def18cc5-dfba-4157-a77c-9681235445ce) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
38538
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce]  (0.1ms) SAVEPOINT active_record_1
38539
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] SQL (0.6ms) INSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["started_at", "2018-05-02 19:24:00.609305"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2018-05-02 19:24:00.609941"], ["updated_at", "2018-05-02 19:24:00.609941"]]
38540
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce]  (0.2ms) RELEASE SAVEPOINT active_record_1
38541
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d597eb2b-de61-4070-854c-4bb3359043fa) to Async(default) at 2018-05-02 19:24:30 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
38542
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce]  (0.1ms) SAVEPOINT active_record_1
38543
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2018-05-02 19:24:00.614509"], ["status", "success"], ["updated_at", "2018-05-02 19:24:00.615027"], ["id", 23]]
38544
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce]  (0.1ms) RELEASE SAVEPOINT active_record_1
38545
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [def18cc5-dfba-4157-a77c-9681235445ce] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: def18cc5-dfba-4157-a77c-9681235445ce) from Async(default) in 7.77ms
38546
+  (0.1ms) ROLLBACK
38547
+  (0.1ms) BEGIN
38548
+  (0.2ms) SAVEPOINT active_record_1
38549
+ Account Exists (2.0ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 55594085], ["LIMIT", 1]]
38550
+ SQL (0.5ms) INSERT INTO "accounts" ("canvas_account_id", "account_id", "canvas_parent_id", "parent_account_id", "name", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_account_id", 55594085], ["account_id", "2498c19df5df8185ae9e4e6470bf168c"], ["canvas_parent_id", 1], ["parent_account_id", "fd62e77dbc933141209ad76d96b4f569"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-05-02 19:24:00.633255"], ["updated_at", "2018-05-02 19:24:00.633255"]]
38551
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38552
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" IS NULL AND ("accounts"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
38553
+  (0.1ms) ROLLBACK
38554
+  (0.1ms) BEGIN
38555
+  (0.1ms) SAVEPOINT active_record_1
38556
+ Account Exists (0.2ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 28394772], ["LIMIT", 1]]
38557
+ SQL (0.3ms) INSERT INTO "accounts" ("canvas_account_id", "account_id", "canvas_parent_id", "parent_account_id", "name", "status", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_account_id", 28394772], ["account_id", "377c5c447c8c9698f7ca6f9ced9e4534"], ["canvas_parent_id", 1], ["parent_account_id", "6b0ba575a11df1bce02e3755ffccc4aa"], ["name", "Account name"], ["status", "active"], ["created_at", "2018-05-02 19:24:00.656202"], ["updated_at", "2018-05-02 19:24:00.656202"]]
38558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38559
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
38560
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_account_id" = $1 LIMIT $2 [["canvas_account_id", 28394772], ["LIMIT", 1]]
38561
+  (0.1ms) ROLLBACK
38562
+  (0.1ms) BEGIN
38563
+  (0.1ms) SAVEPOINT active_record_1
38564
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 92462719], ["LIMIT", 1]]
38565
+ 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", 92462719], ["role_name", "Cool Role"], ["canvas_role_id", 12859776], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.663379"], ["updated_at", "2018-05-02 19:24:00.663379"]]
38566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38567
+ 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]]
38568
+  (0.1ms) ROLLBACK
38569
+  (0.1ms) BEGIN
38570
+  (0.1ms) SAVEPOINT active_record_1
38571
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 793787], ["LIMIT", 1]]
38572
+ 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", 793787], ["role_name", "Cool Role"], ["canvas_role_id", 17565406], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.668696"], ["updated_at", "2018-05-02 19:24:00.668696"]]
38573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38574
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]]
38575
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 793787], ["LIMIT", 1]]
38576
+  (0.1ms) ROLLBACK
38577
+  (0.1ms) BEGIN
38578
+  (0.2ms) SELECT COUNT(*) FROM "admins"
38579
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
38580
+  (0.1ms) SAVEPOINT active_record_1
38581
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
38582
+ SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.677917"], ["updated_at", "2018-05-02 19:24:00.677917"]]
38583
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38584
+  (0.2ms) SELECT COUNT(*) FROM "admins"
38585
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]
38586
+  (0.1ms) ROLLBACK
38587
+  (0.1ms) BEGIN
38588
+  (0.1ms) SAVEPOINT active_record_1
38589
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
38590
+ SQL (0.3ms) INSERT INTO "admins" ("canvas_admin_id", "role_name", "canvas_role_id", "user_data", "canvas_user_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_admin_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 72718726], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.684795"], ["updated_at", "2018-05-02 19:24:00.684795"]]
38591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38592
+  (0.2ms) SELECT COUNT(*) FROM "admins"
38593
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_admin_id" = $1 LIMIT $2 [["canvas_admin_id", 2], ["LIMIT", 1]]
38594
+  (0.2ms) SAVEPOINT active_record_1
38595
+ 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", 7], ["LIMIT", 1]]
38596
+ SQL (0.3ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2018-05-02 19:24:00.689264"], ["id", 7]]
38597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38598
+  (0.2ms) SELECT COUNT(*) FROM "admins"
38599
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]
38600
+  (0.1ms) ROLLBACK
38601
+  (0.1ms) BEGIN
38602
+  (0.2ms) SAVEPOINT active_record_1
38603
+ AssignmentGroup Exists (3.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]]
38604
+ SQL (0.6ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.711437"], ["canvas_updated_at", "2018-05-01 19:24:00.711684"], ["created_at", "2018-05-02 19:24:00.717197"], ["updated_at", "2018-05-02 19:24:00.717197"]]
38605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38606
+ AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
38607
+  (0.1ms) ROLLBACK
38608
+  (0.1ms) BEGIN
38609
+  (0.1ms) SAVEPOINT active_record_1
38610
+ 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]]
38611
+ SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.723121"], ["canvas_updated_at", "2018-05-01 19:24:00.723258"], ["created_at", "2018-05-02 19:24:00.724381"], ["updated_at", "2018-05-02 19:24:00.724381"]]
38612
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38613
+ AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
38614
+ 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]]
38615
+  (0.1ms) ROLLBACK
38616
+  (0.1ms) BEGIN
38617
+  (0.1ms) SAVEPOINT active_record_1
38618
+ 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]]
38619
+ SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.729787"], ["canvas_updated_at", "2018-05-01 19:24:00.729898"], ["created_at", "2018-05-02 19:24:00.730941"], ["updated_at", "2018-05-02 19:24:00.730941"]]
38620
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38621
+  (0.1ms) ROLLBACK
38622
+  (0.2ms) BEGIN
38623
+  (2.2ms) SAVEPOINT active_record_1
38624
+ AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_assignment_group_id" = $1 LIMIT $2 [["canvas_assignment_group_id", 4], ["LIMIT", 1]]
38625
+ SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id", "name", "workflow_state", "canvas_created_at", "canvas_updated_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_group_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2018-04-25 19:24:00.734753"], ["canvas_updated_at", "2018-05-01 19:24:00.735152"], ["created_at", "2018-05-02 19:24:00.739113"], ["updated_at", "2018-05-02 19:24:00.739113"]]
38626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38627
+  (0.1ms) ROLLBACK
38628
+  (0.1ms) BEGIN
38629
+  (0.2ms) SAVEPOINT active_record_1
38630
+ Assignment Exists (1.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 1], ["LIMIT", 1]]
38631
+ 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-05-09 19:24:00.759883"], ["unlock_at", "2018-05-01 19:24:00.759999"], ["lock_at", "2018-05-23 19:24:00.760050"], ["created_at", "2018-05-02 19:24:00.762705"], ["updated_at", "2018-05-02 19:24:00.762705"]]
38632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38633
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 5], ["LIMIT", 1]]
38634
+  (0.1ms) ROLLBACK
38635
+  (0.1ms) BEGIN
38636
+  (0.1ms) SAVEPOINT active_record_1
38637
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
38638
+ 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-05-09 19:24:00.767423"], ["unlock_at", "2018-05-01 19:24:00.767512"], ["lock_at", "2018-05-23 19:24:00.767559"], ["created_at", "2018-05-02 19:24:00.768620"], ["updated_at", "2018-05-02 19:24:00.768620"]]
38639
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38640
+ Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]]
38641
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 2], ["LIMIT", 1]]
38642
+  (0.1ms) ROLLBACK
38643
+  (0.1ms) BEGIN
38644
+  (0.1ms) SAVEPOINT active_record_1
38645
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 3], ["LIMIT", 1]]
38646
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 3], ["title", "Assignment 3"], ["due_at", "2018-05-09 19:24:00.773909"], ["unlock_at", "2018-05-01 19:24:00.773995"], ["lock_at", "2018-05-23 19:24:00.774043"], ["created_at", "2018-05-02 19:24:00.775028"], ["updated_at", "2018-05-02 19:24:00.775028"]]
38647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38648
+  (0.1ms) ROLLBACK
38649
+  (0.1ms) BEGIN
38650
+  (0.1ms) SAVEPOINT active_record_1
38651
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 4], ["LIMIT", 1]]
38652
+ 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-05-09 19:24:00.777978"], ["unlock_at", "2018-05-01 19:24:00.778058"], ["lock_at", "2018-05-23 19:24:00.778105"], ["created_at", "2018-05-02 19:24:00.779128"], ["updated_at", "2018-05-02 19:24:00.779128"]]
38653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38654
+  (0.1ms) ROLLBACK
38655
+  (0.1ms) BEGIN
38656
+  (0.1ms) SAVEPOINT active_record_1
38657
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 5], ["LIMIT", 1]]
38658
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 5], ["title", "Assignment 5"], ["due_at", "2018-05-09 19:24:00.781918"], ["unlock_at", "2018-05-01 19:24:00.781989"], ["lock_at", "2018-05-23 19:24:00.782057"], ["created_at", "2018-05-02 19:24:00.783074"], ["updated_at", "2018-05-02 19:24:00.783074"]]
38659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38660
+  (0.2ms) ROLLBACK
38661
+  (0.1ms) BEGIN
38662
+  (0.1ms) SAVEPOINT active_record_1
38663
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 6], ["LIMIT", 1]]
38664
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 6], ["title", "Assignment 6"], ["due_at", "2018-05-09 19:24:00.786373"], ["unlock_at", "2018-05-01 19:24:00.786480"], ["lock_at", "2018-05-23 19:24:00.786531"], ["created_at", "2018-05-02 19:24:00.787726"], ["updated_at", "2018-05-02 19:24:00.787726"]]
38665
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38666
+  (0.2ms) ROLLBACK
38667
+  (0.1ms) BEGIN
38668
+  (0.2ms) SAVEPOINT active_record_1
38669
+ Course Exists (6.1ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 38681895], ["LIMIT", 1]]
38670
+ SQL (0.6ms) INSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_course_id", 38681895], ["sis_id", "3a73b0e5c69416b586a0ac7880ba7a11"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.805580"], ["end_date", "2018-05-23 19:24:00.805694"], ["created_at", "2018-05-02 19:24:00.813466"], ["updated_at", "2018-05-02 19:24:00.813466"]]
38671
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38672
+  (0.1ms) SAVEPOINT active_record_1
38673
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 19747250], ["LIMIT", 1]]
38674
+ 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", 19747250], ["sis_id", "57ec17311da8f803565972c0da086093"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.815717"], ["end_date", "2018-05-23 19:24:00.815798"], ["created_at", "2018-05-02 19:24:00.817111"], ["updated_at", "2018-05-02 19:24:00.817111"]]
38675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38676
+  (0.2ms) SAVEPOINT active_record_1
38677
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 7], ["LIMIT", 1]]
38678
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 7], ["title", "Assignment 7"], ["due_at", "2018-05-09 19:24:00.818887"], ["unlock_at", "2018-05-01 19:24:00.818990"], ["lock_at", "2018-05-23 19:24:00.819039"], ["created_at", "2018-05-02 19:24:00.820226"], ["updated_at", "2018-05-02 19:24:00.820226"]]
38679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38680
+  (0.1ms) SAVEPOINT active_record_1
38681
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_assignment_id", 7], ["id", 11], ["LIMIT", 1]]
38682
+ SQL (0.3ms) UPDATE "assignments" SET "context_id" = $1, "context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["context_id", 19747250], ["context_type", "Course"], ["updated_at", "2018-05-02 19:24:00.822735"], ["id", 11]]
38683
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38684
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 19747250], ["LIMIT", 1]]
38685
+  (0.2ms) ROLLBACK
38686
+  (0.1ms) BEGIN
38687
+  (0.2ms) SAVEPOINT active_record_1
38688
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 8], ["LIMIT", 1]]
38689
+ 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", 8], ["title", "Assignment 8"], ["due_at", "2018-05-09 19:24:00.859732"], ["unlock_at", "2018-05-01 19:24:00.863368"], ["lock_at", "2018-05-23 19:24:00.863489"], ["created_at", "2018-05-02 19:24:00.865102"], ["updated_at", "2018-05-02 19:24:00.865102"]]
38690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38691
+  (0.2ms) SAVEPOINT active_record_1
38692
+ SQL (0.8ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 8], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.867606"], ["updated_at", "2018-05-02 19:24:00.867606"]]
38693
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38694
+  (0.1ms) ROLLBACK
38695
+  (0.1ms) BEGIN
38696
+  (0.1ms) SAVEPOINT active_record_1
38697
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 9], ["LIMIT", 1]]
38698
+ 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", 9], ["title", "Assignment 9"], ["due_at", "2018-05-09 19:24:00.871342"], ["unlock_at", "2018-05-01 19:24:00.871435"], ["lock_at", "2018-05-23 19:24:00.871491"], ["created_at", "2018-05-02 19:24:00.872643"], ["updated_at", "2018-05-02 19:24:00.872643"]]
38699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38700
+  (0.3ms) SAVEPOINT active_record_1
38701
+ SQL (0.5ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 2], ["content_id", 9], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:00.878895"], ["updated_at", "2018-05-02 19:24:00.878895"]]
38702
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38703
+  (0.1ms) ROLLBACK
38704
+  (0.1ms) BEGIN
38705
+  (0.1ms) SAVEPOINT active_record_1
38706
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 58353165], ["LIMIT", 1]]
38707
+ 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", 58353165], ["sis_id", "f9f069cdf5cde8190487775504b0e088"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.894691"], ["end_date", "2018-05-23 19:24:00.894795"], ["created_at", "2018-05-02 19:24:00.896134"], ["updated_at", "2018-05-02 19:24:00.896134"]]
38708
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38709
+  (0.1ms) SAVEPOINT active_record_1
38710
+ SQL (6.8ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 3], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:00.897967"], ["updated_at", "2018-05-02 19:24:00.897967"]]
38711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38712
+  (0.1ms) ROLLBACK
38713
+  (0.2ms) BEGIN
38714
+  (0.1ms) SAVEPOINT active_record_1
38715
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 98321678], ["LIMIT", 1]]
38716
+ 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", 98321678], ["sis_id", "2d7b8834226cc23a78ba89f27652ad35"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.907682"], ["end_date", "2018-05-23 19:24:00.907779"], ["created_at", "2018-05-02 19:24:00.908950"], ["updated_at", "2018-05-02 19:24:00.908950"]]
38717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38718
+  (0.1ms) SAVEPOINT active_record_1
38719
+ SQL (0.4ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 2], ["canvas_context_id", 4], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:00.911136"], ["updated_at", "2018-05-02 19:24:00.911136"]]
38720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38721
+  (0.1ms) ROLLBACK
38722
+  (0.1ms) BEGIN
38723
+  (0.1ms) SAVEPOINT active_record_1
38724
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 28930554], ["LIMIT", 1]]
38725
+ 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", 28930554], ["sis_id", "11a5011370fcdea50f0c3843f77de79f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.915720"], ["end_date", "2018-05-23 19:24:00.915842"], ["created_at", "2018-05-02 19:24:00.917095"], ["updated_at", "2018-05-02 19:24:00.917095"]]
38726
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38727
+  (0.1ms) SAVEPOINT active_record_1
38728
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 3], ["canvas_context_id", 5], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:00.919004"], ["updated_at", "2018-05-02 19:24:00.919004"]]
38729
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38730
+  (0.1ms) ROLLBACK
38731
+  (0.1ms) BEGIN
38732
+  (0.1ms) SAVEPOINT active_record_1
38733
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 84155248], ["LIMIT", 1]]
38734
+ 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", 84155248], ["sis_id", "0285d80eef2a1b6c8071ff58bfe75942"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.922436"], ["end_date", "2018-05-23 19:24:00.922526"], ["created_at", "2018-05-02 19:24:00.923677"], ["updated_at", "2018-05-02 19:24:00.923677"]]
38735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38736
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 6], ["LIMIT", 1]]
38737
+  (0.1ms) ROLLBACK
38738
+  (0.1ms) BEGIN
38739
+  (0.1ms) SAVEPOINT active_record_1
38740
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 52311717], ["LIMIT", 1]]
38741
+ 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", 52311717], ["sis_id", "05609c6a5adc99cffd5bedabe0f45850"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.928146"], ["end_date", "2018-05-23 19:24:00.928227"], ["created_at", "2018-05-02 19:24:00.929286"], ["updated_at", "2018-05-02 19:24:00.929286"]]
38742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38743
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
38744
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 52311717], ["LIMIT", 1]]
38745
+  (0.1ms) ROLLBACK
38746
+  (0.1ms) BEGIN
38747
+  (0.2ms) SAVEPOINT active_record_1
38748
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 31538348], ["LIMIT", 1]]
38749
+ 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", 31538348], ["sis_id", "07ef44ffd8e6a53ff68eb2acf30566b0"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.938528"], ["end_date", "2018-05-23 19:24:00.938638"], ["created_at", "2018-05-02 19:24:00.940080"], ["updated_at", "2018-05-02 19:24:00.940080"]]
38750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38751
+  (0.1ms) ROLLBACK
38752
+  (0.1ms) BEGIN
38753
+  (0.1ms) SAVEPOINT active_record_1
38754
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 78810978], ["LIMIT", 1]]
38755
+ 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", 78810978], ["sis_id", "184f1dc88a80f81bccb5e590838c387f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.943278"], ["end_date", "2018-05-23 19:24:00.943404"], ["created_at", "2018-05-02 19:24:00.944542"], ["updated_at", "2018-05-02 19:24:00.944542"]]
38756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38757
+  (0.1ms) ROLLBACK
38758
+  (0.1ms) BEGIN
38759
+  (0.1ms) SAVEPOINT active_record_1
38760
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 4102642], ["LIMIT", 1]]
38761
+ 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", 4102642], ["sis_id", "8d43a5b42e7bbc3b521b8c4b9f5473e8"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.947764"], ["end_date", "2018-05-23 19:24:00.947846"], ["created_at", "2018-05-02 19:24:00.948908"], ["updated_at", "2018-05-02 19:24:00.948908"]]
38762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38763
+  (0.2ms) ROLLBACK
38764
+  (0.1ms) BEGIN
38765
+  (0.1ms) SAVEPOINT active_record_1
38766
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 31248044], ["LIMIT", 1]]
38767
+ 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", 31248044], ["sis_id", "9d5c201e9b9c834b38483bd9eab2f925"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.951801"], ["end_date", "2018-05-23 19:24:00.951869"], ["created_at", "2018-05-02 19:24:00.952897"], ["updated_at", "2018-05-02 19:24:00.952897"]]
38768
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38769
+  (0.1ms) ROLLBACK
38770
+  (0.1ms) BEGIN
38771
+  (0.1ms) SAVEPOINT active_record_1
38772
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 25797144], ["LIMIT", 1]]
38773
+ 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", 25797144], ["sis_id", "d50d57ccfd74e82097ea0b8e29db41ed"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.955817"], ["end_date", "2018-05-23 19:24:00.955888"], ["created_at", "2018-05-02 19:24:00.956939"], ["updated_at", "2018-05-02 19:24:00.956939"]]
38774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38775
+  (0.1ms) ROLLBACK
38776
+  (0.1ms) BEGIN
38777
+  (0.1ms) SAVEPOINT active_record_1
38778
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 29734911], ["LIMIT", 1]]
38779
+ 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", 29734911], ["sis_id", "8f3f6767da682ab621dcafe9f4920f1c"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:00.960838"], ["end_date", "2018-05-23 19:24:00.960954"], ["created_at", "2018-05-02 19:24:00.962182"], ["updated_at", "2018-05-02 19:24:00.962182"]]
38780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38781
+  (0.1ms) ROLLBACK
38782
+  (0.1ms) BEGIN
38783
+  (0.2ms) SAVEPOINT active_record_1
38784
+ Enrollment Exists (6.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 94234425], ["LIMIT", 1]]
38785
+ SQL (0.7ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 94234425], ["created_at", "2018-05-02 19:24:00.994645"], ["updated_at", "2018-05-02 19:24:00.994645"]]
38786
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38787
+ 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]]
38788
+  (0.2ms) ROLLBACK
38789
+  (0.1ms) BEGIN
38790
+  (0.1ms) SAVEPOINT active_record_1
38791
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 49799992], ["LIMIT", 1]]
38792
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 49799992], ["created_at", "2018-05-02 19:24:01.001047"], ["updated_at", "2018-05-02 19:24:01.001047"]]
38793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38794
+ Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]]
38795
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 49799992], ["LIMIT", 1]]
38796
+  (0.2ms) ROLLBACK
38797
+  (0.1ms) BEGIN
38798
+  (0.1ms) SAVEPOINT active_record_1
38799
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 7807286], ["LIMIT", 1]]
38800
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 7807286], ["created_at", "2018-05-02 19:24:01.008063"], ["updated_at", "2018-05-02 19:24:01.008063"]]
38801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38802
+  (0.1ms) ROLLBACK
38803
+  (0.1ms) BEGIN
38804
+  (0.1ms) SAVEPOINT active_record_1
38805
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 45675428], ["LIMIT", 1]]
38806
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 45675428], ["created_at", "2018-05-02 19:24:01.012661"], ["updated_at", "2018-05-02 19:24:01.012661"]]
38807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38808
+  (0.1ms) ROLLBACK
38809
+  (0.1ms) BEGIN
38810
+  (0.1ms) SAVEPOINT active_record_1
38811
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = $1 LIMIT $2 [["canvas_enrollment_id", 2035087], ["LIMIT", 1]]
38812
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_enrollment_id", 2035087], ["created_at", "2018-05-02 19:24:01.016627"], ["updated_at", "2018-05-02 19:24:01.016627"]]
38813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38814
+  (0.1ms) ROLLBACK
38815
+  (0.1ms) BEGIN
38816
+  (0.1ms) SAVEPOINT active_record_1
38817
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 89103505], ["LIMIT", 1]]
38818
+ 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", 89103505], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.020739"], ["updated_at", "2018-05-02 19:24:01.020739"]]
38819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38820
+ 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]]
38821
+  (0.1ms) ROLLBACK
38822
+  (0.1ms) BEGIN
38823
+  (0.1ms) SAVEPOINT active_record_1
38824
+ Role Exists (3.9ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 2128590], ["LIMIT", 1]]
38825
+ SQL (0.4ms) INSERT INTO "roles" ("canvas_role_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_role_id", 2128590], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.029563"], ["updated_at", "2018-05-02 19:24:01.029563"]]
38826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38827
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]]
38828
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 2128590], ["LIMIT", 1]]
38829
+  (0.2ms) ROLLBACK
38830
+  (0.1ms) BEGIN
38831
+  (0.2ms) SELECT COUNT(*) FROM "roles"
38832
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
38833
+  (0.2ms) SAVEPOINT active_record_1
38834
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
38835
+ 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-05-02 19:24:01.041281"], ["updated_at", "2018-05-02 19:24:01.041281"]]
38836
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38837
+  (0.2ms) SELECT COUNT(*) FROM "roles"
38838
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]
38839
+  (0.1ms) ROLLBACK
38840
+  (0.1ms) BEGIN
38841
+  (0.1ms) SAVEPOINT active_record_1
38842
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
38843
+ 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-05-02 19:24:01.053938"], ["updated_at", "2018-05-02 19:24:01.053938"]]
38844
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38845
+  (0.2ms) SELECT COUNT(*) FROM "roles"
38846
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_role_id" = $1 LIMIT $2 [["canvas_role_id", 1], ["LIMIT", 1]]
38847
+  (0.1ms) SAVEPOINT active_record_1
38848
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_role_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_role_id", 1], ["id", 6], ["LIMIT", 1]]
38849
+ SQL (0.7ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2018-05-02 19:24:01.060230"], ["id", 6]]
38850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38851
+  (0.3ms) SELECT COUNT(*) FROM "roles"
38852
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
38853
+  (0.1ms) ROLLBACK
38854
+  (0.1ms) BEGIN
38855
+  (0.2ms) SAVEPOINT active_record_1
38856
+ Section Exists (2.9ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 36442499], ["LIMIT", 1]]
38857
+ SQL (0.5ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 36442499], ["created_at", "2018-05-02 19:24:01.095042"], ["updated_at", "2018-05-02 19:24:01.095042"]]
38858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38859
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
38860
+  (0.1ms) ROLLBACK
38861
+  (0.2ms) BEGIN
38862
+  (0.1ms) SAVEPOINT active_record_1
38863
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6001030], ["LIMIT", 1]]
38864
+ SQL (0.4ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 6001030], ["created_at", "2018-05-02 19:24:01.105372"], ["updated_at", "2018-05-02 19:24:01.105372"]]
38865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38866
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
38867
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 6001030], ["LIMIT", 1]]
38868
+  (0.1ms) ROLLBACK
38869
+  (0.1ms) BEGIN
38870
+  (0.1ms) SAVEPOINT active_record_1
38871
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 71880449], ["LIMIT", 1]]
38872
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 71880449], ["created_at", "2018-05-02 19:24:01.112301"], ["updated_at", "2018-05-02 19:24:01.112301"]]
38873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38874
+  (0.1ms) ROLLBACK
38875
+  (0.1ms) BEGIN
38876
+  (0.1ms) SAVEPOINT active_record_1
38877
+ Section Exists (0.2ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = $1 LIMIT $2 [["canvas_section_id", 62754922], ["LIMIT", 1]]
38878
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_section_id", 62754922], ["created_at", "2018-05-02 19:24:01.116612"], ["updated_at", "2018-05-02 19:24:01.116612"]]
38879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38880
+  (0.2ms) ROLLBACK
38881
+  (0.1ms) BEGIN
38882
+  (0.2ms) SAVEPOINT active_record_1
38883
+ Submission Exists (8.8ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 1], ["LIMIT", 1]]
38884
+ SQL (1.6ms) 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-04-25 19:24:01.131460"], ["graded_at", "2018-05-01 19:24:01.131567"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.145531"], ["updated_at", "2018-05-02 19:24:01.145531"]]
38885
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38886
+ Submission Exists (0.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
38887
+  (0.1ms) ROLLBACK
38888
+  (0.1ms) BEGIN
38889
+  (0.2ms) SAVEPOINT active_record_1
38890
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
38891
+ SQL (0.3ms) INSERT INTO "submissions" ("canvas_submission_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_submission_id", 2], ["submitted_at", "2018-04-25 19:24:01.152425"], ["graded_at", "2018-05-01 19:24:01.152572"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.154182"], ["updated_at", "2018-05-02 19:24:01.154182"]]
38892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38893
+ Submission Load (0.2ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]]
38894
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 2], ["LIMIT", 1]]
38895
+  (0.1ms) ROLLBACK
38896
+  (0.1ms) BEGIN
38897
+  (0.1ms) SAVEPOINT active_record_1
38898
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 3], ["LIMIT", 1]]
38899
+ 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-04-25 19:24:01.160311"], ["graded_at", "2018-05-01 19:24:01.160438"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.161630"], ["updated_at", "2018-05-02 19:24:01.161630"]]
38900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38901
+  (0.1ms) ROLLBACK
38902
+  (0.1ms) BEGIN
38903
+  (0.1ms) SAVEPOINT active_record_1
38904
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 4], ["LIMIT", 1]]
38905
+ 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-04-25 19:24:01.164894"], ["graded_at", "2018-05-01 19:24:01.164972"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.166068"], ["updated_at", "2018-05-02 19:24:01.166068"]]
38906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38907
+  (0.1ms) ROLLBACK
38908
+  (0.1ms) BEGIN
38909
+  (0.1ms) SAVEPOINT active_record_1
38910
+ Submission Exists (0.2ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_submission_id" = $1 LIMIT $2 [["canvas_submission_id", 5], ["LIMIT", 1]]
38911
+ 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-04-25 19:24:01.168802"], ["graded_at", "2018-05-01 19:24:01.168872"], ["score", 5], ["points_possible", 10], ["created_at", "2018-05-02 19:24:01.170063"], ["updated_at", "2018-05-02 19:24:01.170063"]]
38912
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38913
+  (0.1ms) ROLLBACK
38914
+  (0.1ms) BEGIN
38915
+  (0.1ms) SAVEPOINT active_record_1
38916
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 38386411], ["LIMIT", 1]]
38917
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 38386411], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "a2b9080d622332c778edd2449d0a7464"], ["created_at", "2018-05-02 19:24:01.174175"], ["updated_at", "2018-05-02 19:24:01.174175"]]
38918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38919
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 10], ["LIMIT", 1]]
38920
+  (0.2ms) ROLLBACK
38921
+  (0.1ms) BEGIN
38922
+  (0.1ms) SAVEPOINT active_record_1
38923
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 78983909], ["LIMIT", 1]]
38924
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 78983909], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "a88db115bb63dd451692b2375df6e446"], ["created_at", "2018-05-02 19:24:01.183726"], ["updated_at", "2018-05-02 19:24:01.183726"]]
38925
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38926
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]]
38927
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 78983909], ["LIMIT", 1]]
38928
+  (0.1ms) ROLLBACK
38929
+  (0.1ms) BEGIN
38930
+  (0.1ms) SAVEPOINT active_record_1
38931
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 70580301], ["LIMIT", 1]]
38932
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 70580301], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "e92fd79283219aff3e3dda572dc349d2"], ["created_at", "2018-05-02 19:24:01.189742"], ["updated_at", "2018-05-02 19:24:01.189742"]]
38933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38934
+  (0.2ms) ROLLBACK
38935
+  (0.1ms) BEGIN
38936
+  (0.1ms) SAVEPOINT active_record_1
38937
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 73072311], ["LIMIT", 1]]
38938
+ 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", 73072311], ["name", "Cool Term"], ["start_at", "2018-04-30 19:24:01.192619"], ["end_at", "2018-05-05 19:24:01.192693"], ["workflow_state", "active"], ["sis_id", "f11a7d96e069ed2de288ecf69bfbd0d5"], ["created_at", "2018-05-02 19:24:01.194288"], ["updated_at", "2018-05-02 19:24:01.194288"]]
38939
+  (0.2ms) RELEASE SAVEPOINT active_record_1
38940
+  (0.2ms) SAVEPOINT active_record_1
38941
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 67180012], ["LIMIT", 1]]
38942
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 67180012], ["name", "Cool Term"], ["start_at", "2018-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "inactive"], ["sis_id", "f3e18327f54e2b130bce6af71e83616e"], ["created_at", "2018-05-02 19:24:01.197575"], ["updated_at", "2018-05-02 19:24:01.197575"]]
38943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38944
+  (0.2ms) SAVEPOINT active_record_1
38945
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 12872413], ["LIMIT", 1]]
38946
+ 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", 12872413], ["name", "Cool Term"], ["start_at", "2018-03-02 19:24:01.198817"], ["end_at", "2018-04-02 19:24:01.200792"], ["workflow_state", "active"], ["sis_id", "3bf115a2ef33b595aeb3334c97307c2f"], ["created_at", "2018-05-02 19:24:01.202313"], ["updated_at", "2018-05-02 19:24:01.202313"]]
38947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38948
+  (0.1ms) SAVEPOINT active_record_1
38949
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 92772924], ["LIMIT", 1]]
38950
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_term_id", 92772924], ["name", "Cool Term"], ["start_at", "2018-11-02 19:24:01.203829"], ["end_at", "2019-05-02 19:24:01.203931"], ["workflow_state", "active"], ["sis_id", "712e070fd53b86398c610ab761dbb403"], ["created_at", "2018-05-02 19:24:01.205151"], ["updated_at", "2018-05-02 19:24:01.205151"]]
38951
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38952
+ Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2018-05-17 19:24:01.206436' OR start_at IS NULL) AND (end_at >= '2018-04-17 19:24:01.206567' OR end_at IS NULL) [["workflow_state", "active"]]
38953
+  (0.1ms) ROLLBACK
38954
+  (0.1ms) BEGIN
38955
+  (0.2ms) SELECT COUNT(*) FROM "terms"
38956
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
38957
+  (0.1ms) SAVEPOINT active_record_1
38958
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
38959
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2018-05-02 19:24:01.211365"], ["updated_at", "2018-05-02 19:24:01.211365"]]
38960
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38961
+  (0.2ms) SELECT COUNT(*) FROM "terms"
38962
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]
38963
+  (0.2ms) ROLLBACK
38964
+  (0.1ms) BEGIN
38965
+  (0.2ms) SAVEPOINT active_record_1
38966
+ Term Exists (0.4ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
38967
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_term_id", "name", "start_at", "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-04-29 19:23:59.003659"], ["end_at", "2018-05-05 19:23:59.003837"], ["workflow_state", "active"], ["sis_id", "25ec9b1154c079f1ffea05180d441834"], ["created_at", "2018-05-02 19:24:01.220701"], ["updated_at", "2018-05-02 19:24:01.220701"]]
38968
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38969
+  (0.2ms) SELECT COUNT(*) FROM "terms"
38970
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = $1 LIMIT $2 [["canvas_term_id", 1], ["LIMIT", 1]]
38971
+  (0.2ms) SAVEPOINT active_record_1
38972
+ 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]]
38973
+ 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-05-02 19:24:01.224406"], ["id", 18]]
38974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38975
+  (0.2ms) SELECT COUNT(*) FROM "terms"
38976
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 18], ["LIMIT", 1]]
38977
+  (0.1ms) ROLLBACK
38978
+  (0.1ms) BEGIN
38979
+  (0.2ms) SAVEPOINT active_record_1
38980
+ User Exists (3.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 3200466], ["LIMIT", 1]]
38981
+ SQL (0.5ms) INSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_user_id", 3200466], ["sis_id", "2fe1db770f4c01fe96db2b4f28be0d91"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.244831"], ["updated_at", "2018-05-02 19:24:01.244831"]]
38982
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38983
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
38984
+  (0.2ms) ROLLBACK
38985
+  (0.1ms) BEGIN
38986
+  (0.1ms) SAVEPOINT active_record_1
38987
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 27256751], ["LIMIT", 1]]
38988
+ 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", 27256751], ["sis_id", "f0339c715deb0597bb801f373fad678e"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.251140"], ["updated_at", "2018-05-02 19:24:01.251140"]]
38989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38990
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
38991
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 27256751], ["LIMIT", 1]]
38992
+  (0.1ms) ROLLBACK
38993
+  (0.1ms) BEGIN
38994
+  (0.1ms) SAVEPOINT active_record_1
38995
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 71759824], ["LIMIT", 1]]
38996
+ 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", 71759824], ["sis_id", "fec77e18572258b07691477fbf77aca8"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.256987"], ["updated_at", "2018-05-02 19:24:01.256987"]]
38997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38998
+  (3.7ms) ROLLBACK
38999
+  (0.1ms) BEGIN
39000
+  (0.2ms) SAVEPOINT active_record_1
39001
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = $1 LIMIT $2 [["canvas_user_id", 41289803], ["LIMIT", 1]]
39002
+ 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", 41289803], ["sis_id", "88f119df10b4feb07638b767ea4ddb6c"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2018-05-02 19:24:01.264979"], ["updated_at", "2018-05-02 19:24:01.264979"]]
39003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39004
+  (0.1ms) ROLLBACK
39005
+  (0.1ms) BEGIN
39006
+  (0.3ms) SELECT COUNT(*) FROM "assignment_groups"
39007
+ AssignmentGroup Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "assignment_groups" ("canvas_assignment_group_id","canvas_course_id","name","rules","position","group_weight","workflow_state","canvas_created_at","canvas_updated_at","created_at","updated_at") VALUES (1,1,'Assignments','drop_lowest:1\nnever_drop:36\n',1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-05-02 19:24:01.276285','2018-05-02 19:24:01.276285'),(2,1,'Tests',NULL,1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2018-05-02 19:24:01.276285','2018-05-02 19:24:01.276285') ON CONFLICT (canvas_assignment_group_id) DO UPDATE SET "canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","rules"=EXCLUDED."rules","position"=EXCLUDED."position","group_weight"=EXCLUDED."group_weight","workflow_state"=EXCLUDED."workflow_state","canvas_created_at"=EXCLUDED."canvas_created_at","canvas_updated_at"=EXCLUDED."canvas_updated_at","updated_at"=EXCLUDED."updated_at" WHERE ("assignment_groups".canvas_assignment_group_id, "assignment_groups".canvas_course_id, "assignment_groups".name, "assignment_groups".rules, "assignment_groups".position, "assignment_groups".group_weight, "assignment_groups".workflow_state, "assignment_groups".canvas_created_at, "assignment_groups".canvas_updated_at) IS DISTINCT FROM (EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.rules, EXCLUDED.position, EXCLUDED.group_weight, EXCLUDED.workflow_state, EXCLUDED.canvas_created_at, EXCLUDED.canvas_updated_at) RETURNING "id"
39008
+  (0.3ms) SELECT COUNT(*) FROM "assignment_groups"
39009
+  (0.2ms) ROLLBACK
39010
+  (0.1ms) BEGIN
39011
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
39012
+ Assignment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "assignments" ("canvas_assignment_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","context_id","context_type","canvas_assignment_group_id","grading_scheme_id","grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','<p>fdsfds</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2018-05-02 19:24:01.292058','2018-05-02 19:24:01.292058'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2018-05-02 19:24:01.292058','2018-05-02 19:24:01.292058') 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"
39013
+  (0.2ms) SELECT COUNT(*) FROM "assignments"
39014
+  (0.1ms) ROLLBACK
39015
+  (0.1ms) BEGIN
39016
+  (1.1ms) SELECT COUNT(*) FROM "context_module_items"
39017
+ ContextModuleItem Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id","canvas_context_module_id","position","content_type","content_id","workflow_state","created_at","updated_at") VALUES (15,9,1,'Assignment',83,'active','2018-05-02 19:24:01.306811','2018-05-02 19:24:01.306811'),(16,10,1,'Assignment',80,'active','2018-05-02 19:24:01.306811','2018-05-02 19:24:01.306811') ON CONFLICT (canvas_context_module_item_id) DO UPDATE SET "canvas_context_module_item_id"=EXCLUDED."canvas_context_module_item_id","canvas_context_module_id"=EXCLUDED."canvas_context_module_id","position"=EXCLUDED."position","content_type"=EXCLUDED."content_type","content_id"=EXCLUDED."content_id","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("context_module_items".canvas_context_module_item_id, "context_module_items".canvas_context_module_id, "context_module_items".position, "context_module_items".content_type, "context_module_items".content_id, "context_module_items".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_context_module_item_id, EXCLUDED.canvas_context_module_id, EXCLUDED.position, EXCLUDED.content_type, EXCLUDED.content_id, EXCLUDED.workflow_state) RETURNING "id"
39018
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
39019
+  (0.1ms) ROLLBACK
39020
+  (0.1ms) BEGIN
39021
+  (0.5ms) SELECT COUNT(*) FROM "context_modules"
39022
+ ContextModule Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "context_modules" ("canvas_context_module_id","canvas_context_id","canvas_context_type","position","name","workflow_state","deleted_at","created_at","updated_at") VALUES (23,785,'Course',1,'New Mod','active',NULL,'2018-05-02 19:24:01.318422','2018-05-02 19:24:01.318422'),(4,27,'Course',1,'Modules gonna module','unpublished',NULL,'2018-05-02 19:24:01.318422','2018-05-02 19:24:01.318422') ON CONFLICT (canvas_context_module_id) DO UPDATE SET "canvas_context_module_id"=EXCLUDED."canvas_context_module_id","canvas_context_id"=EXCLUDED."canvas_context_id","canvas_context_type"=EXCLUDED."canvas_context_type","position"=EXCLUDED."position","name"=EXCLUDED."name","workflow_state"=EXCLUDED."workflow_state","deleted_at"=EXCLUDED."deleted_at","updated_at"=EXCLUDED."updated_at" WHERE ("context_modules".canvas_context_module_id, "context_modules".canvas_context_id, "context_modules".canvas_context_type, "context_modules".position, "context_modules".name, "context_modules".workflow_state, "context_modules".deleted_at) IS DISTINCT FROM (EXCLUDED.canvas_context_module_id, EXCLUDED.canvas_context_id, EXCLUDED.canvas_context_type, EXCLUDED.position, EXCLUDED.name, EXCLUDED.workflow_state, EXCLUDED.deleted_at) RETURNING "id"
39023
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
39024
+  (0.1ms) ROLLBACK
39025
+  (0.1ms) BEGIN
39026
+  (0.2ms) SELECT COUNT(*) FROM "users"
39027
+ 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-05-02 19:24:01.328393','2018-05-02 19:24:01.328393'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-05-02 19:24:01.328393','2018-05-02 19:24:01.328393') 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"
39028
+  (0.2ms) SELECT COUNT(*) FROM "users"
39029
+  (0.1ms) ROLLBACK
39030
+  (0.1ms) BEGIN
39031
+  (0.2ms) SELECT COUNT(*) FROM "courses"
39032
+ Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2018-05-02 19:24:01.341380','2018-05-02 19:24:01.341380'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-05-02 19:24:01.341380','2018-05-02 19:24:01.341380') 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"
39033
+  (0.2ms) SELECT COUNT(*) FROM "courses"
39034
+ Course Load (0.3ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
39035
+  (0.1ms) ROLLBACK
39036
+  (0.1ms) BEGIN
39037
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
39038
+ Enrollment Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2018-05-02 19:24:01.352458','2018-05-02 19:24:01.352458'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2018-05-02 19:24:01.352458','2018-05-02 19:24:01.352458') 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"
39039
+  (0.3ms) SELECT COUNT(*) FROM "enrollments"
39040
+  (0.2ms) ROLLBACK
39041
+  (0.1ms) BEGIN
39042
+  (0.2ms) SELECT COUNT(*) FROM "sections"
39043
+ Section Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-05-02 19:24:01.363957','2018-05-02 19:24:01.363957'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2018-05-02 19:24:01.363957','2018-05-02 19:24:01.363957') 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"
39044
+  (0.2ms) SELECT COUNT(*) FROM "sections"
39045
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
39046
+  (0.1ms) ROLLBACK
39047
+  (0.1ms) BEGIN
39048
+ Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_section_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2018-05-02 19:24:01.373101','2018-05-02 19:24:01.373101') 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"
39049
+  (0.3ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)
39050
+ Section Load (0.3ms) SELECT "sections".* FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL) ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
39051
+  (0.2ms) ROLLBACK
39052
+  (0.1ms) BEGIN
39053
+  (0.2ms) SELECT COUNT(*) FROM "users"
39054
+  (0.2ms) SELECT COUNT(*) FROM "courses"
39055
+ 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-05-02 19:24:01.389435','2018-05-02 19:24:01.389435'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2018-05-02 19:24:01.389435','2018-05-02 19:24:01.389435') 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"
39056
+ User Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2018-05-02 19:24:01.392738','2018-05-02 19:24:01.392738'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2018-05-02 19:24:01.392738','2018-05-02 19:24:01.392738') 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"
39057
+  (0.3ms) SELECT COUNT(*) FROM "users"
39058
+  (0.3ms) SELECT COUNT(*) FROM "courses"
39059
+  (0.1ms) ROLLBACK
39060
+  (0.1ms) BEGIN
39061
+  (0.3ms) ROLLBACK
39062
+  (0.1ms) BEGIN
39063
+  (0.3ms) SELECT COUNT(*) FROM "submissions"
39064
+ Submission Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-05-02 19:24:01.414274','2018-05-02 19:24:01.414274'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-05-02 19:24:01.414274','2018-05-02 19:24:01.414274') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"
39065
+  (0.2ms) SELECT COUNT(*) FROM "submissions"
39066
+  (0.2ms) ROLLBACK
39067
+  (0.1ms) BEGIN
39068
+  (0.1ms) SAVEPOINT active_record_1
39069
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = $1 LIMIT $2 [["canvas_course_id", 62358415], ["LIMIT", 1]]
39070
+ 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", 62358415], ["sis_id", "642c9e46ba1fdb184a7e1e9967cd6cff"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2018-04-29 19:24:01.423323"], ["end_date", "2018-05-23 19:24:01.423418"], ["created_at", "2018-05-02 19:24:01.424938"], ["updated_at", "2018-05-02 19:24:01.424938"]]
39071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39072
+  (0.1ms) SAVEPOINT active_record_1
39073
+ SQL (0.4ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 18], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2018-05-02 19:24:01.428432"], ["updated_at", "2018-05-02 19:24:01.428432"]]
39074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39075
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
39076
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2 [["canvas_context_module_id", 1], ["LIMIT", 1]]
39077
+  (0.2ms) SAVEPOINT active_record_1
39078
+ SQL (0.4ms) UPDATE "context_modules" SET "canvas_context_id" = $1, "position" = $2, "name" = $3, "workflow_state" = $4, "updated_at" = $5 WHERE "context_modules"."id" = $6 [["canvas_context_id", 1], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["updated_at", "2018-05-02 19:24:01.441012"], ["id", 6]]
39079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39080
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
39081
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
39082
+  (0.1ms) ROLLBACK
39083
+  (0.1ms) BEGIN
39084
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
39085
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_context_module_id" = $1 LIMIT $2 [["canvas_context_module_id", 1], ["LIMIT", 1]]
39086
+  (0.2ms) SAVEPOINT active_record_1
39087
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_context_module_id", "canvas_context_id", "canvas_context_type", "position", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_id", 1], ["canvas_context_id", 1], ["canvas_context_type", "Course"], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.455765"], ["updated_at", "2018-05-02 19:24:01.455765"]]
39088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39089
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
39090
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
39091
+ ContextModule Load (0.1ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
39092
+ ContextModule Load (0.3ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
39093
+  (0.3ms) ROLLBACK
39094
+  (0.1ms) BEGIN
39095
+  (0.1ms) SAVEPOINT active_record_1
39096
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_assignment_id" = $1 LIMIT $2 [["canvas_assignment_id", 10], ["LIMIT", 1]]
39097
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_assignment_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_assignment_id", 10], ["title", "Assignment 10"], ["due_at", "2018-05-09 19:24:01.465264"], ["unlock_at", "2018-05-01 19:24:01.465401"], ["lock_at", "2018-05-23 19:24:01.465453"], ["created_at", "2018-05-02 19:24:01.467097"], ["updated_at", "2018-05-02 19:24:01.467097"]]
39098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39099
+  (0.2ms) SAVEPOINT active_record_1
39100
+ SQL (0.4ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_context_module_item_id", 1], ["content_id", 10], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.469945"], ["updated_at", "2018-05-02 19:24:01.469945"]]
39101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39102
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
39103
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
39104
+  (0.2ms) SAVEPOINT active_record_1
39105
+ SQL (4.0ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "content_id" = $3, "content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["content_id", 143], ["content_type", "Assignment"], ["updated_at", "2018-05-02 19:24:01.480722"], ["id", 12]]
39106
+  (0.2ms) RELEASE SAVEPOINT active_record_1
39107
+  (0.4ms) SELECT COUNT(*) FROM "context_module_items"
39108
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 12], ["LIMIT", 1]]
39109
+  (0.2ms) ROLLBACK
39110
+  (0.1ms) BEGIN
39111
+  (0.3ms) SELECT COUNT(*) FROM "context_module_items"
39112
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_context_module_item_id" = $1 LIMIT $2 [["canvas_context_module_item_id", 1], ["LIMIT", 1]]
39113
+  (0.2ms) SAVEPOINT active_record_1
39114
+ SQL (0.5ms) INSERT INTO "context_module_items" ("canvas_context_module_item_id", "canvas_context_module_id", "position", "content_type", "content_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_context_module_item_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["content_type", "Assignment"], ["content_id", 143], ["workflow_state", "active"], ["created_at", "2018-05-02 19:24:01.498005"], ["updated_at", "2018-05-02 19:24:01.498005"]]
39115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
39116
+  (0.4ms) SELECT COUNT(*) FROM "context_module_items"
39117
+ ContextModuleItem Load (0.3ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
39118
+  (0.4ms) ROLLBACK