canvas_sync 0.9.4 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -0
  3. data/lib/canvas_sync/api_syncable.rb +1 -0
  4. data/lib/canvas_sync/generators/install_generator.rb +3 -3
  5. data/lib/canvas_sync/generators/templates/migrations/create_accounts.rb +17 -0
  6. data/lib/canvas_sync/generators/templates/{models → migrations}/create_admins.rb +2 -2
  7. data/lib/canvas_sync/generators/templates/{models → migrations}/create_assignment_groups.rb +2 -2
  8. data/lib/canvas_sync/generators/templates/{models → migrations}/create_assignments.rb +7 -7
  9. data/lib/canvas_sync/generators/templates/{models → migrations}/create_context_module_items.rb +4 -4
  10. data/lib/canvas_sync/generators/templates/{models → migrations}/create_context_modules.rb +2 -2
  11. data/lib/canvas_sync/generators/templates/{models → migrations}/create_courses.rb +7 -8
  12. data/lib/canvas_sync/generators/templates/{models → migrations}/create_enrollments.rb +4 -6
  13. data/lib/canvas_sync/generators/templates/{models → migrations}/create_roles.rb +2 -2
  14. data/lib/canvas_sync/generators/templates/{models → migrations}/create_sections.rb +5 -5
  15. data/lib/canvas_sync/generators/templates/{models → migrations}/create_submissions.rb +2 -2
  16. data/lib/canvas_sync/generators/templates/{models → migrations}/create_terms.rb +2 -2
  17. data/lib/canvas_sync/generators/templates/{models → migrations}/create_users.rb +4 -4
  18. data/lib/canvas_sync/generators/templates/models/account.rb +4 -4
  19. data/lib/canvas_sync/generators/templates/models/admin.rb +4 -4
  20. data/lib/canvas_sync/generators/templates/models/assignment.rb +10 -9
  21. data/lib/canvas_sync/generators/templates/models/assignment_group.rb +5 -5
  22. data/lib/canvas_sync/generators/templates/models/context_module.rb +2 -2
  23. data/lib/canvas_sync/generators/templates/models/context_module_item.rb +3 -2
  24. data/lib/canvas_sync/generators/templates/models/course.rb +14 -14
  25. data/lib/canvas_sync/generators/templates/models/enrollment.rb +10 -9
  26. data/lib/canvas_sync/generators/templates/models/role.rb +3 -3
  27. data/lib/canvas_sync/generators/templates/models/section.rb +6 -6
  28. data/lib/canvas_sync/generators/templates/models/submission.rb +5 -5
  29. data/lib/canvas_sync/generators/templates/models/term.rb +4 -3
  30. data/lib/canvas_sync/generators/templates/models/user.rb +6 -6
  31. data/lib/canvas_sync/generators/templates/services/live_events/base_event.rb +4 -0
  32. data/lib/canvas_sync/generators/templates/services/live_events/course/course_event.rb +1 -1
  33. data/lib/canvas_sync/generators/templates/services/live_events/course_section/course_section_event.rb +4 -4
  34. data/lib/canvas_sync/generators/templates/services/live_events/module/module_event.rb +1 -1
  35. data/lib/canvas_sync/generators/templates/services/live_events/module_item/module_item_event.rb +3 -3
  36. data/lib/canvas_sync/generators/templates/services/live_events/user/user_event.rb +1 -1
  37. data/lib/canvas_sync/jobs/sync_provisioning_report_job.rb +7 -2
  38. data/lib/canvas_sync/jobs/sync_simple_table_job.rb +7 -2
  39. data/lib/canvas_sync/processors/model_mappings.yml +35 -41
  40. data/lib/canvas_sync/version.rb +1 -1
  41. data/spec/canvas_sync/jobs/sync_provisioning_report_job_spec.rb +4 -4
  42. data/spec/canvas_sync/jobs/sync_simple_table_job_spec.rb +3 -3
  43. data/spec/canvas_sync/models/accounts_spec.rb +2 -2
  44. data/spec/canvas_sync/models/admins_spec.rb +3 -3
  45. data/spec/canvas_sync/models/assignment_group_spec.rb +4 -4
  46. data/spec/canvas_sync/models/assignment_spec.rb +8 -8
  47. data/spec/canvas_sync/models/context_module_spec.rb +2 -2
  48. data/spec/canvas_sync/models/course_spec.rb +7 -8
  49. data/spec/canvas_sync/models/enrollment_spec.rb +5 -5
  50. data/spec/canvas_sync/models/roles_spec.rb +3 -3
  51. data/spec/canvas_sync/models/section_spec.rb +4 -4
  52. data/spec/canvas_sync/models/submission_spec.rb +5 -5
  53. data/spec/canvas_sync/models/term_spec.rb +7 -7
  54. data/spec/canvas_sync/models/user_spec.rb +4 -4
  55. data/spec/canvas_sync/processors/provisioning_report_processor_spec.rb +5 -5
  56. data/spec/canvas_sync/services/module_event_spec.rb +1 -1
  57. data/spec/canvas_sync/services/module_item_event_spec.rb +7 -7
  58. data/spec/dummy/app/models/account.rb +9 -1
  59. data/spec/dummy/app/models/admin.rb +4 -4
  60. data/spec/dummy/app/models/assignment.rb +23 -5
  61. data/spec/dummy/app/models/assignment_group.rb +15 -3
  62. data/spec/dummy/app/models/context_module.rb +2 -2
  63. data/spec/dummy/app/models/context_module_item.rb +3 -2
  64. data/spec/dummy/app/models/course.rb +20 -7
  65. data/spec/dummy/app/models/enrollment.rb +20 -4
  66. data/spec/dummy/app/models/role.rb +3 -3
  67. data/spec/dummy/app/models/section.rb +14 -3
  68. data/spec/dummy/app/models/submission.rb +16 -4
  69. data/spec/dummy/app/models/term.rb +4 -3
  70. data/spec/dummy/app/models/user.rb +15 -4
  71. data/spec/dummy/app/services/live_events/base_event.rb +4 -0
  72. data/spec/dummy/app/services/live_events/course_event.rb +1 -1
  73. data/spec/dummy/app/services/live_events/course_section_event.rb +4 -4
  74. data/spec/dummy/app/services/live_events/module_event.rb +1 -1
  75. data/spec/dummy/app/services/live_events/module_item_event.rb +3 -3
  76. data/spec/dummy/app/services/live_events/user_event.rb +1 -1
  77. data/spec/dummy/db/migrate/{20180216171618_create_submissions.rb → 20190521003447_create_submissions.rb} +4 -4
  78. data/spec/dummy/db/migrate/{20180103162102_create_roles.rb → 20190521003448_create_roles.rb} +2 -2
  79. data/spec/dummy/db/migrate/{20180109210452_create_admins.rb → 20190521003449_create_admins.rb} +2 -2
  80. data/spec/dummy/db/migrate/{20180222163506_create_assignment_groups.rb → 20190521003450_create_assignment_groups.rb} +2 -2
  81. data/spec/dummy/db/migrate/{20180411215348_create_context_modules.rb → 20190521003451_create_context_modules.rb} +2 -2
  82. data/spec/dummy/db/migrate/{20180215214227_create_assignments.rb → 20190603192310_create_assignments.rb} +11 -11
  83. data/spec/dummy/db/migrate/{20180605172338_create_context_module_items.rb → 20190603193502_create_context_module_items.rb} +4 -4
  84. data/spec/dummy/db/migrate/{20180509194201_create_users.rb → 20190603215718_create_users.rb} +4 -4
  85. data/spec/dummy/db/migrate/{20170906193506_create_terms.rb → 20190603215721_create_terms.rb} +2 -2
  86. data/spec/dummy/db/migrate/{20171107213207_create_sections.rb → 20190603215722_create_sections.rb} +5 -5
  87. data/spec/dummy/db/migrate/{20170914181345_create_courses.rb → 20190603220011_create_courses.rb} +7 -8
  88. data/spec/dummy/db/migrate/{20170905192509_create_enrollments.rb → 20190603220013_create_enrollments.rb} +4 -6
  89. data/spec/dummy/db/migrate/{20180220172559_create_accounts.rb → 20190604193942_create_accounts.rb} +6 -6
  90. data/spec/dummy/db/schema.rb +56 -58
  91. data/spec/dummy/log/test.log +1350 -0
  92. data/spec/factories/account_factory.rb +5 -5
  93. data/spec/factories/admin_factory.rb +1 -1
  94. data/spec/factories/assignment_factory.rb +1 -1
  95. data/spec/factories/assignment_group_factory.rb +1 -1
  96. data/spec/factories/context_module_factory.rb +2 -2
  97. data/spec/factories/context_module_item_factory.rb +1 -1
  98. data/spec/factories/course_factory.rb +5 -5
  99. data/spec/factories/enrollment_factory.rb +1 -1
  100. data/spec/factories/role_factory.rb +1 -1
  101. data/spec/factories/section_factory.rb +1 -1
  102. data/spec/factories/submission_factory.rb +1 -1
  103. data/spec/factories/term_factory.rb +1 -1
  104. data/spec/factories/user_factory.rb +1 -1
  105. data/spec/spec_helper.rb +1 -0
  106. metadata +41 -41
  107. data/lib/canvas_sync/generators/templates/models/create_accounts.rb +0 -17
@@ -41906,3 +41906,1353 @@ end
41906
41906
  Submission Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "submissions" ("canvas_submission_id","canvas_user_id","canvas_course_id","canvas_assignment_id","submitted_at","graded_at","score","points_possible","excused","workflow_state","created_at","updated_at") VALUES (1,1,1,1,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'t','graded','2018-02-22 16:35:30.554505','2018-02-22 16:35:30.554505'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5,10,'f','submitted','2018-02-22 16:35:30.554505','2018-02-22 16:35:30.554505') ON CONFLICT (canvas_submission_id) DO UPDATE SET "canvas_submission_id"=EXCLUDED."canvas_submission_id","canvas_user_id"=EXCLUDED."canvas_user_id","canvas_course_id"=EXCLUDED."canvas_course_id","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","submitted_at"=EXCLUDED."submitted_at","graded_at"=EXCLUDED."graded_at","score"=EXCLUDED."score","points_possible"=EXCLUDED."points_possible","excused"=EXCLUDED."excused","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("submissions".canvas_submission_id, "submissions".canvas_user_id, "submissions".canvas_course_id, "submissions".canvas_assignment_id, "submissions".submitted_at, "submissions".graded_at, "submissions".score, "submissions".points_possible, "submissions".excused, "submissions".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_submission_id, EXCLUDED.canvas_user_id, EXCLUDED.canvas_course_id, EXCLUDED.canvas_assignment_id, EXCLUDED.submitted_at, EXCLUDED.graded_at, EXCLUDED.score, EXCLUDED.points_possible, EXCLUDED.excused, EXCLUDED.workflow_state) RETURNING "id"
41907
41907
   (0.2ms) SELECT COUNT(*) FROM "submissions"
41908
41908
   (0.1ms) ROLLBACK
41909
+  (3.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
41910
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
41911
+  (6.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
41912
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
41913
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
41914
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
41915
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
41916
+  (274.2ms) DROP DATABASE IF EXISTS "canvas_sync_test"
41917
+  (796.5ms) CREATE DATABASE "canvas_sync_test" ENCODING = 'utf8'
41918
+ SQL (2.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
41919
+  (0.6ms) DROP TABLE IF EXISTS "accounts" CASCADE
41920
+  (44.2ms) CREATE TABLE "accounts" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_parent_account_id" bigint, "sis_parent_account_id" character varying, "name" character varying, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41921
+  (3.4ms) CREATE UNIQUE INDEX "index_accounts_on_canvas_id" ON "accounts" ("canvas_id")
41922
+  (0.3ms) DROP TABLE IF EXISTS "admins" CASCADE
41923
+  (8.7ms) CREATE TABLE "admins" ("id" bigserial primary key, "canvas_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)
41924
+  (1.8ms) CREATE UNIQUE INDEX "index_admins_on_canvas_id" ON "admins" ("canvas_id")
41925
+  (0.1ms) DROP TABLE IF EXISTS "assignment_groups" CASCADE
41926
+  (6.7ms) CREATE TABLE "assignment_groups" ("id" bigserial primary key, "canvas_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)
41927
+  (1.7ms) CREATE INDEX "index_assignment_groups_on_canvas_course_id" ON "assignment_groups" ("canvas_course_id")
41928
+  (1.9ms) CREATE UNIQUE INDEX "index_assignment_groups_on_canvas_id" ON "assignment_groups" ("canvas_id")
41929
+  (0.2ms) DROP TABLE IF EXISTS "assignments" CASCADE
41930
+  (7.6ms) CREATE TABLE "assignments" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "title" character varying, "description" text, "due_at" timestamp, "unlock_at" timestamp, "lock_at" timestamp, "points_possible" float, "min_score" float, "max_score" float, "mastery_score" float, "grading_type" character varying, "submission_types" character varying, "workflow_state" character varying, "canvas_context_id" integer, "canvas_context_type" character varying, "canvas_assignment_group_id" integer, "canvas_grading_scheme_id" integer, "canvas_grading_standard_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41931
+  (2.1ms) CREATE INDEX "index_assignments_on_canvas_context_id_and_canvas_context_type" ON "assignments" ("canvas_context_id", "canvas_context_type")
41932
+  (1.8ms) CREATE UNIQUE INDEX "index_assignments_on_canvas_id" ON "assignments" ("canvas_id")
41933
+  (0.2ms) DROP TABLE IF EXISTS "canvas_sync_job_logs" CASCADE
41934
+  (6.6ms) CREATE TABLE "canvas_sync_job_logs" ("id" bigserial primary key, "started_at" timestamp, "completed_at" timestamp, "exception" character varying, "backtrace" text, "job_class" character varying, "status" character varying, "metadata" text, "job_arguments" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "job_id" character varying)
41935
+  (2.7ms) CREATE INDEX "index_canvas_sync_job_logs_on_job_id" ON "canvas_sync_job_logs" ("job_id")
41936
+  (0.2ms) DROP TABLE IF EXISTS "context_module_items" CASCADE
41937
+  (7.4ms) CREATE TABLE "context_module_items" ("id" bigserial primary key, "canvas_id" bigint, "canvas_context_module_id" bigint, "position" integer, "canvas_content_id" bigint, "canvas_content_type" character varying, "canvas_assignment_id" bigint, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41938
+  (2.1ms) CREATE INDEX "index_context_module_items_on_canvas_context_module_id" ON "context_module_items" ("canvas_context_module_id")
41939
+  (2.6ms) CREATE UNIQUE INDEX "index_context_module_items_on_canvas_id" ON "context_module_items" ("canvas_id")
41940
+  (0.1ms) DROP TABLE IF EXISTS "context_modules" CASCADE
41941
+  (6.4ms) CREATE TABLE "context_modules" ("id" bigserial primary key, "canvas_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)
41942
+  (2.8ms) CREATE INDEX "index_context_modules_on_context" ON "context_modules" ("canvas_context_id", "canvas_context_type")
41943
+  (2.0ms) CREATE UNIQUE INDEX "index_context_modules_on_canvas_id" ON "context_modules" ("canvas_id")
41944
+  (0.1ms) DROP TABLE IF EXISTS "courses" CASCADE
41945
+  (7.7ms) CREATE TABLE "courses" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "course_code" character varying, "name" character varying, "workflow_state" character varying, "canvas_account_id" integer, "canvas_term_id" integer, "start_at" timestamp, "end_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41946
+  (2.9ms) CREATE UNIQUE INDEX "index_courses_on_canvas_id" ON "courses" ("canvas_id")
41947
+  (0.2ms) DROP TABLE IF EXISTS "enrollments" CASCADE
41948
+  (8.9ms) CREATE TABLE "enrollments" ("id" bigserial primary key, "canvas_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, "canvas_role_id" integer, "canvas_section_id" bigint, "workflow_state" character varying, "base_role_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41949
+  (2.1ms) CREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")
41950
+  (1.8ms) CREATE UNIQUE INDEX "index_enrollments_on_canvas_id" ON "enrollments" ("canvas_id")
41951
+  (1.9ms) CREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")
41952
+  (1.1ms) DROP TABLE IF EXISTS "roles" CASCADE
41953
+  (6.4ms) CREATE TABLE "roles" ("id" bigserial primary key, "canvas_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)
41954
+  (1.8ms) CREATE UNIQUE INDEX "index_roles_on_canvas_id" ON "roles" ("canvas_id")
41955
+  (0.1ms) DROP TABLE IF EXISTS "sections" CASCADE
41956
+  (54.2ms) CREATE TABLE "sections" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "canvas_course_id" bigint, "canvas_nonxlist_course_id" bigint, "name" character varying, "workflow_state" character varying, "start_at" timestamp, "end_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41957
+  (2.2ms) CREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")
41958
+  (1.8ms) CREATE UNIQUE INDEX "index_sections_on_canvas_id" ON "sections" ("canvas_id")
41959
+  (0.2ms) DROP TABLE IF EXISTS "submissions" CASCADE
41960
+  (5.0ms) CREATE TABLE "submissions" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "canvas_course_id" bigint, "canvas_assignment_id" bigint, "canvas_user_id" bigint, "submitted_at" timestamp, "graded_at" timestamp, "score" float, "points_possible" float, "excused" boolean, "workflow_state" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41961
+  (2.3ms) CREATE INDEX "index_submissions_on_canvas_assignment_id" ON "submissions" ("canvas_assignment_id")
41962
+  (1.9ms) CREATE INDEX "index_submissions_on_canvas_course_id" ON "submissions" ("canvas_course_id")
41963
+  (1.8ms) CREATE UNIQUE INDEX "index_submissions_on_canvas_id" ON "submissions" ("canvas_id")
41964
+  (1.7ms) CREATE INDEX "index_submissions_on_canvas_user_id" ON "submissions" ("canvas_user_id")
41965
+  (0.1ms) DROP TABLE IF EXISTS "terms" CASCADE
41966
+  (6.4ms) CREATE TABLE "terms" ("id" bigserial primary key, "canvas_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)
41967
+  (2.0ms) CREATE UNIQUE INDEX "index_terms_on_canvas_id" ON "terms" ("canvas_id")
41968
+  (0.2ms) DROP TABLE IF EXISTS "users" CASCADE
41969
+  (6.0ms) CREATE TABLE "users" ("id" bigserial primary key, "canvas_id" bigint NOT NULL, "sis_id" character varying, "email" character varying, "first_name" character varying, "last_name" character varying, "workflow_state" character varying, "login_id" character varying, "name" character varying, "sortable_name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41970
+  (2.0ms) CREATE UNIQUE INDEX "index_users_on_canvas_id" ON "users" ("canvas_id")
41971
+  (5.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
41972
+  (2.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
41973
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20190604193942)
41974
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES
41975
+ (20190521003451),
41976
+ (20190603220011),
41977
+ (20190603192310),
41978
+ (20190603215721),
41979
+ (20190521003449),
41980
+ (20190603193502),
41981
+ (20190521003448),
41982
+ (20190603215722),
41983
+ (20190521003450),
41984
+ (20190603215718),
41985
+ (20190603220013),
41986
+ (20190521003447),
41987
+ (20180725155729),
41988
+ (20170915210836);
41989
+
41990
+ 
41991
+  (6.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
41992
+ ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
41993
+  (0.1ms) BEGIN
41994
+ 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", "2019-06-06 22:04:46.554204"], ["updated_at", "2019-06-06 22:04:46.554204"]]
41995
+  (0.2ms) COMMIT
41996
+ 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]]
41997
+  (0.1ms) BEGIN
41998
+  (0.1ms) COMMIT
41999
+  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
42000
+  (0.3ms) BEGIN
42001
+  (0.2ms) ROLLBACK
42002
+  (0.1ms) BEGIN
42003
+  (0.1ms) ROLLBACK
42004
+  (0.1ms) BEGIN
42005
+  (0.2ms) ROLLBACK
42006
+  (0.1ms) BEGIN
42007
+  (0.1ms) ROLLBACK
42008
+  (0.1ms) BEGIN
42009
+  (0.1ms) ROLLBACK
42010
+  (0.1ms) BEGIN
42011
+  (0.1ms) ROLLBACK
42012
+  (0.1ms) BEGIN
42013
+  (0.1ms) ROLLBACK
42014
+  (0.1ms) BEGIN
42015
+  (0.1ms) ROLLBACK
42016
+  (0.1ms) BEGIN
42017
+  (0.1ms) ROLLBACK
42018
+  (0.1ms) BEGIN
42019
+  (0.1ms) ROLLBACK
42020
+  (0.1ms) BEGIN
42021
+  (0.1ms) ROLLBACK
42022
+  (0.1ms) BEGIN
42023
+  (0.1ms) ROLLBACK
42024
+  (0.1ms) BEGIN
42025
+  (0.1ms) ROLLBACK
42026
+  (0.1ms) BEGIN
42027
+  (2.7ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
42028
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2] Performing GoodJob (Job ID: d6422da2-7625-4fce-bde9-2b9273ad41c2) from Async(default) with arguments: "argument"
42029
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "d6422da2-7625-4fce-bde9-2b9273ad41c2"], ["LIMIT", 1]]
42030
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2]  (0.2ms) SAVEPOINT active_record_1
42031
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2] SQL (0.7ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "GoodJob"], ["status", "enqueued"], ["job_arguments", "---\n- argument\n"], ["created_at", "2019-06-06 22:04:46.938785"], ["updated_at", "2019-06-06 22:04:46.938785"], ["job_id", "d6422da2-7625-4fce-bde9-2b9273ad41c2"]]
42032
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2]  (0.1ms) RELEASE SAVEPOINT active_record_1
42033
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2]  (0.1ms) SAVEPOINT active_record_1
42034
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:46.941456"], ["status", "running"], ["updated_at", "2019-06-06 22:04:46.941794"], ["id", 1]]
42035
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2]  (0.1ms) RELEASE SAVEPOINT active_record_1
42036
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2]  (0.1ms) SAVEPOINT active_record_1
42037
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2] 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", "2019-06-06 22:04:46.943444"], ["status", "success"], ["updated_at", "2019-06-06 22:04:46.943750"], ["id", 1]]
42038
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2]  (0.1ms) RELEASE SAVEPOINT active_record_1
42039
+ [ActiveJob] [GoodJob] [d6422da2-7625-4fce-bde9-2b9273ad41c2] Performed GoodJob (Job ID: d6422da2-7625-4fce-bde9-2b9273ad41c2) from Async(default) in 25.13ms
42040
+  (0.3ms) SELECT COUNT(*) FROM "canvas_sync_job_logs"
42041
+ 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]]
42042
+  (0.2ms) ROLLBACK
42043
+  (0.1ms) BEGIN
42044
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b] Performing BadJob (Job ID: 98a544c3-f6e7-458e-abf1-4a768ca89c7b) from Async(default) with arguments: "argument"
42045
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "98a544c3-f6e7-458e-abf1-4a768ca89c7b"], ["LIMIT", 1]]
42046
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b]  (0.1ms) SAVEPOINT active_record_1
42047
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "BadJob"], ["status", "enqueued"], ["job_arguments", "---\n- argument\n"], ["created_at", "2019-06-06 22:04:46.956025"], ["updated_at", "2019-06-06 22:04:46.956025"], ["job_id", "98a544c3-f6e7-458e-abf1-4a768ca89c7b"]]
42048
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42049
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b]  (0.1ms) SAVEPOINT active_record_1
42050
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:46.957701"], ["status", "running"], ["updated_at", "2019-06-06 22:04:46.958019"], ["id", 2]]
42051
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42052
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b]  (0.1ms) SAVEPOINT active_record_1
42053
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b] 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", "2019-06-06 22:04:46.959581"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:17:in `block in <class:Job>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.9.5/lib/i18n.rb:268:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:28:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:463:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:27:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:18:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2019-06-06 22:04:46.959876"], ["id", 2]]
42054
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42055
+ [ActiveJob] [BadJob] [98a544c3-f6e7-458e-abf1-4a768ca89c7b] Error performing BadJob (Job ID: 98a544c3-f6e7-458e-abf1-4a768ca89c7b) from Async(default) in 6.98ms: EvilError (EvilError):
42056
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
42057
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
42058
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
42059
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:17:in `block in <class:Job>'
42060
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
42061
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
42062
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.9.5/lib/i18n.rb:268:in `with_locale'
42063
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
42064
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
42065
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
42066
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
42067
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
42068
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
42069
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
42070
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
42071
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
42072
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
42073
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
42074
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
42075
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
42076
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
42077
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
42078
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
42079
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
42080
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
42081
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
42082
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
42083
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
42084
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
42085
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
42086
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
42087
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
42088
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
42089
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
42090
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
42091
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
42092
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
42093
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
42094
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
42095
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
42096
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
42097
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
42098
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
42099
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
42100
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
42101
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
42102
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
42103
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
42104
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
42105
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
42106
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
42107
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
42108
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
42109
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
42110
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
42111
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
42112
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
42113
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
42114
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
42115
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
42116
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
42117
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
42118
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
42119
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
42120
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
42121
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
42122
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
42123
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
42124
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
42125
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
42126
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'
42127
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'
42128
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `load'
42129
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `kernel_load'
42130
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:28:in `run'
42131
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:463:in `exec'
42132
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
42133
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
42134
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
42135
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:27:in `dispatch'
42136
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
42137
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:18:in `start'
42138
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
42139
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
42140
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
42141
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'
42142
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'
42143
+ 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]]
42144
+  (0.1ms) ROLLBACK
42145
+  (0.1ms) BEGIN
42146
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f] Performing CanvasSync::Jobs::ReportChecker (Job ID: ff3d25d3-b4d9-4287-a1f7-ea54cb40962f) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
42147
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "ff3d25d3-b4d9-4287-a1f7-ea54cb40962f"], ["LIMIT", 1]]
42148
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f]  (0.1ms) SAVEPOINT active_record_1
42149
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["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", "2019-06-06 22:04:46.968451"], ["updated_at", "2019-06-06 22:04:46.968451"], ["job_id", "ff3d25d3-b4d9-4287-a1f7-ea54cb40962f"]]
42150
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f]  (0.1ms) RELEASE SAVEPOINT active_record_1
42151
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f]  (0.1ms) SAVEPOINT active_record_1
42152
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:46.970877"], ["status", "running"], ["updated_at", "2019-06-06 22:04:46.971274"], ["id", 3]]
42153
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f]  (0.1ms) RELEASE SAVEPOINT active_record_1
42154
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f]  (0.2ms) SAVEPOINT active_record_1
42155
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f] SQL (0.4ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 3]]
42156
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f]  (0.2ms) RELEASE SAVEPOINT active_record_1
42157
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ff3d25d3-b4d9-4287-a1f7-ea54cb40962f] Performed CanvasSync::Jobs::ReportChecker (Job ID: ff3d25d3-b4d9-4287-a1f7-ea54cb40962f) from Async(default) in 17.89ms
42158
+  (0.3ms) ROLLBACK
42159
+  (0.1ms) BEGIN
42160
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1897ce93-e549-42f6-9a12-2e155f6378b0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
42161
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "1897ce93-e549-42f6-9a12-2e155f6378b0"], ["LIMIT", 1]]
42162
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) SAVEPOINT active_record_1
42163
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["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", "2019-06-06 22:04:46.992047"], ["updated_at", "2019-06-06 22:04:46.992047"], ["job_id", "1897ce93-e549-42f6-9a12-2e155f6378b0"]]
42164
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42165
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) SAVEPOINT active_record_1
42166
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:46.994114"], ["status", "running"], ["updated_at", "2019-06-06 22:04:46.994593"], ["id", 4]]
42167
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42168
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) SAVEPOINT active_record_1
42169
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["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", "2019-06-06 22:04:46.999792"], ["updated_at", "2019-06-06 22:04:46.999792"], ["job_id", "6855b3f6-f664-4b05-9e9f-eed026fd796b"]]
42170
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42171
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 6855b3f6-f664-4b05-9e9f-eed026fd796b) to Async(default) at 2019-06-06 22:05:16 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
42172
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) SAVEPOINT active_record_1
42173
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] SQL (0.3ms) DELETE FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."id" = $1 [["id", 4]]
42174
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42175
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [1897ce93-e549-42f6-9a12-2e155f6378b0] Performed CanvasSync::Jobs::ReportChecker (Job ID: 1897ce93-e549-42f6-9a12-2e155f6378b0) from Async(default) in 12.99ms
42176
+  (0.1ms) ROLLBACK
42177
+  (0.1ms) BEGIN
42178
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] Performing CanvasSync::Jobs::ReportChecker (Job ID: ddeb1786-3ba3-4e7a-868f-a89d5ffe0969) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
42179
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "ddeb1786-3ba3-4e7a-868f-a89d5ffe0969"], ["LIMIT", 1]]
42180
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969]  (0.1ms) SAVEPOINT active_record_1
42181
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.009633"], ["updated_at", "2019-06-06 22:04:47.009633"], ["job_id", "ddeb1786-3ba3-4e7a-868f-a89d5ffe0969"]]
42182
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969]  (0.1ms) RELEASE SAVEPOINT active_record_1
42183
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969]  (0.1ms) SAVEPOINT active_record_1
42184
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.011624"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.011902"], ["id", 6]]
42185
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969]  (0.1ms) RELEASE SAVEPOINT active_record_1
42186
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
42187
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969]  (0.1ms) SAVEPOINT active_record_1
42188
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] 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", "2019-06-06 22:04:47.014158"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:31:in `perform'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:17:in `block in <class:Job>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.9.5/lib/i18n.rb:268:in `with_locale'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:28:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:463:in `exec'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:27:in `dispatch'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:18:in `start'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'\", \"/Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'\"]"], ["status", "error"], ["updated_at", "2019-06-06 22:04:47.014466"], ["id", 6]]
42189
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969]  (0.1ms) RELEASE SAVEPOINT active_record_1
42190
+ [ActiveJob] [CanvasSync::Jobs::ReportChecker] [ddeb1786-3ba3-4e7a-868f-a89d5ffe0969] Error performing CanvasSync::Jobs::ReportChecker (Job ID: ddeb1786-3ba3-4e7a-868f-a89d5ffe0969) from Async(default) in 7.98ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
42191
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:31:in `perform'
42192
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
42193
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
42194
+ /Users/mvalentine/dev/canvas_sync/lib/canvas_sync/job.rb:17:in `block in <class:Job>'
42195
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
42196
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
42197
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/i18n-0.9.5/lib/i18n.rb:268:in `with_locale'
42198
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
42199
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
42200
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
42201
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
42202
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
42203
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
42204
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
42205
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
42206
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
42207
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
42208
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
42209
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
42210
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
42211
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
42212
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
42213
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
42214
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
42215
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
42216
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
42217
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
42218
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
42219
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
42220
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
42221
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
42222
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
42223
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
42224
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
42225
+ /Users/mvalentine/dev/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
42226
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
42227
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
42228
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks'
42229
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `block in with_around_example_hooks'
42230
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
42231
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:604:in `block in run_around_example_hooks_for'
42232
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
42233
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-rails-3.6.1/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
42234
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
42235
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
42236
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
42237
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:606:in `block (2 levels) in run_around_example_hooks_for'
42238
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
42239
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
42240
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
42241
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
42242
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks'
42243
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
42244
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
42245
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
42246
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
42247
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
42248
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
42249
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
42250
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
42251
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
42252
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
42253
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
42254
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs'
42255
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
42256
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs'
42257
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
42258
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
42259
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
42260
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
42261
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
42262
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
42263
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
42264
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
42265
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `load'
42266
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/rspec:23:in `<top (required)>'
42267
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `load'
42268
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:74:in `kernel_load'
42269
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli/exec.rb:28:in `run'
42270
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:463:in `exec'
42271
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
42272
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
42273
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
42274
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:27:in `dispatch'
42275
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
42276
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/cli.rb:18:in `start'
42277
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
42278
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/site_ruby/2.4.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
42279
+ /Users/mvalentine/.rbenv/versions/2.4.0/lib/ruby/gems/2.4.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
42280
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `load'
42281
+ /Users/mvalentine/.rbenv/versions/2.4.0/bin/bundle:23:in `<main>'
42282
+  (0.1ms) ROLLBACK
42283
+  (0.1ms) BEGIN
42284
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: 62599869-6888-4ada-b9da-dab6aa42598d) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}, 1
42285
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "62599869-6888-4ada-b9da-dab6aa42598d"], ["LIMIT", 1]]
42286
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) SAVEPOINT active_record_1
42287
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["status", "enqueued"], ["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- 1\n"], ["created_at", "2019-06-06 22:04:47.022319"], ["updated_at", "2019-06-06 22:04:47.022319"], ["job_id", "62599869-6888-4ada-b9da-dab6aa42598d"]]
42288
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.2ms) RELEASE SAVEPOINT active_record_1
42289
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) SAVEPOINT active_record_1
42290
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.024601"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.024969"], ["id", 7]]
42291
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) RELEASE SAVEPOINT active_record_1
42292
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) SAVEPOINT active_record_1
42293
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "job_class" = $1, "updated_at" = $2 WHERE "canvas_sync_job_logs"."id" = $3 [["job_class", "FakeProcessor"], ["updated_at", "2019-06-06 22:04:47.027010"], ["id", 7]]
42294
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) RELEASE SAVEPOINT active_record_1
42295
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) SAVEPOINT active_record_1
42296
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] 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", "2019-06-06 22:04:47.062514"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.063037"], ["id", 7]]
42297
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d]  (0.1ms) RELEASE SAVEPOINT active_record_1
42298
+ [ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [62599869-6888-4ada-b9da-dab6aa42598d] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: 62599869-6888-4ada-b9da-dab6aa42598d) from Async(default) in 43.71ms
42299
+  (0.1ms) ROLLBACK
42300
+  (0.1ms) BEGIN
42301
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] Performing CanvasSync::Jobs::ReportStarter (Job ID: 16df47f4-8499-41a0-83c4-763fba81ffff) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
42302
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "16df47f4-8499-41a0-83c4-763fba81ffff"], ["LIMIT", 1]]
42303
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.1ms) SAVEPOINT active_record_1
42304
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportStarter"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.070859"], ["updated_at", "2019-06-06 22:04:47.070859"], ["job_id", "16df47f4-8499-41a0-83c4-763fba81ffff"]]
42305
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.1ms) RELEASE SAVEPOINT active_record_1
42306
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.1ms) SAVEPOINT active_record_1
42307
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.073509"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.074033"], ["id", 8]]
42308
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.2ms) RELEASE SAVEPOINT active_record_1
42309
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.1ms) SAVEPOINT active_record_1
42310
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2019-06-06 22:04:47.077451"], ["updated_at", "2019-06-06 22:04:47.077451"], ["job_id", "1c756653-bd67-4d24-b93d-db7a5c08dcd2"]]
42311
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.1ms) RELEASE SAVEPOINT active_record_1
42312
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 1c756653-bd67-4d24-b93d-db7a5c08dcd2) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
42313
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.2ms) SAVEPOINT active_record_1
42314
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] 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", "2019-06-06 22:04:47.080598"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.081054"], ["id", 8]]
42315
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff]  (0.2ms) RELEASE SAVEPOINT active_record_1
42316
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [16df47f4-8499-41a0-83c4-763fba81ffff] Performed CanvasSync::Jobs::ReportStarter (Job ID: 16df47f4-8499-41a0-83c4-763fba81ffff) from Async(default) in 13.35ms
42317
+  (0.2ms) ROLLBACK
42318
+  (0.1ms) BEGIN
42319
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a] Performing CanvasSync::Jobs::ReportStarter (Job ID: 5895d999-6d2f-4c96-9944-f9333588d64a) from Async(default) with arguments: {:jobs=>[], :global_options=>{"provisioning_csv"=>1}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
42320
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a] CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "5895d999-6d2f-4c96-9944-f9333588d64a"], ["LIMIT", 1]]
42321
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a]  (0.1ms) SAVEPOINT active_record_1
42322
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportStarter"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.089113"], ["updated_at", "2019-06-06 22:04:47.089113"], ["job_id", "5895d999-6d2f-4c96-9944-f9333588d64a"]]
42323
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42324
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a]  (0.1ms) SAVEPOINT active_record_1
42325
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.091975"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.092298"], ["id", 10]]
42326
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a]  (0.2ms) RELEASE SAVEPOINT active_record_1
42327
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a]  (0.1ms) SAVEPOINT active_record_1
42328
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a] 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", "2019-06-06 22:04:47.094809"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.095184"], ["id", 10]]
42329
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42330
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [5895d999-6d2f-4c96-9944-f9333588d64a] Performed CanvasSync::Jobs::ReportStarter (Job ID: 5895d999-6d2f-4c96-9944-f9333588d64a) from Async(default) in 9.25ms
42331
+  (0.3ms) ROLLBACK
42332
+  (0.2ms) BEGIN
42333
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e] Performing CanvasSync::Jobs::ReportStarter (Job ID: 92743ad0-a164-4878-88bf-5a46ad85569e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}, {:allow_redownloads=>true}
42334
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "92743ad0-a164-4878-88bf-5a46ad85569e"], ["LIMIT", 1]]
42335
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e]  (0.1ms) SAVEPOINT active_record_1
42336
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportStarter"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.113335"], ["updated_at", "2019-06-06 22:04:47.113335"], ["job_id", "92743ad0-a164-4878-88bf-5a46ad85569e"]]
42337
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e]  (0.2ms) RELEASE SAVEPOINT active_record_1
42338
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e]  (0.1ms) SAVEPOINT active_record_1
42339
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.115756"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.116073"], ["id", 11]]
42340
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e]  (0.1ms) RELEASE SAVEPOINT active_record_1
42341
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e]  (0.1ms) SAVEPOINT active_record_1
42342
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e] 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", "2019-06-06 22:04:47.118664"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.119056"], ["id", 11]]
42343
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e]  (0.1ms) RELEASE SAVEPOINT active_record_1
42344
+ [ActiveJob] [CanvasSync::Jobs::ReportStarter] [92743ad0-a164-4878-88bf-5a46ad85569e] Performed CanvasSync::Jobs::ReportStarter (Job ID: 92743ad0-a164-4878-88bf-5a46ad85569e) from Async(default) in 14.99ms
42345
+  (0.1ms) ROLLBACK
42346
+  (0.1ms) BEGIN
42347
+  (2.4ms) SELECT COUNT(*) FROM "admins"
42348
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Performing CanvasSync::Jobs::SyncAdminsJob (Job ID: f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42349
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317"], ["LIMIT", 1]]
42350
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) SAVEPOINT active_record_1
42351
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncAdminsJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.131638"], ["updated_at", "2019-06-06 22:04:47.131638"], ["job_id", "f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317"]]
42352
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) RELEASE SAVEPOINT active_record_1
42353
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) SAVEPOINT active_record_1
42354
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.133538"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.133866"], ["id", 12]]
42355
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) RELEASE SAVEPOINT active_record_1
42356
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42357
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.2ms) SAVEPOINT active_record_1
42358
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42359
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] SQL (42.7ms) INSERT INTO "admins" ("canvas_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_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", "2019-06-06 22:04:47.153258"], ["updated_at", "2019-06-06 22:04:47.153258"]]
42360
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.2ms) RELEASE SAVEPOINT active_record_1
42361
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Admin Load (0.4ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42362
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.2ms) SAVEPOINT active_record_1
42363
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42364
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] SQL (0.4ms) INSERT INTO "admins" ("canvas_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_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", "2019-06-06 22:04:47.201088"], ["updated_at", "2019-06-06 22:04:47.201088"]]
42365
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.2ms) RELEASE SAVEPOINT active_record_1
42366
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
42367
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) SAVEPOINT active_record_1
42368
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
42369
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] SQL (0.4ms) INSERT INTO "admins" ("canvas_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_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", "2019-06-06 22:04:47.205045"], ["updated_at", "2019-06-06 22:04:47.205045"]]
42370
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) RELEASE SAVEPOINT active_record_1
42371
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] SQL (0.4ms) DELETE FROM "admins" WHERE ("admins"."id" NOT IN (1, 2, 3))
42372
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) SAVEPOINT active_record_1
42373
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] 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", "2019-06-06 22:04:47.207801"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.208373"], ["id", 12]]
42374
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317]  (0.1ms) RELEASE SAVEPOINT active_record_1
42375
+ [ActiveJob] [CanvasSync::Jobs::SyncAdminsJob] [f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317] Performed CanvasSync::Jobs::SyncAdminsJob (Job ID: f3a9e1e4-8925-4e0b-923d-4fbc9b2b0317) from Async(default) in 79.68ms
42376
+  (0.2ms) SELECT COUNT(*) FROM "admins"
42377
+  (0.1ms) ROLLBACK
42378
+  (0.1ms) BEGIN
42379
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] Performing CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
42380
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b"], ["LIMIT", 1]]
42381
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) SAVEPOINT active_record_1
42382
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncAssignmentGroupsJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.216948"], ["updated_at", "2019-06-06 22:04:47.216948"], ["job_id", "7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b"]]
42383
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42384
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) SAVEPOINT active_record_1
42385
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.219166"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.219457"], ["id", 13]]
42386
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42387
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) SAVEPOINT active_record_1
42388
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- proserv_assignment_group_export_csv\n- 1\n- CanvasSync::Processors::AssignmentGroupsProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.222240"], ["updated_at", "2019-06-06 22:04:47.222240"], ["job_id", "46d44c50-13f5-40a9-a2d6-949b26df1afc"]]
42389
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42390
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 46d44c50-13f5-40a9-a2d6-949b26df1afc) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_group_export_csv", 1, "CanvasSync::Processors::AssignmentGroupsProcessor", {}
42391
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) SAVEPOINT active_record_1
42392
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] 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", "2019-06-06 22:04:47.224358"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.224671"], ["id", 13]]
42393
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b]  (0.1ms) RELEASE SAVEPOINT active_record_1
42394
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentGroupsJob] [7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b] Performed CanvasSync::Jobs::SyncAssignmentGroupsJob (Job ID: 7ff5c3fc-a3c6-4f45-b86e-9a0d5263026b) from Async(default) in 10.32ms
42395
+  (0.1ms) ROLLBACK
42396
+  (0.1ms) BEGIN
42397
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 23a37bf0-b773-4775-bb6d-65906baeeb6a) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
42398
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "23a37bf0-b773-4775-bb6d-65906baeeb6a"], ["LIMIT", 1]]
42399
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) SAVEPOINT active_record_1
42400
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.231484"], ["updated_at", "2019-06-06 22:04:47.231484"], ["job_id", "23a37bf0-b773-4775-bb6d-65906baeeb6a"]]
42401
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42402
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) SAVEPOINT active_record_1
42403
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.233359"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.233694"], ["id", 15]]
42404
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42405
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) SAVEPOINT active_record_1
42406
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- proserv_assignment_export_csv\n- 1\n- CanvasSync::Processors::AssignmentsProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.236541"], ["updated_at", "2019-06-06 22:04:47.236541"], ["job_id", "9d80337d-707b-4d08-b5a2-4a45b5edb02a"]]
42407
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42408
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 9d80337d-707b-4d08-b5a2-4a45b5edb02a) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
42409
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) SAVEPOINT active_record_1
42410
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] 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", "2019-06-06 22:04:47.239230"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.239562"], ["id", 15]]
42411
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42412
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [23a37bf0-b773-4775-bb6d-65906baeeb6a] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 23a37bf0-b773-4775-bb6d-65906baeeb6a) from Async(default) in 10.51ms
42413
+  (0.1ms) ROLLBACK
42414
+  (0.1ms) BEGIN
42415
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] Performing CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 01481ef4-0652-4d32-a4b7-3c8ac86a83d5) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42416
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "01481ef4-0652-4d32-a4b7-3c8ac86a83d5"], ["LIMIT", 1]]
42417
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.3ms) SAVEPOINT active_record_1
42418
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] SQL (0.5ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncAssignmentsJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.247103"], ["updated_at", "2019-06-06 22:04:47.247103"], ["job_id", "01481ef4-0652-4d32-a4b7-3c8ac86a83d5"]]
42419
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) RELEASE SAVEPOINT active_record_1
42420
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) SAVEPOINT active_record_1
42421
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.249767"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.250262"], ["id", 17]]
42422
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) RELEASE SAVEPOINT active_record_1
42423
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) SAVEPOINT active_record_1
42424
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- proserv_assignment_export_csv\n- 1\n- CanvasSync::Processors::AssignmentsProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.253737"], ["updated_at", "2019-06-06 22:04:47.253737"], ["job_id", "272a1351-43a9-4387-adb8-c78dd4b08e0b"]]
42425
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) RELEASE SAVEPOINT active_record_1
42426
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 272a1351-43a9-4387-adb8-c78dd4b08e0b) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_assignment_export_csv", 1, "CanvasSync::Processors::AssignmentsProcessor", {}
42427
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) SAVEPOINT active_record_1
42428
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] 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", "2019-06-06 22:04:47.256396"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.256781"], ["id", 17]]
42429
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5]  (0.1ms) RELEASE SAVEPOINT active_record_1
42430
+ [ActiveJob] [CanvasSync::Jobs::SyncAssignmentsJob] [01481ef4-0652-4d32-a4b7-3c8ac86a83d5] Performed CanvasSync::Jobs::SyncAssignmentsJob (Job ID: 01481ef4-0652-4d32-a4b7-3c8ac86a83d5) from Async(default) in 12.88ms
42431
+  (0.2ms) ROLLBACK
42432
+  (0.1ms) BEGIN
42433
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 996b198b-d1c0-4559-ab3d-0af5fcd49d91) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
42434
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "996b198b-d1c0-4559-ab3d-0af5fcd49d91"], ["LIMIT", 1]]
42435
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) SAVEPOINT active_record_1
42436
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.264264"], ["updated_at", "2019-06-06 22:04:47.264264"], ["job_id", "996b198b-d1c0-4559-ab3d-0af5fcd49d91"]]
42437
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) RELEASE SAVEPOINT active_record_1
42438
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) SAVEPOINT active_record_1
42439
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.266191"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.266456"], ["id", 19]]
42440
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) RELEASE SAVEPOINT active_record_1
42441
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) SAVEPOINT active_record_1
42442
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- proserv_context_module_items_csv\n- 1\n- CanvasSync::Processors::ContextModuleItemsProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.269018"], ["updated_at", "2019-06-06 22:04:47.269018"], ["job_id", "481bff2e-4d02-4fd1-b80d-15258c07bc6e"]]
42443
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) RELEASE SAVEPOINT active_record_1
42444
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 481bff2e-4d02-4fd1-b80d-15258c07bc6e) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
42445
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) SAVEPOINT active_record_1
42446
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] 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", "2019-06-06 22:04:47.271057"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.271370"], ["id", 19]]
42447
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91]  (0.1ms) RELEASE SAVEPOINT active_record_1
42448
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [996b198b-d1c0-4559-ab3d-0af5fcd49d91] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 996b198b-d1c0-4559-ab3d-0af5fcd49d91) from Async(default) in 9.59ms
42449
+  (0.2ms) ROLLBACK
42450
+  (0.1ms) BEGIN
42451
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] Performing CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 4b196b26-5a0b-4c2b-afc9-85959cb95657) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42452
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "4b196b26-5a0b-4c2b-afc9-85959cb95657"], ["LIMIT", 1]]
42453
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.1ms) SAVEPOINT active_record_1
42454
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncContextModuleItemsJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.279707"], ["updated_at", "2019-06-06 22:04:47.279707"], ["job_id", "4b196b26-5a0b-4c2b-afc9-85959cb95657"]]
42455
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.1ms) RELEASE SAVEPOINT active_record_1
42456
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.1ms) SAVEPOINT active_record_1
42457
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.281615"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.281908"], ["id", 21]]
42458
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.1ms) RELEASE SAVEPOINT active_record_1
42459
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.2ms) SAVEPOINT active_record_1
42460
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- proserv_context_module_items_csv\n- 1\n- CanvasSync::Processors::ContextModuleItemsProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.284603"], ["updated_at", "2019-06-06 22:04:47.284603"], ["job_id", "f045f49d-e08e-44df-b29b-dd07476267f0"]]
42461
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.2ms) RELEASE SAVEPOINT active_record_1
42462
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: f045f49d-e08e-44df-b29b-dd07476267f0) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_module_items_csv", 1, "CanvasSync::Processors::ContextModuleItemsProcessor", {}
42463
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.2ms) SAVEPOINT active_record_1
42464
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] 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", "2019-06-06 22:04:47.287101"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.287460"], ["id", 21]]
42465
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657]  (0.1ms) RELEASE SAVEPOINT active_record_1
42466
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModuleItemsJob] [4b196b26-5a0b-4c2b-afc9-85959cb95657] Performed CanvasSync::Jobs::SyncContextModuleItemsJob (Job ID: 4b196b26-5a0b-4c2b-afc9-85959cb95657) from Async(default) in 10.19ms
42467
+  (0.2ms) ROLLBACK
42468
+  (0.1ms) BEGIN
42469
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: 46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
42470
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a"], ["LIMIT", 1]]
42471
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.1ms) SAVEPOINT active_record_1
42472
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.294561"], ["updated_at", "2019-06-06 22:04:47.294561"], ["job_id", "46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a"]]
42473
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42474
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.1ms) SAVEPOINT active_record_1
42475
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.297353"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.297825"], ["id", 23]]
42476
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.1ms) RELEASE SAVEPOINT active_record_1
42477
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.1ms) SAVEPOINT active_record_1
42478
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- proserv_context_modules_csv\n- 1\n- CanvasSync::Processors::ContextModulesProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.300894"], ["updated_at", "2019-06-06 22:04:47.300894"], ["job_id", "639f4807-f48d-47b1-b478-e82f414327ac"]]
42479
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.2ms) RELEASE SAVEPOINT active_record_1
42480
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 639f4807-f48d-47b1-b478-e82f414327ac) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
42481
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.2ms) SAVEPOINT active_record_1
42482
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] 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", "2019-06-06 22:04:47.304361"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.304883"], ["id", 23]]
42483
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a]  (0.2ms) RELEASE SAVEPOINT active_record_1
42484
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: 46992cbd-3963-4c9e-89b7-6cf1f4fcbd9a) from Async(default) in 13.04ms
42485
+  (0.1ms) ROLLBACK
42486
+  (0.1ms) BEGIN
42487
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] Performing CanvasSync::Jobs::SyncContextModulesJob (Job ID: 97cf7213-4686-46ed-bfe6-6ceee325d39e) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42488
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "97cf7213-4686-46ed-bfe6-6ceee325d39e"], ["LIMIT", 1]]
42489
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) SAVEPOINT active_record_1
42490
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncContextModulesJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.311639"], ["updated_at", "2019-06-06 22:04:47.311639"], ["job_id", "97cf7213-4686-46ed-bfe6-6ceee325d39e"]]
42491
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) RELEASE SAVEPOINT active_record_1
42492
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) SAVEPOINT active_record_1
42493
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.313439"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.313766"], ["id", 25]]
42494
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) RELEASE SAVEPOINT active_record_1
42495
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) SAVEPOINT active_record_1
42496
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- proserv_context_modules_csv\n- 1\n- CanvasSync::Processors::ContextModulesProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.316254"], ["updated_at", "2019-06-06 22:04:47.316254"], ["job_id", "d2ac4e61-4f98-49c8-ad71-7c8cfda30f83"]]
42497
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) RELEASE SAVEPOINT active_record_1
42498
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: d2ac4e61-4f98-49c8-ad71-7c8cfda30f83) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proserv_context_modules_csv", 1, "CanvasSync::Processors::ContextModulesProcessor", {}
42499
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) SAVEPOINT active_record_1
42500
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] 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", "2019-06-06 22:04:47.318433"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.318831"], ["id", 25]]
42501
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e]  (0.1ms) RELEASE SAVEPOINT active_record_1
42502
+ [ActiveJob] [CanvasSync::Jobs::SyncContextModulesJob] [97cf7213-4686-46ed-bfe6-6ceee325d39e] Performed CanvasSync::Jobs::SyncContextModulesJob (Job ID: 97cf7213-4686-46ed-bfe6-6ceee325d39e) from Async(default) in 9.62ms
42503
+  (0.1ms) ROLLBACK
42504
+  (0.1ms) BEGIN
42505
+  (0.1ms) SAVEPOINT active_record_1
42506
+ Term Exists (2.6ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 76528194], ["LIMIT", 1]]
42507
+ SQL (0.6ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 76528194], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "75d580b5c2cec81e09b32a11ae645376"], ["created_at", "2019-06-06 22:04:47.337587"], ["updated_at", "2019-06-06 22:04:47.337587"]]
42508
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42509
+  (0.1ms) SAVEPOINT active_record_1
42510
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 94259897], ["LIMIT", 1]]
42511
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 94259897], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "195955b1698c0fe63db58d1b5f43f9b0"], ["created_at", "2019-06-06 22:04:47.340777"], ["updated_at", "2019-06-06 22:04:47.340777"]]
42512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42513
+  (0.2ms) SAVEPOINT active_record_1
42514
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 78663281], ["LIMIT", 1]]
42515
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 78663281], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "inactive"], ["sis_id", "b5636849a18d5f7c1a4b5554fec980c8"], ["created_at", "2019-06-06 22:04:47.344163"], ["updated_at", "2019-06-06 22:04:47.344163"]]
42516
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42517
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 06d985e7-b212-429c-85f2-ec6415c40b23) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
42518
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "06d985e7-b212-429c-85f2-ec6415c40b23"], ["LIMIT", 1]]
42519
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23]  (0.1ms) SAVEPOINT active_record_1
42520
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.346961"], ["updated_at", "2019-06-06 22:04:47.346961"], ["job_id", "06d985e7-b212-429c-85f2-ec6415c40b23"]]
42521
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23]  (0.1ms) RELEASE SAVEPOINT active_record_1
42522
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23]  (0.1ms) SAVEPOINT active_record_1
42523
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.349296"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.349702"], ["id", 27]]
42524
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23]  (0.1ms) RELEASE SAVEPOINT active_record_1
42525
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] Term Load (1.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2019-06-21 22:04:47.352184' OR start_at IS NULL) AND (end_at >= '2019-05-22 22:04:47.352431' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
42526
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23]  (0.1ms) SAVEPOINT active_record_1
42527
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2019-06-06 22:04:47.354603"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.355012"], ["id", 27]]
42528
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23]  (0.1ms) RELEASE SAVEPOINT active_record_1
42529
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [06d985e7-b212-429c-85f2-ec6415c40b23] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: 06d985e7-b212-429c-85f2-ec6415c40b23) from Async(default) in 10.53ms
42530
+  (0.1ms) ROLLBACK
42531
+  (0.1ms) BEGIN
42532
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: bbb46ba6-271d-475a-aa94-efc78def07a0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
42533
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0] CanvasSync::JobLog Load (0.1ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "bbb46ba6-271d-475a-aa94-efc78def07a0"], ["LIMIT", 1]]
42534
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0]  (0.1ms) SAVEPOINT active_record_1
42535
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.361611"], ["updated_at", "2019-06-06 22:04:47.361611"], ["job_id", "bbb46ba6-271d-475a-aa94-efc78def07a0"]]
42536
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42537
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0]  (0.1ms) SAVEPOINT active_record_1
42538
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.363544"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.363853"], ["id", 28]]
42539
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42540
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0]  (0.1ms) SAVEPOINT active_record_1
42541
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "completed_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["completed_at", "2019-06-06 22:04:47.365383"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.365663"], ["id", 28]]
42542
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
42543
+ [ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [bbb46ba6-271d-475a-aa94-efc78def07a0] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: bbb46ba6-271d-475a-aa94-efc78def07a0) from Async(default) in 6.21ms
42544
+  (0.1ms) ROLLBACK
42545
+  (0.1ms) BEGIN
42546
+  (2.4ms) SELECT COUNT(*) FROM "roles"
42547
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] Performing CanvasSync::Jobs::SyncRolesJob (Job ID: 954d89b6-69c8-4b4f-8f38-28cada449b65) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42548
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "954d89b6-69c8-4b4f-8f38-28cada449b65"], ["LIMIT", 1]]
42549
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) SAVEPOINT active_record_1
42550
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncRolesJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.377975"], ["updated_at", "2019-06-06 22:04:47.377975"], ["job_id", "954d89b6-69c8-4b4f-8f38-28cada449b65"]]
42551
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) RELEASE SAVEPOINT active_record_1
42552
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) SAVEPOINT active_record_1
42553
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.380021"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.380300"], ["id", 29]]
42554
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) RELEASE SAVEPOINT active_record_1
42555
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42556
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.2ms) SAVEPOINT active_record_1
42557
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42558
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] SQL (1.0ms) INSERT INTO "roles" ("canvas_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_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", "2019-06-06 22:04:47.397042"], ["updated_at", "2019-06-06 22:04:47.397042"]]
42559
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) RELEASE SAVEPOINT active_record_1
42560
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42561
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.2ms) SAVEPOINT active_record_1
42562
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42563
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] SQL (0.4ms) INSERT INTO "roles" ("canvas_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_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", "2019-06-06 22:04:47.408507"], ["updated_at", "2019-06-06 22:04:47.408507"]]
42564
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) RELEASE SAVEPOINT active_record_1
42565
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] SQL (0.2ms) DELETE FROM "roles" WHERE ("roles"."id" NOT IN (1, 2))
42566
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) SAVEPOINT active_record_1
42567
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] 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", "2019-06-06 22:04:47.413935"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.414303"], ["id", 29]]
42568
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65]  (0.1ms) RELEASE SAVEPOINT active_record_1
42569
+ [ActiveJob] [CanvasSync::Jobs::SyncRolesJob] [954d89b6-69c8-4b4f-8f38-28cada449b65] Performed CanvasSync::Jobs::SyncRolesJob (Job ID: 954d89b6-69c8-4b4f-8f38-28cada449b65) from Async(default) in 39.05ms
42570
+  (0.2ms) SELECT COUNT(*) FROM "roles"
42571
+  (0.1ms) ROLLBACK
42572
+  (0.1ms) BEGIN
42573
+  (0.1ms) SAVEPOINT active_record_1
42574
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 92589691], ["LIMIT", 1]]
42575
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 92589691], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "aecef164c85502ac09c0d3705a98c304"], ["created_at", "2019-06-06 22:04:47.421986"], ["updated_at", "2019-06-06 22:04:47.421986"]]
42576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42577
+  (0.1ms) SAVEPOINT active_record_1
42578
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 57197395], ["LIMIT", 1]]
42579
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 57197395], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "inactive"], ["sis_id", "86798c1258160413086479a52595ed6f"], ["created_at", "2019-06-06 22:04:47.424390"], ["updated_at", "2019-06-06 22:04:47.424390"]]
42580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42581
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] Performing CanvasSync::Jobs::SyncSimpleTableJob (Job ID: 2c3503d3-438b-427d-8d6c-55632b8f0de2) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:report_name=>"proservices_provisioning_csv", :model=>"courses", :mapping=>"courses", :klass=>"Course", :term_scope=>"active", :params=>{"parameters[include_deleted]"=>true, "parameters[courses]"=>true}}
42582
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "2c3503d3-438b-427d-8d6c-55632b8f0de2"], ["LIMIT", 1]]
42583
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2]  (0.1ms) SAVEPOINT active_record_1
42584
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncSimpleTableJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n report_name: proservices_provisioning_csv\n model: courses\n mapping: courses\n klass: Course\n term_scope: active\n params: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[include_deleted]: true\n parameters[courses]: true\n"], ["created_at", "2019-06-06 22:04:47.426966"], ["updated_at", "2019-06-06 22:04:47.426966"], ["job_id", "2c3503d3-438b-427d-8d6c-55632b8f0de2"]]
42585
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2]  (0.1ms) RELEASE SAVEPOINT active_record_1
42586
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2]  (0.1ms) SAVEPOINT active_record_1
42587
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.433208"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.433539"], ["id", 30]]
42588
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2]  (0.1ms) RELEASE SAVEPOINT active_record_1
42589
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2019-06-21 22:04:47.435483' OR start_at IS NULL) AND (end_at >= '2019-05-22 22:04:47.435629' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT $2 [["workflow_state", "active"], ["LIMIT", 1000]]
42590
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2]  (0.1ms) SAVEPOINT active_record_1
42591
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] 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", "2019-06-06 22:04:47.436748"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.437118"], ["id", 30]]
42592
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2]  (0.2ms) RELEASE SAVEPOINT active_record_1
42593
+ [ActiveJob] [CanvasSync::Jobs::SyncSimpleTableJob] [2c3503d3-438b-427d-8d6c-55632b8f0de2] Performed CanvasSync::Jobs::SyncSimpleTableJob (Job ID: 2c3503d3-438b-427d-8d6c-55632b8f0de2) from Async(default) in 12.89ms
42594
+  (0.2ms) ROLLBACK
42595
+  (0.1ms) BEGIN
42596
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] Performing CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 03dadba8-4796-400d-9934-75728631a830) from Async(default) with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, {}
42597
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] CanvasSync::JobLog Load (0.2ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "03dadba8-4796-400d-9934-75728631a830"], ["LIMIT", 1]]
42598
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) SAVEPOINT active_record_1
42599
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncSubmissionsJob"], ["status", "enqueued"], ["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", "2019-06-06 22:04:47.444755"], ["updated_at", "2019-06-06 22:04:47.444755"], ["job_id", "03dadba8-4796-400d-9934-75728631a830"]]
42600
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) RELEASE SAVEPOINT active_record_1
42601
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) SAVEPOINT active_record_1
42602
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] SQL (0.4ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.446758"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.447105"], ["id", 31]]
42603
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) RELEASE SAVEPOINT active_record_1
42604
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) SAVEPOINT active_record_1
42605
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] SQL (0.4ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n canvas_term_id: 1\n- proserv_student_submissions_csv\n- 1\n- CanvasSync::Processors::SubmissionsProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.450132"], ["updated_at", "2019-06-06 22:04:47.450132"], ["job_id", "46b95944-d327-457e-b8a7-39c13d5b006d"]]
42606
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) RELEASE SAVEPOINT active_record_1
42607
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 46b95944-d327-457e-b8a7-39c13d5b006d) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{:canvas_term_id=>1}}, "proserv_student_submissions_csv", 1, "CanvasSync::Processors::SubmissionsProcessor", {}
42608
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) SAVEPOINT active_record_1
42609
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] 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", "2019-06-06 22:04:47.454051"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.454508"], ["id", 31]]
42610
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830]  (0.1ms) RELEASE SAVEPOINT active_record_1
42611
+ [ActiveJob] [CanvasSync::Jobs::SyncSubmissionsJob] [03dadba8-4796-400d-9934-75728631a830] Performed CanvasSync::Jobs::SyncSubmissionsJob (Job ID: 03dadba8-4796-400d-9934-75728631a830) from Async(default) in 12.49ms
42612
+  (0.1ms) ROLLBACK
42613
+  (0.1ms) BEGIN
42614
+  (0.2ms) SELECT COUNT(*) FROM "terms"
42615
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: f9a51703-d5d5-45f9-be1a-36b5c2caf287) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42616
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] CanvasSync::JobLog Load (0.3ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "f9a51703-d5d5-45f9-be1a-36b5c2caf287"], ["LIMIT", 1]]
42617
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42618
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.464150"], ["updated_at", "2019-06-06 22:04:47.464150"], ["job_id", "f9a51703-d5d5-45f9-be1a-36b5c2caf287"]]
42619
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42620
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42621
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.2ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.465800"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.466099"], ["id", 33]]
42622
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42623
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42624
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42625
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42626
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.2ms) INSERT INTO "terms" ("canvas_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_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2019-06-06 22:04:47.472992"], ["updated_at", "2019-06-06 22:04:47.472992"]]
42627
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42628
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 6], ["LIMIT", 1]]
42629
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42630
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 6], ["LIMIT", 1]]
42631
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.3ms) INSERT INTO "terms" ("canvas_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.475779"], ["updated_at", "2019-06-06 22:04:47.475779"]]
42632
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42633
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 7], ["LIMIT", 1]]
42634
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42635
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 7], ["LIMIT", 1]]
42636
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.478394"], ["updated_at", "2019-06-06 22:04:47.478394"]]
42637
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42638
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 5], ["LIMIT", 1]]
42639
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.2ms) SAVEPOINT active_record_1
42640
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 5], ["LIMIT", 1]]
42641
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.3ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_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", "2019-06-06 22:04:47.486022"], ["updated_at", "2019-06-06 22:04:47.486022"]]
42642
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.2ms) RELEASE SAVEPOINT active_record_1
42643
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
42644
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.2ms) SAVEPOINT active_record_1
42645
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
42646
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.3ms) INSERT INTO "terms" ("canvas_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_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", "2019-06-06 22:04:47.489644"], ["updated_at", "2019-06-06 22:04:47.489644"]]
42647
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42648
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42649
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42650
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42651
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] SQL (0.3ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_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", "2019-06-06 22:04:47.492807"], ["updated_at", "2019-06-06 22:04:47.492807"]]
42652
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) RELEASE SAVEPOINT active_record_1
42653
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.1ms) SAVEPOINT active_record_1
42654
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] 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", "2019-06-06 22:04:47.494065"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.494454"], ["id", 33]]
42655
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287]  (0.3ms) RELEASE SAVEPOINT active_record_1
42656
+ [ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [f9a51703-d5d5-45f9-be1a-36b5c2caf287] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: f9a51703-d5d5-45f9-be1a-36b5c2caf287) from Async(default) in 33.47ms
42657
+  (0.4ms) SELECT COUNT(*) FROM "terms"
42658
+  (0.2ms) ROLLBACK
42659
+  (0.1ms) BEGIN
42660
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
42661
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] CanvasSync::JobLog Load (0.5ms) SELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" WHERE "canvas_sync_job_logs"."job_id" = $1 LIMIT $2 [["job_id", "d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3"], ["LIMIT", 1]]
42662
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) SAVEPOINT active_record_1
42663
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] SQL (0.3ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2019-06-06 22:04:47.505222"], ["updated_at", "2019-06-06 22:04:47.505222"], ["job_id", "d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3"]]
42664
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.2ms) RELEASE SAVEPOINT active_record_1
42665
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) SAVEPOINT active_record_1
42666
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] SQL (0.3ms) UPDATE "canvas_sync_job_logs" SET "started_at" = $1, "status" = $2, "updated_at" = $3 WHERE "canvas_sync_job_logs"."id" = $4 [["started_at", "2019-06-06 22:04:47.507531"], ["status", "running"], ["updated_at", "2019-06-06 22:04:47.507871"], ["id", 34]]
42667
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) RELEASE SAVEPOINT active_record_1
42668
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) SAVEPOINT active_record_1
42669
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] SQL (0.2ms) INSERT INTO "canvas_sync_job_logs" ("job_class", "status", "job_arguments", "created_at", "updated_at", "job_id") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["job_class", "CanvasSync::Jobs::ReportChecker"], ["status", "enqueued"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- proservices_provisioning_csv\n- 1\n- CanvasSync::Processors::ProvisioningReportProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2019-06-06 22:04:47.510528"], ["updated_at", "2019-06-06 22:04:47.510528"], ["job_id", "386c82c8-f6b0-4e54-bee8-66169615931c"]]
42670
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) RELEASE SAVEPOINT active_record_1
42671
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 386c82c8-f6b0-4e54-bee8-66169615931c) to Async(default) at 2019-06-06 22:05:17 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
42672
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) SAVEPOINT active_record_1
42673
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] 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", "2019-06-06 22:04:47.512810"], ["status", "success"], ["updated_at", "2019-06-06 22:04:47.513132"], ["id", 34]]
42674
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3]  (0.1ms) RELEASE SAVEPOINT active_record_1
42675
+ [ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: d11b8ac3-b9b4-4eb4-a325-bf4e2f2379c3) from Async(default) in 10.97ms
42676
+  (0.1ms) ROLLBACK
42677
+  (0.1ms) BEGIN
42678
+  (0.1ms) SAVEPOINT active_record_1
42679
+ Account Exists (2.7ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_id" = $1 LIMIT $2 [["canvas_id", 41855603], ["LIMIT", 1]]
42680
+ SQL (1.6ms) INSERT INTO "accounts" ("canvas_id", "sis_id", "canvas_parent_account_id", "sis_parent_account_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 41855603], ["sis_id", "b5e71d3891ff747b45bf5f1e1d5d3cb6"], ["canvas_parent_account_id", 1], ["sis_parent_account_id", "419f34926fbb709e4637f21db041c83b"], ["name", "Account name"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.530951"], ["updated_at", "2019-06-06 22:04:47.530951"]]
42681
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42682
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_id" IS NULL AND ("accounts"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
42683
+  (0.1ms) ROLLBACK
42684
+  (0.1ms) BEGIN
42685
+  (0.1ms) SAVEPOINT active_record_1
42686
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_id" = $1 LIMIT $2 [["canvas_id", 93788809], ["LIMIT", 1]]
42687
+ SQL (0.3ms) INSERT INTO "accounts" ("canvas_id", "sis_id", "canvas_parent_account_id", "sis_parent_account_id", "name", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 93788809], ["sis_id", "3d606b8d4e5ff68fc279485d31c486c5"], ["canvas_parent_account_id", 1], ["sis_parent_account_id", "b53c85721234acf15144213078e22d50"], ["name", "Account name"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.548366"], ["updated_at", "2019-06-06 22:04:47.548366"]]
42688
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42689
+ Account Load (0.2ms) SELECT "accounts".* FROM "accounts" ORDER BY "accounts"."id" ASC LIMIT $1 [["LIMIT", 1]]
42690
+ Account Exists (0.3ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."canvas_id" = $1 LIMIT $2 [["canvas_id", 93788809], ["LIMIT", 1]]
42691
+  (0.1ms) ROLLBACK
42692
+  (0.1ms) BEGIN
42693
+  (0.1ms) SAVEPOINT active_record_1
42694
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 53285041], ["LIMIT", 1]]
42695
+ SQL (0.3ms) INSERT INTO "admins" ("canvas_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_id", 53285041], ["role_name", "Cool Role"], ["canvas_role_id", 17706517], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.557243"], ["updated_at", "2019-06-06 22:04:47.557243"]]
42696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42697
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" IS NULL AND ("admins"."id" != $1) LIMIT $2 [["id", 4], ["LIMIT", 1]]
42698
+  (0.1ms) ROLLBACK
42699
+  (0.1ms) BEGIN
42700
+  (0.1ms) SAVEPOINT active_record_1
42701
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 52706332], ["LIMIT", 1]]
42702
+ SQL (0.3ms) INSERT INTO "admins" ("canvas_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_id", 52706332], ["role_name", "Cool Role"], ["canvas_role_id", 27209290], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.565138"], ["updated_at", "2019-06-06 22:04:47.565138"]]
42703
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42704
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" ASC LIMIT $1 [["LIMIT", 1]]
42705
+ Admin Exists (0.3ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 52706332], ["LIMIT", 1]]
42706
+  (0.2ms) ROLLBACK
42707
+  (0.1ms) BEGIN
42708
+  (0.3ms) SELECT COUNT(*) FROM "admins"
42709
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42710
+  (0.1ms) SAVEPOINT active_record_1
42711
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42712
+ SQL (0.3ms) INSERT INTO "admins" ("canvas_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_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", "2019-06-06 22:04:47.576397"], ["updated_at", "2019-06-06 22:04:47.576397"]]
42713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42714
+  (0.2ms) SELECT COUNT(*) FROM "admins"
42715
+ Admin Load (0.1ms) SELECT "admins".* FROM "admins" ORDER BY "admins"."id" DESC LIMIT $1 [["LIMIT", 1]]
42716
+  (0.2ms) ROLLBACK
42717
+  (0.1ms) BEGIN
42718
+  (0.2ms) SAVEPOINT active_record_1
42719
+ Admin Exists (0.4ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42720
+ SQL (0.3ms) INSERT INTO "admins" ("canvas_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_id", 2], ["role_name", "Cool Role"], ["canvas_role_id", 88717563], ["user_data", "\"{ 'id': 1}\""], ["canvas_user_id", 1], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.585291"], ["updated_at", "2019-06-06 22:04:47.585291"]]
42721
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42722
+  (0.2ms) SELECT COUNT(*) FROM "admins"
42723
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42724
+  (0.1ms) SAVEPOINT active_record_1
42725
+ Admin Exists (0.2ms) SELECT 1 AS one FROM "admins" WHERE "admins"."canvas_id" = $1 AND ("admins"."id" != $2) LIMIT $3 [["canvas_id", 2], ["id", 7], ["LIMIT", 1]]
42726
+ SQL (0.2ms) UPDATE "admins" SET "role_name" = $1, "canvas_role_id" = $2, "user_data" = $3, "updated_at" = $4 WHERE "admins"."id" = $5 [["role_name", "AccountAdmin"], ["canvas_role_id", 1], ["user_data", "{\"id\":1,\"name\":\"mvalentine@instructure.com\",\"sortable_name\":\"mvalentine@instructure.com\",\"short_name\":\"mvalentine@instructure.com\",\"sis_user_id\":null,\"integration_id\":null,\"sis_import_id\":null,\"login_id\":\"mvalentine@instructure.com\"}"], ["updated_at", "2019-06-06 22:04:47.589154"], ["id", 7]]
42727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42728
+  (0.2ms) SELECT COUNT(*) FROM "admins"
42729
+ Admin Load (0.2ms) SELECT "admins".* FROM "admins" WHERE "admins"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]]
42730
+  (0.1ms) ROLLBACK
42731
+  (0.1ms) BEGIN
42732
+  (0.1ms) SAVEPOINT active_record_1
42733
+ AssignmentGroup Exists (2.7ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42734
+ SQL (0.6ms) INSERT INTO "assignment_groups" ("canvas_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_id", 1], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2019-05-30 22:04:47.607337"], ["canvas_updated_at", "2019-06-05 22:04:47.607453"], ["created_at", "2019-06-06 22:04:47.611667"], ["updated_at", "2019-06-06 22:04:47.611667"]]
42735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42736
+ AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_id" IS NULL AND ("assignment_groups"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
42737
+  (0.2ms) ROLLBACK
42738
+  (0.1ms) BEGIN
42739
+  (0.1ms) SAVEPOINT active_record_1
42740
+ AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42741
+ SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_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_id", 2], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2019-05-30 22:04:47.619960"], ["canvas_updated_at", "2019-06-05 22:04:47.620092"], ["created_at", "2019-06-06 22:04:47.621287"], ["updated_at", "2019-06-06 22:04:47.621287"]]
42742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42743
+ AssignmentGroup Load (0.2ms) SELECT "assignment_groups".* FROM "assignment_groups" ORDER BY "assignment_groups"."id" ASC LIMIT $1 [["LIMIT", 1]]
42744
+ AssignmentGroup Exists (0.3ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42745
+  (0.2ms) ROLLBACK
42746
+  (0.1ms) BEGIN
42747
+  (0.1ms) SAVEPOINT active_record_1
42748
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42749
+ SQL (0.2ms) INSERT INTO "assignment_groups" ("canvas_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_id", 3], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2019-05-30 22:04:47.630182"], ["canvas_updated_at", "2019-06-05 22:04:47.630282"], ["created_at", "2019-06-06 22:04:47.631422"], ["updated_at", "2019-06-06 22:04:47.631422"]]
42750
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42751
+  (0.1ms) ROLLBACK
42752
+  (0.2ms) BEGIN
42753
+  (0.1ms) SAVEPOINT active_record_1
42754
+ AssignmentGroup Exists (0.2ms) SELECT 1 AS one FROM "assignment_groups" WHERE "assignment_groups"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
42755
+ SQL (0.3ms) INSERT INTO "assignment_groups" ("canvas_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_id", 4], ["name", "Dummy Assignment Group"], ["workflow_state", "available"], ["canvas_created_at", "2019-05-30 22:04:47.635962"], ["canvas_updated_at", "2019-06-05 22:04:47.636037"], ["created_at", "2019-06-06 22:04:47.637052"], ["updated_at", "2019-06-06 22:04:47.637052"]]
42756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42757
+  (0.1ms) ROLLBACK
42758
+  (0.1ms) BEGIN
42759
+  (0.2ms) SAVEPOINT active_record_1
42760
+ Assignment Exists (3.5ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42761
+ SQL (0.6ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 1], ["title", "Assignment 1"], ["due_at", "2019-06-13 22:04:47.659765"], ["unlock_at", "2019-06-05 22:04:47.659901"], ["lock_at", "2019-06-27 22:04:47.659946"], ["created_at", "2019-06-06 22:04:47.665071"], ["updated_at", "2019-06-06 22:04:47.665071"]]
42762
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42763
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" IS NULL AND ("assignments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
42764
+  (0.2ms) ROLLBACK
42765
+  (0.1ms) BEGIN
42766
+  (0.1ms) SAVEPOINT active_record_1
42767
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42768
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 2], ["title", "Assignment 2"], ["due_at", "2019-06-13 22:04:47.674489"], ["unlock_at", "2019-06-05 22:04:47.674601"], ["lock_at", "2019-06-27 22:04:47.674670"], ["created_at", "2019-06-06 22:04:47.675906"], ["updated_at", "2019-06-06 22:04:47.675906"]]
42769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42770
+ Assignment Load (0.2ms) SELECT "assignments".* FROM "assignments" ORDER BY "assignments"."id" ASC LIMIT $1 [["LIMIT", 1]]
42771
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
42772
+  (0.2ms) ROLLBACK
42773
+  (0.1ms) BEGIN
42774
+  (0.1ms) SAVEPOINT active_record_1
42775
+ Assignment Exists (0.2ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
42776
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 3], ["title", "Assignment 3"], ["due_at", "2019-06-13 22:04:47.683251"], ["unlock_at", "2019-06-05 22:04:47.683315"], ["lock_at", "2019-06-27 22:04:47.683358"], ["created_at", "2019-06-06 22:04:47.684438"], ["updated_at", "2019-06-06 22:04:47.684438"]]
42777
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42778
+  (0.2ms) ROLLBACK
42779
+  (0.1ms) BEGIN
42780
+  (0.1ms) SAVEPOINT active_record_1
42781
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
42782
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 4], ["title", "Assignment 4"], ["due_at", "2019-06-13 22:04:47.689397"], ["unlock_at", "2019-06-05 22:04:47.689493"], ["lock_at", "2019-06-27 22:04:47.689533"], ["created_at", "2019-06-06 22:04:47.690737"], ["updated_at", "2019-06-06 22:04:47.690737"]]
42783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42784
+  (0.2ms) ROLLBACK
42785
+  (0.1ms) BEGIN
42786
+  (0.1ms) SAVEPOINT active_record_1
42787
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 5], ["LIMIT", 1]]
42788
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 5], ["title", "Assignment 5"], ["due_at", "2019-06-13 22:04:47.696197"], ["unlock_at", "2019-06-05 22:04:47.696282"], ["lock_at", "2019-06-27 22:04:47.696338"], ["created_at", "2019-06-06 22:04:47.697580"], ["updated_at", "2019-06-06 22:04:47.697580"]]
42789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42790
+  (0.1ms) ROLLBACK
42791
+  (0.1ms) BEGIN
42792
+  (0.1ms) SAVEPOINT active_record_1
42793
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 6], ["LIMIT", 1]]
42794
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 6], ["title", "Assignment 6"], ["due_at", "2019-06-13 22:04:47.703174"], ["unlock_at", "2019-06-05 22:04:47.703271"], ["lock_at", "2019-06-27 22:04:47.703311"], ["created_at", "2019-06-06 22:04:47.704516"], ["updated_at", "2019-06-06 22:04:47.704516"]]
42795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42796
+  (0.1ms) ROLLBACK
42797
+  (0.1ms) BEGIN
42798
+  (0.2ms) SAVEPOINT active_record_1
42799
+ Course Exists (2.5ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1252474], ["LIMIT", 1]]
42800
+ SQL (0.6ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 1252474], ["sis_id", "142b31a8ba5b164545ac86236ea217b7"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.722135"], ["end_at", "2019-06-27 22:04:47.722263"], ["created_at", "2019-06-06 22:04:47.726326"], ["updated_at", "2019-06-06 22:04:47.726326"]]
42801
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42802
+  (0.1ms) SAVEPOINT active_record_1
42803
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 37065581], ["LIMIT", 1]]
42804
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 37065581], ["sis_id", "0908a409dc2fe0466a40b36e02a8784e"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.728331"], ["end_at", "2019-06-27 22:04:47.728389"], ["created_at", "2019-06-06 22:04:47.729299"], ["updated_at", "2019-06-06 22:04:47.729299"]]
42805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42806
+  (0.1ms) SAVEPOINT active_record_1
42807
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 7], ["LIMIT", 1]]
42808
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 7], ["title", "Assignment 7"], ["due_at", "2019-06-13 22:04:47.730749"], ["unlock_at", "2019-06-05 22:04:47.730835"], ["lock_at", "2019-06-27 22:04:47.730885"], ["created_at", "2019-06-06 22:04:47.732075"], ["updated_at", "2019-06-06 22:04:47.732075"]]
42809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42810
+  (0.1ms) SAVEPOINT active_record_1
42811
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 AND ("assignments"."id" != $2) LIMIT $3 [["canvas_id", 7], ["id", 7], ["LIMIT", 1]]
42812
+ SQL (0.3ms) UPDATE "assignments" SET "canvas_context_id" = $1, "canvas_context_type" = $2, "updated_at" = $3 WHERE "assignments"."id" = $4 [["canvas_context_id", 37065581], ["canvas_context_type", "Course"], ["updated_at", "2019-06-06 22:04:47.734494"], ["id", 7]]
42813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42814
+ Course Load (0.3ms) SELECT "courses".* FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 37065581], ["LIMIT", 1]]
42815
+  (0.2ms) ROLLBACK
42816
+  (0.1ms) BEGIN
42817
+  (0.2ms) SAVEPOINT active_record_1
42818
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 8], ["LIMIT", 1]]
42819
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 8], ["title", "Assignment 8"], ["due_at", "2019-06-13 22:04:47.768893"], ["unlock_at", "2019-06-05 22:04:47.768996"], ["lock_at", "2019-06-27 22:04:47.769046"], ["created_at", "2019-06-06 22:04:47.770485"], ["updated_at", "2019-06-06 22:04:47.770485"]]
42820
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42821
+  (0.1ms) SAVEPOINT active_record_1
42822
+ SQL (6.7ms) INSERT INTO "context_module_items" ("canvas_id", "canvas_assignment_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_id", 1], ["canvas_assignment_id", 8], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.772797"], ["updated_at", "2019-06-06 22:04:47.772797"]]
42823
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42824
+  (0.2ms) ROLLBACK
42825
+  (0.1ms) BEGIN
42826
+  (0.2ms) SAVEPOINT active_record_1
42827
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 9], ["LIMIT", 1]]
42828
+ SQL (0.3ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 9], ["title", "Assignment 9"], ["due_at", "2019-06-13 22:04:47.785494"], ["unlock_at", "2019-06-05 22:04:47.785615"], ["lock_at", "2019-06-27 22:04:47.785657"], ["created_at", "2019-06-06 22:04:47.787458"], ["updated_at", "2019-06-06 22:04:47.787458"]]
42829
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42830
+  (0.1ms) SAVEPOINT active_record_1
42831
+ SQL (0.2ms) INSERT INTO "context_module_items" ("canvas_id", "canvas_assignment_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_id", 2], ["canvas_assignment_id", 9], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.789305"], ["updated_at", "2019-06-06 22:04:47.789305"]]
42832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42833
+  (0.1ms) ROLLBACK
42834
+  (0.1ms) BEGIN
42835
+  (0.1ms) SAVEPOINT active_record_1
42836
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 44236492], ["LIMIT", 1]]
42837
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 44236492], ["sis_id", "86468526ff55345b9ef636002f4e0cd1"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.804895"], ["end_at", "2019-06-27 22:04:47.805007"], ["created_at", "2019-06-06 22:04:47.806510"], ["updated_at", "2019-06-06 22:04:47.806510"]]
42838
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42839
+  (0.1ms) SAVEPOINT active_record_1
42840
+ SQL (4.0ms) INSERT INTO "context_modules" ("canvas_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_id", 1], ["canvas_context_id", 44236492], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2019-06-06 22:04:47.808383"], ["updated_at", "2019-06-06 22:04:47.808383"]]
42841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42842
+  (0.1ms) ROLLBACK
42843
+  (0.1ms) BEGIN
42844
+  (0.1ms) SAVEPOINT active_record_1
42845
+ Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 60401128], ["LIMIT", 1]]
42846
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 60401128], ["sis_id", "565f9b35c7c593973704a8cb63fca5ef"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.817434"], ["end_at", "2019-06-27 22:04:47.817538"], ["created_at", "2019-06-06 22:04:47.819101"], ["updated_at", "2019-06-06 22:04:47.819101"]]
42847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42848
+  (0.1ms) SAVEPOINT active_record_1
42849
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_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_id", 2], ["canvas_context_id", 60401128], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2019-06-06 22:04:47.821067"], ["updated_at", "2019-06-06 22:04:47.821067"]]
42850
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42851
+  (0.1ms) ROLLBACK
42852
+  (0.1ms) BEGIN
42853
+  (0.1ms) SAVEPOINT active_record_1
42854
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 9713933], ["LIMIT", 1]]
42855
+ SQL (0.4ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 9713933], ["sis_id", "38a11dcbd1ac952a840e8442c1fd327f"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.826695"], ["end_at", "2019-06-27 22:04:47.826842"], ["created_at", "2019-06-06 22:04:47.828251"], ["updated_at", "2019-06-06 22:04:47.828251"]]
42856
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42857
+  (0.1ms) SAVEPOINT active_record_1
42858
+ SQL (0.2ms) INSERT INTO "context_modules" ("canvas_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_id", 3], ["canvas_context_id", 9713933], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2019-06-06 22:04:47.830725"], ["updated_at", "2019-06-06 22:04:47.830725"]]
42859
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42860
+  (0.1ms) ROLLBACK
42861
+  (0.1ms) BEGIN
42862
+  (0.1ms) SAVEPOINT active_record_1
42863
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 62253241], ["LIMIT", 1]]
42864
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 62253241], ["sis_id", "a60ca2f1f1b1f22693a6cb8500233442"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.836337"], ["end_at", "2019-06-27 22:04:47.836457"], ["created_at", "2019-06-06 22:04:47.837737"], ["updated_at", "2019-06-06 22:04:47.837737"]]
42865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42866
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" IS NULL AND ("courses"."id" != $1) LIMIT $2 [["id", 6], ["LIMIT", 1]]
42867
+  (0.1ms) ROLLBACK
42868
+  (0.1ms) BEGIN
42869
+  (0.1ms) SAVEPOINT active_record_1
42870
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4773703], ["LIMIT", 1]]
42871
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 4773703], ["sis_id", "ac0fbbe9147740993f424ac68480cf50"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.843319"], ["end_at", "2019-06-27 22:04:47.843386"], ["created_at", "2019-06-06 22:04:47.844314"], ["updated_at", "2019-06-06 22:04:47.844314"]]
42872
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42873
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
42874
+ Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4773703], ["LIMIT", 1]]
42875
+  (0.2ms) ROLLBACK
42876
+  (0.1ms) BEGIN
42877
+  (0.1ms) SAVEPOINT active_record_1
42878
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 9644678], ["LIMIT", 1]]
42879
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 9644678], ["sis_id", "e026a9eea8fa2f2c2998b9ec532a05c4"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.853621"], ["end_at", "2019-06-27 22:04:47.853721"], ["created_at", "2019-06-06 22:04:47.855009"], ["updated_at", "2019-06-06 22:04:47.855009"]]
42880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42881
+  (0.1ms) ROLLBACK
42882
+  (0.1ms) BEGIN
42883
+  (0.1ms) SAVEPOINT active_record_1
42884
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 5520719], ["LIMIT", 1]]
42885
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 5520719], ["sis_id", "9e63bc6f3d11f9d72b68807f1fcc45ba"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.859754"], ["end_at", "2019-06-27 22:04:47.859830"], ["created_at", "2019-06-06 22:04:47.860947"], ["updated_at", "2019-06-06 22:04:47.860947"]]
42886
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42887
+  (0.1ms) ROLLBACK
42888
+  (0.1ms) BEGIN
42889
+  (0.1ms) SAVEPOINT active_record_1
42890
+ Course Exists (0.2ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1805965], ["LIMIT", 1]]
42891
+ SQL (0.2ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 1805965], ["sis_id", "4deeba377a228a5e3334b71ed10163db"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.865182"], ["end_at", "2019-06-27 22:04:47.865250"], ["created_at", "2019-06-06 22:04:47.866230"], ["updated_at", "2019-06-06 22:04:47.866230"]]
42892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42893
+  (0.2ms) ROLLBACK
42894
+  (0.1ms) BEGIN
42895
+  (0.2ms) SAVEPOINT active_record_1
42896
+ Course Exists (0.4ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 68223584], ["LIMIT", 1]]
42897
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 68223584], ["sis_id", "38cb8926e2a016530910de8e8aa27a70"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.871578"], ["end_at", "2019-06-27 22:04:47.871824"], ["created_at", "2019-06-06 22:04:47.873932"], ["updated_at", "2019-06-06 22:04:47.873932"]]
42898
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42899
+  (0.1ms) ROLLBACK
42900
+  (0.1ms) BEGIN
42901
+  (0.1ms) SAVEPOINT active_record_1
42902
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 93644955], ["LIMIT", 1]]
42903
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 93644955], ["sis_id", "dc80a3167a44939e74e1e1772b1b11e0"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.879904"], ["end_at", "2019-06-27 22:04:47.879994"], ["created_at", "2019-06-06 22:04:47.881144"], ["updated_at", "2019-06-06 22:04:47.881144"]]
42904
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42905
+  (0.2ms) ROLLBACK
42906
+  (0.1ms) BEGIN
42907
+  (0.1ms) SAVEPOINT active_record_1
42908
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 64696751], ["LIMIT", 1]]
42909
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 64696751], ["sis_id", "ee505b6690504b7856fd17281d6c4e48"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:47.885743"], ["end_at", "2019-06-27 22:04:47.885823"], ["created_at", "2019-06-06 22:04:47.886967"], ["updated_at", "2019-06-06 22:04:47.886967"]]
42910
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42911
+  (0.2ms) ROLLBACK
42912
+  (0.1ms) BEGIN
42913
+  (0.1ms) SAVEPOINT active_record_1
42914
+ Enrollment Exists (3.8ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 65968293], ["LIMIT", 1]]
42915
+ SQL (2.2ms) INSERT INTO "enrollments" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 65968293], ["created_at", "2019-06-06 22:04:47.910563"], ["updated_at", "2019-06-06 22:04:47.910563"]]
42916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42917
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" IS NULL AND ("enrollments"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
42918
+  (0.2ms) ROLLBACK
42919
+  (0.1ms) BEGIN
42920
+  (0.1ms) SAVEPOINT active_record_1
42921
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 26177494], ["LIMIT", 1]]
42922
+ SQL (0.2ms) INSERT INTO "enrollments" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 26177494], ["created_at", "2019-06-06 22:04:47.921811"], ["updated_at", "2019-06-06 22:04:47.921811"]]
42923
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42924
+ Enrollment Load (0.2ms) SELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT $1 [["LIMIT", 1]]
42925
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 26177494], ["LIMIT", 1]]
42926
+  (0.2ms) ROLLBACK
42927
+  (0.1ms) BEGIN
42928
+  (0.1ms) SAVEPOINT active_record_1
42929
+ Enrollment Exists (0.2ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 95158283], ["LIMIT", 1]]
42930
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 95158283], ["created_at", "2019-06-06 22:04:47.929825"], ["updated_at", "2019-06-06 22:04:47.929825"]]
42931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42932
+  (0.1ms) ROLLBACK
42933
+  (0.1ms) BEGIN
42934
+  (0.1ms) SAVEPOINT active_record_1
42935
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 30845281], ["LIMIT", 1]]
42936
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 30845281], ["created_at", "2019-06-06 22:04:47.935252"], ["updated_at", "2019-06-06 22:04:47.935252"]]
42937
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42938
+  (0.2ms) ROLLBACK
42939
+  (0.1ms) BEGIN
42940
+  (0.1ms) SAVEPOINT active_record_1
42941
+ Enrollment Exists (0.3ms) SELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 30836423], ["LIMIT", 1]]
42942
+ SQL (0.3ms) INSERT INTO "enrollments" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 30836423], ["created_at", "2019-06-06 22:04:47.941235"], ["updated_at", "2019-06-06 22:04:47.941235"]]
42943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42944
+  (0.2ms) ROLLBACK
42945
+  (0.1ms) BEGIN
42946
+  (0.1ms) SAVEPOINT active_record_1
42947
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 50243379], ["LIMIT", 1]]
42948
+ SQL (0.3ms) INSERT INTO "roles" ("canvas_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_id", 50243379], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.948277"], ["updated_at", "2019-06-06 22:04:47.948277"]]
42949
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42950
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" IS NULL AND ("roles"."id" != $1) LIMIT $2 [["id", 3], ["LIMIT", 1]]
42951
+  (0.2ms) ROLLBACK
42952
+  (0.1ms) BEGIN
42953
+  (0.1ms) SAVEPOINT active_record_1
42954
+ Role Exists (0.4ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 95632182], ["LIMIT", 1]]
42955
+ SQL (0.4ms) INSERT INTO "roles" ("canvas_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_id", 95632182], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.959055"], ["updated_at", "2019-06-06 22:04:47.959055"]]
42956
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42957
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT $1 [["LIMIT", 1]]
42958
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 95632182], ["LIMIT", 1]]
42959
+  (0.1ms) ROLLBACK
42960
+  (0.1ms) BEGIN
42961
+  (0.2ms) SELECT COUNT(*) FROM "roles"
42962
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42963
+  (0.1ms) SAVEPOINT active_record_1
42964
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42965
+ SQL (0.4ms) INSERT INTO "roles" ("canvas_id", "label", "base_role_type", "workflow_state", "permissions", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_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", "2019-06-06 22:04:47.973519"], ["updated_at", "2019-06-06 22:04:47.973519"]]
42966
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42967
+  (0.2ms) SELECT COUNT(*) FROM "roles"
42968
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" DESC LIMIT $1 [["LIMIT", 1]]
42969
+  (0.1ms) ROLLBACK
42970
+  (0.1ms) BEGIN
42971
+  (0.2ms) SAVEPOINT active_record_1
42972
+ Role Exists (0.3ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42973
+ SQL (0.3ms) INSERT INTO "roles" ("canvas_id", "label", "base_role_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["canvas_id", 1], ["label", "Cool Role"], ["base_role_type", "AccountMembership"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:47.988407"], ["updated_at", "2019-06-06 22:04:47.988407"]]
42974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42975
+  (0.2ms) SELECT COUNT(*) FROM "roles"
42976
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
42977
+  (0.1ms) SAVEPOINT active_record_1
42978
+ Role Exists (0.2ms) SELECT 1 AS one FROM "roles" WHERE "roles"."canvas_id" = $1 AND ("roles"."id" != $2) LIMIT $3 [["canvas_id", 1], ["id", 6], ["LIMIT", 1]]
42979
+ SQL (0.4ms) UPDATE "roles" SET "label" = $1, "workflow_state" = $2, "permissions" = $3, "updated_at" = $4 WHERE "roles"."id" = $5 [["label", "Account Admin"], ["workflow_state", "built_in"], ["permissions", "{\"manage_wiki\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"post_to_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_forum\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_announcements\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"send_messages_all\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_outcomes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_conferences\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"create_collaborations\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_roster\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_all_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_rubrics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"comment_on_others_submissions\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_students\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_admin_users\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_role_overrides\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_memberships\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_account_settings\":{\"enabled\":true,\"locked\":true,\"readonly\":true,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_groups\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_group_pages\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_files\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_assignments\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"undelete_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_grade_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_course_changes\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_question_banks\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_calendar\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_reports\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_courses\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_logins\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_user_observers\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"become_user\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_developer_keys\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"import_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_sis\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_list\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_statistics\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_storage_quotas\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"read_course_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_content\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_interaction_alerts\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"change_course_state\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_sections\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"manage_feature_flags\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"view_quiz_answer_audits\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"moderate_grades\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true},\"lti_add_edit\":{\"enabled\":true,\"locked\":false,\"readonly\":false,\"explicit\":false,\"applies_to_descendants\":true,\"applies_to_self\":true}}"], ["updated_at", "2019-06-06 22:04:47.993865"], ["id", 6]]
42980
+  (0.2ms) RELEASE SAVEPOINT active_record_1
42981
+  (0.3ms) SELECT COUNT(*) FROM "roles"
42982
+ Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
42983
+  (0.2ms) ROLLBACK
42984
+  (0.1ms) BEGIN
42985
+  (0.2ms) SAVEPOINT active_record_1
42986
+ Section Exists (5.7ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_id" = $1 LIMIT $2 [["canvas_id", 88067718], ["LIMIT", 1]]
42987
+ SQL (0.8ms) INSERT INTO "sections" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 88067718], ["created_at", "2019-06-06 22:04:48.027340"], ["updated_at", "2019-06-06 22:04:48.027340"]]
42988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42989
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_id" IS NULL AND ("sections"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
42990
+  (0.2ms) ROLLBACK
42991
+  (0.1ms) BEGIN
42992
+  (0.1ms) SAVEPOINT active_record_1
42993
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_id" = $1 LIMIT $2 [["canvas_id", 43738453], ["LIMIT", 1]]
42994
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 43738453], ["created_at", "2019-06-06 22:04:48.036217"], ["updated_at", "2019-06-06 22:04:48.036217"]]
42995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
42996
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
42997
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_id" = $1 LIMIT $2 [["canvas_id", 43738453], ["LIMIT", 1]]
42998
+  (0.2ms) ROLLBACK
42999
+  (0.1ms) BEGIN
43000
+  (0.1ms) SAVEPOINT active_record_1
43001
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_id" = $1 LIMIT $2 [["canvas_id", 91775294], ["LIMIT", 1]]
43002
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 91775294], ["created_at", "2019-06-06 22:04:48.044476"], ["updated_at", "2019-06-06 22:04:48.044476"]]
43003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43004
+  (0.2ms) ROLLBACK
43005
+  (0.2ms) BEGIN
43006
+  (0.1ms) SAVEPOINT active_record_1
43007
+ Section Exists (0.3ms) SELECT 1 AS one FROM "sections" WHERE "sections"."canvas_id" = $1 LIMIT $2 [["canvas_id", 77060693], ["LIMIT", 1]]
43008
+ SQL (0.3ms) INSERT INTO "sections" ("canvas_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["canvas_id", 77060693], ["created_at", "2019-06-06 22:04:48.054020"], ["updated_at", "2019-06-06 22:04:48.054020"]]
43009
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43010
+  (0.1ms) ROLLBACK
43011
+  (0.1ms) BEGIN
43012
+  (0.2ms) SAVEPOINT active_record_1
43013
+ Submission Exists (127.1ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43014
+ SQL (39.5ms) INSERT INTO "submissions" ("canvas_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 1], ["submitted_at", "2019-05-30 22:04:48.072093"], ["graded_at", "2019-06-05 22:04:48.072198"], ["score", 5.0], ["points_possible", 10.0], ["created_at", "2019-06-06 22:04:48.200910"], ["updated_at", "2019-06-06 22:04:48.200910"]]
43015
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43016
+ Submission Exists (0.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" IS NULL AND ("submissions"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
43017
+  (0.3ms) ROLLBACK
43018
+  (0.1ms) BEGIN
43019
+  (0.1ms) SAVEPOINT active_record_1
43020
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
43021
+ SQL (0.4ms) INSERT INTO "submissions" ("canvas_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 2], ["submitted_at", "2019-05-30 22:04:48.250440"], ["graded_at", "2019-06-05 22:04:48.250580"], ["score", 5.0], ["points_possible", 10.0], ["created_at", "2019-06-06 22:04:48.252335"], ["updated_at", "2019-06-06 22:04:48.252335"]]
43022
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43023
+ Submission Load (0.3ms) SELECT "submissions".* FROM "submissions" ORDER BY "submissions"."id" ASC LIMIT $1 [["LIMIT", 1]]
43024
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" = $1 LIMIT $2 [["canvas_id", 2], ["LIMIT", 1]]
43025
+  (0.2ms) ROLLBACK
43026
+  (0.1ms) BEGIN
43027
+  (0.1ms) SAVEPOINT active_record_1
43028
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" = $1 LIMIT $2 [["canvas_id", 3], ["LIMIT", 1]]
43029
+ SQL (0.3ms) INSERT INTO "submissions" ("canvas_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 3], ["submitted_at", "2019-05-30 22:04:48.262162"], ["graded_at", "2019-06-05 22:04:48.262263"], ["score", 5.0], ["points_possible", 10.0], ["created_at", "2019-06-06 22:04:48.263445"], ["updated_at", "2019-06-06 22:04:48.263445"]]
43030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43031
+  (0.1ms) ROLLBACK
43032
+  (0.2ms) BEGIN
43033
+  (0.1ms) SAVEPOINT active_record_1
43034
+ Submission Exists (0.3ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" = $1 LIMIT $2 [["canvas_id", 4], ["LIMIT", 1]]
43035
+ SQL (0.4ms) INSERT INTO "submissions" ("canvas_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 4], ["submitted_at", "2019-05-30 22:04:48.268799"], ["graded_at", "2019-06-05 22:04:48.268909"], ["score", 5.0], ["points_possible", 10.0], ["created_at", "2019-06-06 22:04:48.270197"], ["updated_at", "2019-06-06 22:04:48.270197"]]
43036
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43037
+  (0.2ms) ROLLBACK
43038
+  (0.1ms) BEGIN
43039
+  (0.2ms) SAVEPOINT active_record_1
43040
+ Submission Exists (0.4ms) SELECT 1 AS one FROM "submissions" WHERE "submissions"."canvas_id" = $1 LIMIT $2 [["canvas_id", 5], ["LIMIT", 1]]
43041
+ SQL (0.3ms) INSERT INTO "submissions" ("canvas_id", "submitted_at", "graded_at", "score", "points_possible", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 5], ["submitted_at", "2019-05-30 22:04:48.276297"], ["graded_at", "2019-06-05 22:04:48.276406"], ["score", 5.0], ["points_possible", 10.0], ["created_at", "2019-06-06 22:04:48.277971"], ["updated_at", "2019-06-06 22:04:48.277971"]]
43042
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43043
+  (0.2ms) ROLLBACK
43044
+  (0.1ms) BEGIN
43045
+  (0.1ms) SAVEPOINT active_record_1
43046
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 9315720], ["LIMIT", 1]]
43047
+ SQL (0.4ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 9315720], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "f4416f53a4c4c7aaa3d18d2b1165126e"], ["created_at", "2019-06-06 22:04:48.285375"], ["updated_at", "2019-06-06 22:04:48.285375"]]
43048
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43049
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" IS NULL AND ("terms"."id" != $1) LIMIT $2 [["id", 12], ["LIMIT", 1]]
43050
+  (0.2ms) ROLLBACK
43051
+  (0.1ms) BEGIN
43052
+  (0.1ms) SAVEPOINT active_record_1
43053
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 32900843], ["LIMIT", 1]]
43054
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 32900843], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "ceb484012081cb2c493779460663a7e2"], ["created_at", "2019-06-06 22:04:48.293071"], ["updated_at", "2019-06-06 22:04:48.293071"]]
43055
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43056
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT $1 [["LIMIT", 1]]
43057
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 32900843], ["LIMIT", 1]]
43058
+  (0.1ms) ROLLBACK
43059
+  (0.2ms) BEGIN
43060
+  (0.1ms) SAVEPOINT active_record_1
43061
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 8676348], ["LIMIT", 1]]
43062
+ SQL (0.4ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 8676348], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "0b4abe71386916cd0e724d44c1e64902"], ["created_at", "2019-06-06 22:04:48.302668"], ["updated_at", "2019-06-06 22:04:48.302668"]]
43063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43064
+  (0.1ms) ROLLBACK
43065
+  (0.1ms) BEGIN
43066
+  (0.1ms) SAVEPOINT active_record_1
43067
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 25538525], ["LIMIT", 1]]
43068
+ SQL (0.3ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 25538525], ["name", "Cool Term"], ["start_at", "2019-06-04 22:04:48.309728"], ["end_at", "2019-06-09 22:04:48.309828"], ["workflow_state", "active"], ["sis_id", "44d7211b715f7454e02a529f0c335ad7"], ["created_at", "2019-06-06 22:04:48.311623"], ["updated_at", "2019-06-06 22:04:48.311623"]]
43069
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43070
+  (0.1ms) SAVEPOINT active_record_1
43071
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 10157405], ["LIMIT", 1]]
43072
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 10157405], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "inactive"], ["sis_id", "cdc0f4d225d3c28b046061601b3e92e1"], ["created_at", "2019-06-06 22:04:48.314076"], ["updated_at", "2019-06-06 22:04:48.314076"]]
43073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43074
+  (0.1ms) SAVEPOINT active_record_1
43075
+ Term Exists (0.1ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 68664554], ["LIMIT", 1]]
43076
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 68664554], ["name", "Cool Term"], ["start_at", "2019-04-06 22:04:48.315103"], ["end_at", "2019-05-06 22:04:48.315198"], ["workflow_state", "active"], ["sis_id", "04be47399299f6175b5ae36ac3dd64ab"], ["created_at", "2019-06-06 22:04:48.316226"], ["updated_at", "2019-06-06 22:04:48.316226"]]
43077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43078
+  (0.1ms) SAVEPOINT active_record_1
43079
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 32875116], ["LIMIT", 1]]
43080
+ SQL (0.3ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 32875116], ["name", "Cool Term"], ["start_at", "2019-12-06 22:04:48.317212"], ["end_at", "2020-06-06 22:04:48.317260"], ["workflow_state", "active"], ["sis_id", "b56c43b1efd67d91505edfc6426cab66"], ["created_at", "2019-06-06 22:04:48.318408"], ["updated_at", "2019-06-06 22:04:48.318408"]]
43081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43082
+ Term Load (0.3ms) SELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = $1 AND (start_at <= '2019-06-21 22:04:48.319761' OR start_at IS NULL) AND (end_at >= '2019-05-22 22:04:48.319899' OR end_at IS NULL) [["workflow_state", "active"]]
43083
+  (0.1ms) ROLLBACK
43084
+  (0.2ms) BEGIN
43085
+  (0.3ms) SELECT COUNT(*) FROM "terms"
43086
+ Term Load (0.1ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43087
+  (0.1ms) SAVEPOINT active_record_1
43088
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43089
+ SQL (0.3ms) INSERT INTO "terms" ("canvas_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_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2019-06-06 22:04:48.328227"], ["updated_at", "2019-06-06 22:04:48.328227"]]
43090
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43091
+  (0.3ms) SELECT COUNT(*) FROM "terms"
43092
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT $1 [["LIMIT", 1]]
43093
+  (0.1ms) ROLLBACK
43094
+  (0.1ms) BEGIN
43095
+  (0.1ms) SAVEPOINT active_record_1
43096
+ Term Exists (0.2ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43097
+ SQL (0.2ms) INSERT INTO "terms" ("canvas_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 1], ["name", "Cool Term"], ["start_at", "2019-06-03 22:04:40.655545"], ["end_at", "2019-06-09 22:04:40.655757"], ["workflow_state", "active"], ["sis_id", "98cbfe782c1aaa1cb8236258b960407e"], ["created_at", "2019-06-06 22:04:48.336486"], ["updated_at", "2019-06-06 22:04:48.336486"]]
43098
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43099
+  (0.2ms) SELECT COUNT(*) FROM "terms"
43100
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43101
+  (0.1ms) SAVEPOINT active_record_1
43102
+ Term Exists (0.3ms) SELECT 1 AS one FROM "terms" WHERE "terms"."canvas_id" = $1 AND ("terms"."id" != $2) LIMIT $3 [["canvas_id", 1], ["id", 20], ["LIMIT", 1]]
43103
+ SQL (0.4ms) UPDATE "terms" SET "name" = $1, "start_at" = $2, "end_at" = $3, "grading_period_group_id" = $4, "sis_id" = $5, "updated_at" = $6 WHERE "terms"."id" = $7 [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2019-06-06 22:04:48.340366"], ["id", 20]]
43104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43105
+  (0.2ms) SELECT COUNT(*) FROM "terms"
43106
+ Term Load (0.2ms) SELECT "terms".* FROM "terms" WHERE "terms"."id" = $1 LIMIT $2 [["id", 20], ["LIMIT", 1]]
43107
+  (0.1ms) ROLLBACK
43108
+  (0.1ms) BEGIN
43109
+  (0.1ms) SAVEPOINT active_record_1
43110
+ User Exists (2.5ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_id" = $1 LIMIT $2 [["canvas_id", 92701905], ["LIMIT", 1]]
43111
+ SQL (0.6ms) INSERT INTO "users" ("canvas_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 92701905], ["sis_id", "df6d1ce1f7553d91b7e4ef6ab64de099"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2019-06-06 22:04:48.365108"], ["updated_at", "2019-06-06 22:04:48.365108"]]
43112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43113
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_id" IS NULL AND ("users"."id" != $1) LIMIT $2 [["id", 1], ["LIMIT", 1]]
43114
+  (0.2ms) ROLLBACK
43115
+  (0.1ms) BEGIN
43116
+  (0.1ms) SAVEPOINT active_record_1
43117
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_id" = $1 LIMIT $2 [["canvas_id", 37107704], ["LIMIT", 1]]
43118
+ SQL (0.2ms) INSERT INTO "users" ("canvas_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 37107704], ["sis_id", "a7765f06289b4c8c4f808ad403d0536b"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2019-06-06 22:04:48.374629"], ["updated_at", "2019-06-06 22:04:48.374629"]]
43119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43120
+ User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1 [["LIMIT", 1]]
43121
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_id" = $1 LIMIT $2 [["canvas_id", 37107704], ["LIMIT", 1]]
43122
+  (0.1ms) ROLLBACK
43123
+  (0.1ms) BEGIN
43124
+  (0.1ms) SAVEPOINT active_record_1
43125
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_id" = $1 LIMIT $2 [["canvas_id", 8167676], ["LIMIT", 1]]
43126
+ SQL (0.3ms) INSERT INTO "users" ("canvas_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 8167676], ["sis_id", "ab8d823df27c037cc901f8c26c68b908"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2019-06-06 22:04:48.383307"], ["updated_at", "2019-06-06 22:04:48.383307"]]
43127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43128
+  (0.1ms) ROLLBACK
43129
+  (0.1ms) BEGIN
43130
+  (0.1ms) SAVEPOINT active_record_1
43131
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."canvas_id" = $1 LIMIT $2 [["canvas_id", 81011720], ["LIMIT", 1]]
43132
+ SQL (0.3ms) INSERT INTO "users" ("canvas_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 81011720], ["sis_id", "8ba01b571d0af3bec62e63d481edd6b1"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2019-06-06 22:04:48.389157"], ["updated_at", "2019-06-06 22:04:48.389157"]]
43133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43134
+  (0.1ms) ROLLBACK
43135
+  (0.1ms) BEGIN
43136
+  (0.3ms) SELECT COUNT(*) FROM "assignment_groups"
43137
+ AssignmentGroup Create Many Without Validations Or Callbacks (2.1ms) INSERT INTO "assignment_groups" ("canvas_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
43138
+ ...
43139
+ ',1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2019-06-06 22:04:48.400820','2019-06-06 22:04:48.400820'),(2,1,'Tests',NULL,1,50.0,'available','2017-09-08 01:37:33','2017-09-08 01:37:33','2019-06-06 22:04:48.400820','2019-06-06 22:04:48.400820') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_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_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_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"
43140
+  (0.3ms) SELECT COUNT(*) FROM "assignment_groups"
43141
+  (0.2ms) ROLLBACK
43142
+  (0.1ms) BEGIN
43143
+  (0.3ms) SELECT COUNT(*) FROM "assignments"
43144
+ Assignment Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "assignments" ("canvas_id","title","description","due_at","unlock_at","lock_at","points_possible","min_score","max_score","mastery_score","grading_type","submission_types","workflow_state","canvas_context_id","canvas_context_type","canvas_assignment_group_id","canvas_grading_scheme_id","canvas_grading_standard_id","created_at","updated_at") VALUES (88,'Assignment 1','<p>fdsfds</p>',NULL,NULL,NULL,100.0,NULL,NULL,NULL,'points','online_text_entry','published',58,'Course',55,NULL,NULL,'2019-06-06 22:04:48.416652','2019-06-06 22:04:48.416652'),(89,'fdsfdsfds','<p>fdsfdsfsdf</p>',NULL,NULL,NULL,100.0,NULL,NULL,NULL,'points','online_text_entry','published',59,'Course',56,NULL,NULL,'2019-06-06 22:04:48.416652','2019-06-06 22:04:48.416652') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_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","canvas_context_id"=EXCLUDED."canvas_context_id","canvas_context_type"=EXCLUDED."canvas_context_type","canvas_assignment_group_id"=EXCLUDED."canvas_assignment_group_id","canvas_grading_scheme_id"=EXCLUDED."canvas_grading_scheme_id","canvas_grading_standard_id"=EXCLUDED."canvas_grading_standard_id","updated_at"=EXCLUDED."updated_at" WHERE ("assignments".canvas_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".canvas_context_id, "assignments".canvas_context_type, "assignments".canvas_assignment_group_id, "assignments".canvas_grading_scheme_id, "assignments".canvas_grading_standard_id) IS DISTINCT FROM (EXCLUDED.canvas_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.canvas_context_id, EXCLUDED.canvas_context_type, EXCLUDED.canvas_assignment_group_id, EXCLUDED.canvas_grading_scheme_id, EXCLUDED.canvas_grading_standard_id) RETURNING "id"
43145
+  (0.3ms) SELECT COUNT(*) FROM "assignments"
43146
+  (0.2ms) ROLLBACK
43147
+  (0.1ms) BEGIN
43148
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
43149
+ ContextModuleItem Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "context_module_items" ("canvas_id","canvas_context_module_id","position","canvas_content_id","canvas_content_type","workflow_state","canvas_assignment_id","created_at","updated_at") VALUES (15,9,1,83,'Assignment','active',1,'2019-06-06 22:04:48.426683','2019-06-06 22:04:48.426683'),(16,10,1,80,'Assignment','active',2,'2019-06-06 22:04:48.426683','2019-06-06 22:04:48.426683') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","canvas_context_module_id"=EXCLUDED."canvas_context_module_id","position"=EXCLUDED."position","canvas_content_id"=EXCLUDED."canvas_content_id","canvas_content_type"=EXCLUDED."canvas_content_type","workflow_state"=EXCLUDED."workflow_state","canvas_assignment_id"=EXCLUDED."canvas_assignment_id","updated_at"=EXCLUDED."updated_at" WHERE ("context_module_items".canvas_id, "context_module_items".canvas_context_module_id, "context_module_items".position, "context_module_items".canvas_content_id, "context_module_items".canvas_content_type, "context_module_items".workflow_state, "context_module_items".canvas_assignment_id) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.canvas_context_module_id, EXCLUDED.position, EXCLUDED.canvas_content_id, EXCLUDED.canvas_content_type, EXCLUDED.workflow_state, EXCLUDED.canvas_assignment_id) RETURNING "id"
43150
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
43151
+  (0.1ms) ROLLBACK
43152
+  (0.1ms) BEGIN
43153
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
43154
+ ContextModule Create Many Without Validations Or Callbacks (0.8ms) INSERT INTO "context_modules" ("canvas_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,'2019-06-06 22:04:48.435615','2019-06-06 22:04:48.435615'),(4,27,'Course',1,'Modules gonna module','unpublished',NULL,'2019-06-06 22:04:48.435615','2019-06-06 22:04:48.435615') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_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_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_id, EXCLUDED.canvas_context_id, EXCLUDED.canvas_context_type, EXCLUDED.position, EXCLUDED.name, EXCLUDED.workflow_state, EXCLUDED.deleted_at) RETURNING "id"
43155
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
43156
+  (0.2ms) ROLLBACK
43157
+  (0.2ms) BEGIN
43158
+  (0.3ms) SELECT COUNT(*) FROM "courses"
43159
+ Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_id","sis_id","course_code","name","canvas_account_id","canvas_term_id","start_at","end_at","workflow_state","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2019-06-06 22:04:48.451953','2019-06-06 22:04:48.451953'),(2,'course_sis_id_2','C2','Course #2',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2019-06-06 22:04:48.451953','2019-06-06 22:04:48.451953') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","course_code"=EXCLUDED."course_code","name"=EXCLUDED."name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","start_at"=EXCLUDED."start_at","end_at"=EXCLUDED."end_at","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_id, "courses".sis_id, "courses".course_code, "courses".name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".start_at, "courses".end_at, "courses".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.course_code, EXCLUDED.name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.start_at, EXCLUDED.end_at, EXCLUDED.workflow_state) RETURNING "id"
43160
+  (0.3ms) SELECT COUNT(*) FROM "courses"
43161
+  (0.1ms) ROLLBACK
43162
+  (0.1ms) BEGIN
43163
+  (0.2ms) SELECT COUNT(*) FROM "users"
43164
+ User Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "users" ("canvas_id","sis_id","email","first_name","last_name","name","sortable_name","workflow_state","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','Patches the Spider','the Spider, Patches','active','spiderdude1337','2019-06-06 22:04:48.464064','2019-06-06 22:04:48.464064'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','Hunter Djura','Djura, Hunter','active','retireddude109','2019-06-06 22:04:48.464064','2019-06-06 22:04:48.464064') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","name"=EXCLUDED."name","sortable_name"=EXCLUDED."sortable_name","workflow_state"=EXCLUDED."workflow_state","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".name, "users".sortable_name, "users".workflow_state, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.name, EXCLUDED.sortable_name, EXCLUDED.workflow_state, EXCLUDED.login_id) RETURNING "id"
43165
+  (0.2ms) SELECT COUNT(*) FROM "users"
43166
+  (0.1ms) ROLLBACK
43167
+  (0.1ms) BEGIN
43168
+  (0.3ms) SELECT COUNT(*) FROM "courses"
43169
+ Course Create Many Without Validations Or Callbacks (0.4ms) INSERT INTO "courses" ("canvas_id","sis_id","course_code","name","canvas_account_id","canvas_term_id","start_at","end_at","workflow_state","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2019-06-06 22:04:48.472737','2019-06-06 22:04:48.472737'),(2,'course_sis_id_2','C2','Course #2',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2019-06-06 22:04:48.472737','2019-06-06 22:04:48.472737') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","course_code"=EXCLUDED."course_code","name"=EXCLUDED."name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","start_at"=EXCLUDED."start_at","end_at"=EXCLUDED."end_at","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_id, "courses".sis_id, "courses".course_code, "courses".name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".start_at, "courses".end_at, "courses".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.course_code, EXCLUDED.name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.start_at, EXCLUDED.end_at, EXCLUDED.workflow_state) RETURNING "id"
43170
+  (0.3ms) SELECT COUNT(*) FROM "courses"
43171
+ Course Load (0.2ms) SELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT $1 [["LIMIT", 1]]
43172
+  (0.2ms) ROLLBACK
43173
+  (0.1ms) BEGIN
43174
+  (0.3ms) SELECT COUNT(*) FROM "enrollments"
43175
+ Enrollment Create Many Without Validations Or Callbacks (0.7ms) INSERT INTO "enrollments" ("canvas_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","canvas_role_id","canvas_section_id","workflow_state","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'active','TeacherEnrollment','2019-06-06 22:04:48.483117','2019-06-06 22:04:48.483117'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'active','StudentEnrollment','2019-06-06 22:04:48.483117','2019-06-06 22:04:48.483117') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_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","canvas_role_id"=EXCLUDED."canvas_role_id","canvas_section_id"=EXCLUDED."canvas_section_id","workflow_state"=EXCLUDED."workflow_state","base_role_type"=EXCLUDED."base_role_type","updated_at"=EXCLUDED."updated_at" WHERE ("enrollments".canvas_id, "enrollments".canvas_course_id, "enrollments".course_sis_id, "enrollments".canvas_user_id, "enrollments".user_sis_id, "enrollments".role, "enrollments".canvas_role_id, "enrollments".canvas_section_id, "enrollments".workflow_state, "enrollments".base_role_type) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.canvas_course_id, EXCLUDED.course_sis_id, EXCLUDED.canvas_user_id, EXCLUDED.user_sis_id, EXCLUDED.role, EXCLUDED.canvas_role_id, EXCLUDED.canvas_section_id, EXCLUDED.workflow_state, EXCLUDED.base_role_type) RETURNING "id"
43176
+  (0.2ms) SELECT COUNT(*) FROM "enrollments"
43177
+  (0.1ms) ROLLBACK
43178
+  (0.1ms) BEGIN
43179
+  (0.3ms) SELECT COUNT(*) FROM "sections"
43180
+ Section Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "sections" ("canvas_id","sis_id","canvas_course_id","name","workflow_state","start_at","end_at","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','2019-06-06 22:04:48.493499','2019-06-06 22:04:48.493499'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27 21:53:18','2017-03-27 21:53:18','2019-06-06 22:04:48.493499','2019-06-06 22:04:48.493499') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","canvas_course_id"=EXCLUDED."canvas_course_id","name"=EXCLUDED."name","workflow_state"=EXCLUDED."workflow_state","start_at"=EXCLUDED."start_at","end_at"=EXCLUDED."end_at","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_id, "sections".sis_id, "sections".canvas_course_id, "sections".name, "sections".workflow_state, "sections".start_at, "sections".end_at) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.canvas_course_id, EXCLUDED.name, EXCLUDED.workflow_state, EXCLUDED.start_at, EXCLUDED.end_at) RETURNING "id"
43181
+  (0.3ms) SELECT COUNT(*) FROM "sections"
43182
+ Section Load (0.2ms) SELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT $1 [["LIMIT", 1]]
43183
+  (0.2ms) ROLLBACK
43184
+  (0.1ms) BEGIN
43185
+ Section Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "sections" ("canvas_id","canvas_nonxlist_course_id","created_at","updated_at") VALUES (2,2,'2019-06-06 22:04:48.504792','2019-06-06 22:04:48.504792') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","canvas_nonxlist_course_id"=EXCLUDED."canvas_nonxlist_course_id","updated_at"=EXCLUDED."updated_at" WHERE ("sections".canvas_id, "sections".canvas_nonxlist_course_id) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.canvas_nonxlist_course_id) RETURNING "id"
43186
+  (0.2ms) SELECT COUNT(*) FROM "sections" WHERE ("sections"."canvas_nonxlist_course_id" IS NOT NULL)
43187
+ 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]]
43188
+  (0.1ms) ROLLBACK
43189
+  (0.1ms) BEGIN
43190
+  (0.2ms) SELECT COUNT(*) FROM "users"
43191
+  (0.2ms) SELECT COUNT(*) FROM "courses"
43192
+ Course Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "courses" ("canvas_id","sis_id","course_code","name","canvas_account_id","canvas_term_id","start_at","end_at","workflow_state","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2019-06-06 22:04:48.518422','2019-06-06 22:04:48.518422'),(2,'course_sis_id_2','C2','Course #2',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2019-06-06 22:04:48.518422','2019-06-06 22:04:48.518422') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","course_code"=EXCLUDED."course_code","name"=EXCLUDED."name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","start_at"=EXCLUDED."start_at","end_at"=EXCLUDED."end_at","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_id, "courses".sis_id, "courses".course_code, "courses".name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".start_at, "courses".end_at, "courses".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.course_code, EXCLUDED.name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.start_at, EXCLUDED.end_at, EXCLUDED.workflow_state) RETURNING "id"
43193
+ User Create Many Without Validations Or Callbacks (0.5ms) INSERT INTO "users" ("canvas_id","sis_id","email","first_name","last_name","name","sortable_name","workflow_state","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','Patches the Spider','the Spider, Patches','active','spiderdude1337','2019-06-06 22:04:48.520797','2019-06-06 22:04:48.520797'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','Hunter Djura','Djura, Hunter','active','retireddude109','2019-06-06 22:04:48.520797','2019-06-06 22:04:48.520797') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","email"=EXCLUDED."email","first_name"=EXCLUDED."first_name","last_name"=EXCLUDED."last_name","name"=EXCLUDED."name","sortable_name"=EXCLUDED."sortable_name","workflow_state"=EXCLUDED."workflow_state","login_id"=EXCLUDED."login_id","updated_at"=EXCLUDED."updated_at" WHERE ("users".canvas_id, "users".sis_id, "users".email, "users".first_name, "users".last_name, "users".name, "users".sortable_name, "users".workflow_state, "users".login_id) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.email, EXCLUDED.first_name, EXCLUDED.last_name, EXCLUDED.name, EXCLUDED.sortable_name, EXCLUDED.workflow_state, EXCLUDED.login_id) RETURNING "id"
43194
+  (0.2ms) SELECT COUNT(*) FROM "users"
43195
+  (0.2ms) SELECT COUNT(*) FROM "courses"
43196
+  (0.1ms) ROLLBACK
43197
+  (0.1ms) BEGIN
43198
+  (0.2ms) ROLLBACK
43199
+  (0.2ms) BEGIN
43200
+ Course Create Many Without Validations Or Callbacks (1.3ms) INSERT INTO "courses" ("canvas_id","sis_id","course_code","name","canvas_account_id","canvas_term_id","start_at","end_at","workflow_state","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','active','2019-06-06 22:04:48.538838','2019-06-06 22:04:48.538838'),(2,'course_sis_id_2','C2','Course #2',1,1,'2017-03-27 21:53:18','2017-04-27 12:21:18','unpublished','2019-06-06 22:04:48.538838','2019-06-06 22:04:48.538838') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_id","sis_id"=EXCLUDED."sis_id","course_code"=EXCLUDED."course_code","name"=EXCLUDED."name","canvas_account_id"=EXCLUDED."canvas_account_id","canvas_term_id"=EXCLUDED."canvas_term_id","start_at"=EXCLUDED."start_at","end_at"=EXCLUDED."end_at","workflow_state"=EXCLUDED."workflow_state","updated_at"=EXCLUDED."updated_at" WHERE ("courses".canvas_id, "courses".sis_id, "courses".course_code, "courses".name, "courses".canvas_account_id, "courses".canvas_term_id, "courses".start_at, "courses".end_at, "courses".workflow_state) IS DISTINCT FROM (EXCLUDED.canvas_id, EXCLUDED.sis_id, EXCLUDED.course_code, EXCLUDED.name, EXCLUDED.canvas_account_id, EXCLUDED.canvas_term_id, EXCLUDED.start_at, EXCLUDED.end_at, EXCLUDED.workflow_state) RETURNING "id"
43201
+  (0.2ms) ROLLBACK
43202
+  (0.1ms) BEGIN
43203
+  (0.3ms) SELECT COUNT(*) FROM "submissions"
43204
+ Submission Create Many Without Validations Or Callbacks (0.6ms) INSERT INTO "submissions" ("canvas_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.0,10.0,'t','graded','2019-06-06 22:04:48.553345','2019-06-06 22:04:48.553345'),(2,1,1,2,'2017-09-21 18:28:15','2017-09-21 19:36:23',5.0,10.0,'f','submitted','2019-06-06 22:04:48.553345','2019-06-06 22:04:48.553345') ON CONFLICT (canvas_id) DO UPDATE SET "canvas_id"=EXCLUDED."canvas_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_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_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"
43205
+  (0.2ms) SELECT COUNT(*) FROM "submissions"
43206
+  (0.1ms) ROLLBACK
43207
+  (0.1ms) BEGIN
43208
+  (0.1ms) SAVEPOINT active_record_1
43209
+ Course Exists (0.3ms) SELECT 1 AS one FROM "courses" WHERE "courses"."canvas_id" = $1 LIMIT $2 [["canvas_id", 14393933], ["LIMIT", 1]]
43210
+ SQL (0.3ms) INSERT INTO "courses" ("canvas_id", "sis_id", "course_code", "name", "start_at", "end_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 14393933], ["sis_id", "0826db0d17c7d5bb13376cb664678cd5"], ["course_code", "Cool Course"], ["name", "Really Really Cool Course"], ["start_at", "2019-06-03 22:04:48.562750"], ["end_at", "2019-06-27 22:04:48.562853"], ["created_at", "2019-06-06 22:04:48.564306"], ["updated_at", "2019-06-06 22:04:48.564306"]]
43211
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43212
+  (0.1ms) SAVEPOINT active_record_1
43213
+ SQL (0.2ms) INSERT INTO "context_modules" ("canvas_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_id", 1], ["canvas_context_id", 14393933], ["canvas_context_type", "Course"], ["name", "Context Module"], ["workflow_state", "available"], ["created_at", "2019-06-06 22:04:48.565964"], ["updated_at", "2019-06-06 22:04:48.565964"]]
43214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43215
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
43216
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43217
+  (0.1ms) SAVEPOINT active_record_1
43218
+ SQL (0.3ms) 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", "2019-06-06 22:04:48.572229"], ["id", 6]]
43219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43220
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
43221
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
43222
+  (0.1ms) ROLLBACK
43223
+  (0.1ms) BEGIN
43224
+  (0.3ms) SELECT COUNT(*) FROM "context_modules"
43225
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" WHERE "context_modules"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43226
+  (0.2ms) SAVEPOINT active_record_1
43227
+ SQL (0.3ms) INSERT INTO "context_modules" ("canvas_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_id", 1], ["canvas_context_id", 1], ["canvas_context_type", "Course"], ["position", 1337], ["name", "Module 2"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:48.582973"], ["updated_at", "2019-06-06 22:04:48.582973"]]
43228
+  (0.2ms) RELEASE SAVEPOINT active_record_1
43229
+  (0.2ms) SELECT COUNT(*) FROM "context_modules"
43230
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
43231
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
43232
+ ContextModule Load (0.2ms) SELECT "context_modules".* FROM "context_modules" ORDER BY "context_modules"."id" DESC LIMIT $1 [["LIMIT", 1]]
43233
+  (0.1ms) ROLLBACK
43234
+  (0.2ms) BEGIN
43235
+  (0.2ms) SAVEPOINT active_record_1
43236
+ Assignment Exists (0.3ms) SELECT 1 AS one FROM "assignments" WHERE "assignments"."canvas_id" = $1 LIMIT $2 [["canvas_id", 10], ["LIMIT", 1]]
43237
+ SQL (0.2ms) INSERT INTO "assignments" ("canvas_id", "title", "due_at", "unlock_at", "lock_at", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["canvas_id", 10], ["title", "Assignment 10"], ["due_at", "2019-06-13 22:04:48.591934"], ["unlock_at", "2019-06-05 22:04:48.592047"], ["lock_at", "2019-06-27 22:04:48.592092"], ["created_at", "2019-06-06 22:04:48.593601"], ["updated_at", "2019-06-06 22:04:48.593601"]]
43238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43239
+  (0.1ms) SAVEPOINT active_record_1
43240
+ SQL (0.2ms) INSERT INTO "context_module_items" ("canvas_id", "canvas_assignment_id", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["canvas_id", 1], ["canvas_assignment_id", 10], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:48.595322"], ["updated_at", "2019-06-06 22:04:48.595322"]]
43241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43242
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
43243
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43244
+  (0.1ms) SAVEPOINT active_record_1
43245
+ SQL (0.4ms) UPDATE "context_module_items" SET "canvas_context_module_id" = $1, "position" = $2, "canvas_content_id" = $3, "canvas_content_type" = $4, "updated_at" = $5 WHERE "context_module_items"."id" = $6 [["canvas_context_module_id", 1], ["position", 10], ["canvas_content_id", 143], ["canvas_content_type", "Assignment"], ["updated_at", "2019-06-06 22:04:48.601888"], ["id", 5]]
43246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43247
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
43248
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."id" = $1 LIMIT $2 [["id", 5], ["LIMIT", 1]]
43249
+  (0.1ms) ROLLBACK
43250
+  (0.1ms) BEGIN
43251
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
43252
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" WHERE "context_module_items"."canvas_id" = $1 LIMIT $2 [["canvas_id", 1], ["LIMIT", 1]]
43253
+  (0.1ms) SAVEPOINT active_record_1
43254
+ SQL (0.3ms) INSERT INTO "context_module_items" ("canvas_id", "canvas_context_module_id", "position", "canvas_content_id", "canvas_content_type", "workflow_state", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["canvas_id", 1], ["canvas_context_module_id", 1], ["position", 10], ["canvas_content_id", 143], ["canvas_content_type", "Assignment"], ["workflow_state", "active"], ["created_at", "2019-06-06 22:04:48.612397"], ["updated_at", "2019-06-06 22:04:48.612397"]]
43255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
43256
+  (0.2ms) SELECT COUNT(*) FROM "context_module_items"
43257
+ ContextModuleItem Load (0.2ms) SELECT "context_module_items".* FROM "context_module_items" ORDER BY "context_module_items"."id" DESC LIMIT $1 [["LIMIT", 1]]
43258
+  (0.1ms) ROLLBACK