canvas_sync 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canvas_sync/engine.rb +2 -0
- data/lib/canvas_sync/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +431 -0
- data/spec/dummy/log/test.log +649 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/courses.csv +3 -0
- data/spec/support/fixtures/reports/provisioning_csv_unzipped/users.csv +4 -0
- metadata +14 -2
@@ -0,0 +1,649 @@
|
|
1
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "canvas_sync_job_logs"[0m
|
2
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
3
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "canvas_sync_job_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "started_at" datetime, "completed_at" datetime, "exception" varchar, "backtrace" text, "job_class" varchar, "status" varchar, "metadata" text, "job_arguments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
4
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "courses"[0m
|
5
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "courses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_course_id" bigint NOT NULL, "sis_id" varchar, "short_name" varchar, "long_name" varchar, "status" varchar, "canvas_account_id" integer, "canvas_term_id" integer, "term_sis_id" integer, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
6
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_courses_on_canvas_course_id" ON "courses" ("canvas_course_id")[0m
|
7
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "enrollments"[0m
|
8
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "enrollments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_enrollment_id" bigint NOT NULL, "canvas_course_id" bigint, "course_sis_id" varchar, "canvas_user_id" bigint, "user_sis_id" varchar, "role" varchar, "role_id" integer, "canvas_section_id" bigint, "section_sis_id" varchar, "status" varchar, "base_role_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
9
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_course_id" ON "enrollments" ("canvas_course_id")[0m
|
10
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
11
|
+
FROM sqlite_master
|
12
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
13
|
+
UNION ALL
|
14
|
+
SELECT sql
|
15
|
+
FROM sqlite_temp_master
|
16
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
17
|
+
[0m
|
18
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_enrollments_on_canvas_enrollment_id" ON "enrollments" ("canvas_enrollment_id")[0m
|
19
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
20
|
+
FROM sqlite_master
|
21
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
22
|
+
UNION ALL
|
23
|
+
SELECT sql
|
24
|
+
FROM sqlite_temp_master
|
25
|
+
WHERE name='index_enrollments_on_canvas_enrollment_id' AND type='index'
|
26
|
+
[0m
|
27
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
28
|
+
FROM sqlite_master
|
29
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
30
|
+
UNION ALL
|
31
|
+
SELECT sql
|
32
|
+
FROM sqlite_temp_master
|
33
|
+
WHERE name='index_enrollments_on_canvas_course_id' AND type='index'
|
34
|
+
[0m
|
35
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_enrollments_on_canvas_user_id" ON "enrollments" ("canvas_user_id")[0m
|
36
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "sections"[0m
|
37
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_section_id" bigint NOT NULL, "sis_id" varchar, "canvas_course_id" bigint, "name" varchar, "status" varchar, "start_date" datetime, "end_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
38
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_sections_on_canvas_course_id" ON "sections" ("canvas_course_id")[0m
|
39
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
40
|
+
FROM sqlite_master
|
41
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
42
|
+
UNION ALL
|
43
|
+
SELECT sql
|
44
|
+
FROM sqlite_temp_master
|
45
|
+
WHERE name='index_sections_on_canvas_course_id' AND type='index'
|
46
|
+
[0m
|
47
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_sections_on_canvas_section_id" ON "sections" ("canvas_section_id")[0m
|
48
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "terms"[0m
|
49
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_term_id" integer NOT NULL, "name" varchar, "start_at" datetime, "end_at" datetime, "workflow_state" varchar, "grading_period_group_id" integer, "sis_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
50
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_terms_on_canvas_term_id" ON "terms" ("canvas_term_id")[0m
|
51
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
52
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "canvas_user_id" bigint NOT NULL, "sis_id" varchar, "email" varchar, "first_name" varchar, "last_name" varchar, "status" varchar, "login_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
53
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_canvas_user_id" ON "users" ("canvas_user_id")[0m
|
54
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
55
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
56
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170918221413)[0m
|
57
|
+
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
58
|
+
(20170905192509),
|
59
|
+
(20170906193506),
|
60
|
+
(20170906203438),
|
61
|
+
(20170914181345),
|
62
|
+
(20170915210836);
|
63
|
+
|
64
|
+
[0m
|
65
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
66
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
67
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
68
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2017-11-02 21:24:41.277398"], ["updated_at", "2017-11-02 21:24:41.277398"]]
|
69
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
70
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
71
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
72
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
73
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
74
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
75
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
76
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
77
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
78
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
79
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
80
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
81
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
82
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
83
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "canvas_sync_job_logs"[0m
|
84
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] Performing GoodJob (Job ID: 87676425-eadf-401a-8529-32bcb8bfb822) from Async(default) with arguments: "argument"
|
85
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
86
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.579194"], ["job_class", "GoodJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2017-11-02 21:24:41.588937"], ["updated_at", "2017-11-02 21:24:41.588937"]]
|
87
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
88
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
89
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.592547"], ["updated_at", "2017-11-02 21:24:41.592826"], ["id", 1]]
|
90
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
91
|
+
[ActiveJob] [GoodJob] [87676425-eadf-401a-8529-32bcb8bfb822] Performed GoodJob (Job ID: 87676425-eadf-401a-8529-32bcb8bfb822) from Async(default) in 14.89ms
|
92
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "canvas_sync_job_logs"[0m
|
93
|
+
[1m[36mCanvasSync::JobLog Load (0.1ms)[0m [1m[34mSELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
94
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
95
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
96
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] Performing BadJob (Job ID: 98ce3654-261b-4efd-b9e2-107449c652c5) from Async(default) with arguments: "argument"
|
97
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
98
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.598843"], ["job_class", "BadJob"], ["job_arguments", "---\n- argument\n"], ["created_at", "2017-11-02 21:24:41.599381"], ["updated_at", "2017-11-02 21:24:41.599381"]]
|
99
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
100
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
101
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.601037"], ["exception", "EvilError: EvilError"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:362:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:13:in `start'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'\"]"], ["updated_at", "2017-11-02 21:24:41.601269"], ["id", 1]]
|
102
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
103
|
+
[ActiveJob] [BadJob] [98ce3654-261b-4efd-b9e2-107449c652c5] Error performing BadJob (Job ID: 98ce3654-261b-4efd-b9e2-107449c652c5) from Async(default) in 4.1ms: EvilError (EvilError):
|
104
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:12:in `perform'
|
105
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
|
106
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
107
|
+
/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
|
108
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
109
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
110
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
|
111
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
|
112
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
113
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
114
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
|
115
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
|
116
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
117
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
|
118
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
|
119
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
|
120
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
121
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
|
122
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
|
123
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
|
124
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
|
125
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
126
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
127
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
128
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
|
129
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
|
130
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:32:in `block (4 levels) in <top (required)>'
|
131
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
|
132
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
|
133
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
|
134
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
|
135
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
|
136
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
|
137
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/job_spec.rb:31:in `block (3 levels) in <top (required)>'
|
138
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
|
139
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
|
140
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
141
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
142
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
|
143
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
144
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
145
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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>'
|
146
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
147
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
148
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
|
149
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
150
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
151
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
|
152
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
|
153
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
|
154
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
155
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
|
156
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
|
157
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
|
158
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
|
159
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
|
160
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
|
161
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
|
162
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
|
163
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
164
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
|
165
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
166
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
|
167
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
|
168
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
|
169
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
|
170
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
|
171
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
|
172
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
|
173
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
|
174
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `load'
|
175
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `<top (required)>'
|
176
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `load'
|
177
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `kernel_load'
|
178
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:27:in `run'
|
179
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:362:in `exec'
|
180
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
|
181
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
|
182
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
|
183
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:22:in `dispatch'
|
184
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
|
185
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:13:in `start'
|
186
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:30:in `block in <top (required)>'
|
187
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
|
188
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:22:in `<top (required)>'
|
189
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `load'
|
190
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'
|
191
|
+
[1m[36mCanvasSync::JobLog Load (0.1ms)[0m [1m[34mSELECT "canvas_sync_job_logs".* FROM "canvas_sync_job_logs" ORDER BY "canvas_sync_job_logs"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
192
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
193
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
194
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] Performing CanvasSync::Jobs::ReportChecker (Job ID: 09b86f5d-cfd9-4795-b22e-976fc9465fcf) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
195
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
196
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.605928"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2017-11-02 21:24:41.606279"], ["updated_at", "2017-11-02 21:24:41.606279"]]
|
197
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
198
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
199
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.633229"], ["updated_at", "2017-11-02 21:24:41.634097"], ["id", 1]]
|
200
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
201
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [09b86f5d-cfd9-4795-b22e-976fc9465fcf] Performed CanvasSync::Jobs::ReportChecker (Job ID: 09b86f5d-cfd9-4795-b22e-976fc9465fcf) from Async(default) in 31.44ms
|
202
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
203
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
204
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] Performing CanvasSync::Jobs::ReportChecker (Job ID: 1ace51a3-c5ed-4b71-89a9-68882f7c999c) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
205
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
206
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.640543"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2017-11-02 21:24:41.641132"], ["updated_at", "2017-11-02 21:24:41.641132"]]
|
207
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
208
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 4735b472-f322-455b-a3e6-fb1461cc1139) to Async(default) at 2017-11-02 21:25:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
209
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
210
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.650029"], ["updated_at", "2017-11-02 21:24:41.650501"], ["id", 1]]
|
211
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
212
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [1ace51a3-c5ed-4b71-89a9-68882f7c999c] Performed CanvasSync::Jobs::ReportChecker (Job ID: 1ace51a3-c5ed-4b71-89a9-68882f7c999c) from Async(default) in 11.75ms
|
213
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
214
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
215
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] Performing CanvasSync::Jobs::ReportChecker (Job ID: 94a8981f-0a7b-44ea-8ab4-5af64543f6e0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "FakeProcessor", {}
|
216
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
217
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.655818"], ["job_class", "CanvasSync::Jobs::ReportChecker"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- 1\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2017-11-02 21:24:41.656212"], ["updated_at", "2017-11-02 21:24:41.656212"]]
|
218
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
219
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1
|
220
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
221
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "exception" = ?, "backtrace" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.670678"], ["exception", "RuntimeError: Report failed to process; status was {\"status\"=>\"error\"} for report_name: provisioning_csv, report_id: 1"], ["backtrace", "[\"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:28:in `perform'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'\", \"/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'\", \"/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'\", \"/Users/ncollings/.rbenv/versions/2.4.1/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/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `kernel_load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:362:in `exec'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:22:in `dispatch'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:13:in `start'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:30:in `block in <top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'\", \"/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:22:in `<top (required)>'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `load'\", \"/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'\"]"], ["updated_at", "2017-11-02 21:24:41.670913"], ["id", 1]]
|
222
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
223
|
+
[ActiveJob] [CanvasSync::Jobs::ReportChecker] [94a8981f-0a7b-44ea-8ab4-5af64543f6e0] Error performing CanvasSync::Jobs::ReportChecker (Job ID: 94a8981f-0a7b-44ea-8ab4-5af64543f6e0) from Async(default) in 16.62ms: RuntimeError (Report failed to process; status was {"status"=>"error"} for report_name: provisioning_csv, report_id: 1):
|
224
|
+
/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/jobs/report_checker.rb:28:in `perform'
|
225
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:37:in `block in perform_now'
|
226
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
|
227
|
+
/Users/ncollings/workspace/canvas_sync/lib/canvas_sync/job.rb:14:in `block in <class:Job>'
|
228
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
229
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
230
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/i18n-0.8.6/lib/i18n.rb:257:in `with_locale'
|
231
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
|
232
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
233
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
234
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>'
|
235
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `block in instrument'
|
236
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
237
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/notifications.rb:166:in `instrument'
|
238
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>'
|
239
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `block in tag_logger'
|
240
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
241
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:26:in `tagged'
|
242
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/tagged_logging.rb:69:in `tagged'
|
243
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:44:in `tag_logger'
|
244
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>'
|
245
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `instance_exec'
|
246
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
|
247
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-5.1.3/lib/active_support/callbacks.rb:135:in `run_callbacks'
|
248
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:33:in `perform_now'
|
249
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activejob-5.1.3/lib/active_job/execution.rb:16:in `perform_now'
|
250
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:12:in `start_job'
|
251
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (5 levels) in <top (required)>'
|
252
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/matchers/built_in/raise_error.rb:52:in `matches?'
|
253
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
|
254
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
|
255
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
|
256
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
|
257
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:101:in `to'
|
258
|
+
/Users/ncollings/workspace/canvas_sync/spec/canvas_sync/jobs/report_checker_spec.rb:55:in `block (4 levels) in <top (required)>'
|
259
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `instance_exec'
|
260
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:254:in `block in run'
|
261
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
262
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
263
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `block in run'
|
264
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
265
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
266
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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>'
|
267
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
268
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:447:in `instance_exec'
|
269
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:375:in `execute_with'
|
270
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
271
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:342:in `call'
|
272
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:607:in `run_around_example_hooks_for'
|
273
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/hooks.rb:464:in `run'
|
274
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:457:in `with_around_example_hooks'
|
275
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
276
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example.rb:251:in `run'
|
277
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:627:in `block in run_examples'
|
278
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `map'
|
279
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:623:in `run_examples'
|
280
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:589:in `run'
|
281
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
|
282
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
|
283
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
|
284
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `block in run'
|
285
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `map'
|
286
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/example_group.rb:590:in `run'
|
287
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
288
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:118:in `map'
|
289
|
+
/Users/ncollings/.rbenv/versions/2.4.1/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'
|
290
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/configuration.rb:1894:in `with_suite_hooks'
|
291
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:113:in `block in run_specs'
|
292
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/reporter.rb:79:in `report'
|
293
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:112:in `run_specs'
|
294
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:87:in `run'
|
295
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:71:in `run'
|
296
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/lib/rspec/core/runner.rb:45:in `invoke'
|
297
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rspec-core-3.6.0/exe/rspec:4:in `<top (required)>'
|
298
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `load'
|
299
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/rspec:23:in `<top (required)>'
|
300
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `load'
|
301
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:74:in `kernel_load'
|
302
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli/exec.rb:27:in `run'
|
303
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:362:in `exec'
|
304
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
|
305
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
|
306
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
|
307
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:22:in `dispatch'
|
308
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
|
309
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/cli.rb:13:in `start'
|
310
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:30:in `block in <top (required)>'
|
311
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
|
312
|
+
/Users/ncollings/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/exe/bundle:22:in `<top (required)>'
|
313
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `load'
|
314
|
+
/Users/ncollings/.rbenv/versions/2.4.1/bin/bundle:22:in `<main>'
|
315
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
316
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
317
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] Performing CanvasSync::Jobs::ReportProcessorJob (Job ID: bac85159-596d-498c-a42a-af23f31e7052) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", "https://test.instructure.com/sample_report_download", "FakeProcessor", {}
|
318
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
319
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.675414"], ["job_class", "CanvasSync::Jobs::ReportProcessorJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- https://test.instructure.com/sample_report_download\n- FakeProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2017-11-02 21:24:41.675754"], ["updated_at", "2017-11-02 21:24:41.675754"]]
|
320
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
321
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
322
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.714323"], ["updated_at", "2017-11-02 21:24:41.714773"], ["id", 1]]
|
323
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
324
|
+
[ActiveJob] [CanvasSync::Jobs::ReportProcessorJob] [bac85159-596d-498c-a42a-af23f31e7052] Performed CanvasSync::Jobs::ReportProcessorJob (Job ID: bac85159-596d-498c-a42a-af23f31e7052) from Async(default) in 40.68ms
|
325
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
326
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
327
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] Performing CanvasSync::Jobs::ReportStarter (Job ID: 6173075d-e6af-419d-b534-2a0605ecf9ba) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", {"parameters[users]"=>true}, "CoolProcessor", {:models=>["users"]}
|
328
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
329
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.718739"], ["job_class", "CanvasSync::Jobs::ReportStarter"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- provisioning_csv\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n parameters[users]: true\n- CoolProcessor\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n"], ["created_at", "2017-11-02 21:24:41.726125"], ["updated_at", "2017-11-02 21:24:41.726125"]]
|
330
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
331
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 53eb5e68-c4f3-44d6-b630-36b472e54db4) to Async(default) at 2017-11-02 21:25:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "provisioning_csv", 1, "CoolProcessor", {:models=>["users"]}
|
332
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
333
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.729882"], ["updated_at", "2017-11-02 21:24:41.730220"], ["id", 1]]
|
334
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
335
|
+
[ActiveJob] [CanvasSync::Jobs::ReportStarter] [6173075d-e6af-419d-b534-2a0605ecf9ba] Performed CanvasSync::Jobs::ReportStarter (Job ID: 6173075d-e6af-419d-b534-2a0605ecf9ba) from Async(default) in 12.93ms
|
336
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
337
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
338
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
339
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 3977706], ["LIMIT", 1]]
|
340
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 3977706], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "active"], ["sis_id", "c8a7ff18e305eb00819b03f6c8181863"], ["created_at", "2017-11-02 21:24:41.747514"], ["updated_at", "2017-11-02 21:24:41.747514"]]
|
341
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
342
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
343
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 28010032], ["LIMIT", 1]]
|
344
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 28010032], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "active"], ["sis_id", "836c8edeed556adeaf0b7afe503ac374"], ["created_at", "2017-11-02 21:24:41.750943"], ["updated_at", "2017-11-02 21:24:41.750943"]]
|
345
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
346
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
347
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 61451015], ["LIMIT", 1]]
|
348
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 61451015], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "inactive"], ["sis_id", "a2928c62e3e95522d5409716403faf2e"], ["created_at", "2017-11-02 21:24:41.754841"], ["updated_at", "2017-11-02 21:24:41.754841"]]
|
349
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
350
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: dfa314b0-c7f1-441f-afa4-2af94cec1702) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"], :term_scope=>"active"}
|
351
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
352
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.756665"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n term_scope: active\n"], ["created_at", "2017-11-02 21:24:41.757091"], ["updated_at", "2017-11-02 21:24:41.757091"]]
|
353
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
354
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2017-11-17 21:24:41.759302' OR start_at IS NULL) AND (end_at >= '2017-10-18 21:24:41.759571' OR end_at IS NULL) ORDER BY "terms"."id" ASC LIMIT ?[0m [["workflow_state", "active"], ["LIMIT", 1000]]
|
355
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
356
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.760639"], ["updated_at", "2017-11-02 21:24:41.760907"], ["id", 1]]
|
357
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
358
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [dfa314b0-c7f1-441f-afa4-2af94cec1702] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: dfa314b0-c7f1-441f-afa4-2af94cec1702) from Async(default) in 5.61ms
|
359
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
360
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
361
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] Performing CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {:models=>["users", "courses"]}
|
362
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
363
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.764655"], ["job_class", "CanvasSync::Jobs::SyncProvisioningReportJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n models:\n - users\n - courses\n"], ["created_at", "2017-11-02 21:24:41.765076"], ["updated_at", "2017-11-02 21:24:41.765076"]]
|
364
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
365
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
366
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.767394"], ["updated_at", "2017-11-02 21:24:41.767639"], ["id", 1]]
|
367
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
368
|
+
[ActiveJob] [CanvasSync::Jobs::SyncProvisioningReportJob] [e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb] Performed CanvasSync::Jobs::SyncProvisioningReportJob (Job ID: e0b3c7e7-ab3a-41ba-b5e8-44cf718548eb) from Async(default) in 4.08ms
|
369
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
371
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
372
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] Performing CanvasSync::Jobs::SyncTermsJob (Job ID: cc1db221-d50b-48ca-98cb-4a3f90e0a2fe) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
373
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
374
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.771614"], ["job_class", "CanvasSync::Jobs::SyncTermsJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2017-11-02 21:24:41.771913"], ["updated_at", "2017-11-02 21:24:41.771913"]]
|
375
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
376
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
377
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
378
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
379
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2017-11-02 21:24:41.777741"], ["updated_at", "2017-11-02 21:24:41.777741"]]
|
380
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
381
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 6], ["LIMIT", 1]]
|
382
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
383
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 6], ["LIMIT", 1]]
|
384
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_term_id", 6], ["name", "Average Term 1"], ["workflow_state", "active"], ["created_at", "2017-11-02 21:24:41.786956"], ["updated_at", "2017-11-02 21:24:41.786956"]]
|
385
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
386
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Load (0.0ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 7], ["LIMIT", 1]]
|
387
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
388
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 7], ["LIMIT", 1]]
|
389
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["canvas_term_id", 7], ["name", "Average Term 2"], ["workflow_state", "active"], ["created_at", "2017-11-02 21:24:41.788631"], ["updated_at", "2017-11-02 21:24:41.788631"]]
|
390
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
391
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Load (0.0ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 5], ["LIMIT", 1]]
|
392
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
393
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 5], ["LIMIT", 1]]
|
394
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 5], ["name", "Syllabus Term"], ["start_at", "2017-08-14 06:00:00"], ["end_at", "2017-08-31 06:00:00"], ["workflow_state", "active"], ["sis_id", "SYTERM"], ["created_at", "2017-11-02 21:24:41.792549"], ["updated_at", "2017-11-02 21:24:41.792549"]]
|
395
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
396
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Load (0.0ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 4], ["LIMIT", 1]]
|
397
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
398
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 4], ["LIMIT", 1]]
|
399
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 4], ["name", "Ellucian Term"], ["start_at", "2017-08-01 06:00:00"], ["end_at", "2017-10-31 06:00:00"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "SH"], ["created_at", "2017-11-02 21:24:41.794502"], ["updated_at", "2017-11-02 21:24:41.794502"]]
|
400
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
401
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 3], ["LIMIT", 1]]
|
402
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
403
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 3], ["LIMIT", 1]]
|
404
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 3], ["name", "Current Term"], ["start_at", "2017-03-19 06:00:00"], ["end_at", "2017-08-01 06:00:00"], ["workflow_state", "active"], ["created_at", "2017-11-02 21:24:41.796626"], ["updated_at", "2017-11-02 21:24:41.796626"]]
|
405
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
406
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
407
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.797631"], ["updated_at", "2017-11-02 21:24:41.797981"], ["id", 1]]
|
408
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
409
|
+
[ActiveJob] [CanvasSync::Jobs::SyncTermsJob] [cc1db221-d50b-48ca-98cb-4a3f90e0a2fe] Performed CanvasSync::Jobs::SyncTermsJob (Job ID: cc1db221-d50b-48ca-98cb-4a3f90e0a2fe) from Async(default) in 28.2ms
|
410
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
411
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
412
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] Performing CanvasSync::Jobs::SyncUsersJob (Job ID: 350e6964-e9e5-4d2a-96cd-b900ffde23f0) from Async(default) with arguments: {:jobs=>[], :global_options=>{}}, {}
|
414
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
415
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "canvas_sync_job_logs" ("started_at", "job_class", "job_arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["started_at", "2017-11-02 21:24:41.803762"], ["job_class", "CanvasSync::Jobs::SyncUsersJob"], ["job_arguments", "---\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n jobs: []\n global_options: !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n- !ruby/hash:ActiveSupport::HashWithIndifferentAccess {}\n"], ["created_at", "2017-11-02 21:24:41.804369"], ["updated_at", "2017-11-02 21:24:41.804369"]]
|
416
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
417
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] Enqueued CanvasSync::Jobs::ReportChecker (Job ID: 8ba5113c-389c-423e-989e-927db2ad3876) to Async(default) at 2017-11-02 21:25:11 UTC with arguments: {:jobs=>[], :global_options=>{}}, "proservices_provisioning_csv", 1, "CanvasSync::Processors::ProvisioningReportProcessor", {:models=>["users"]}
|
418
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
419
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] [1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "canvas_sync_job_logs" SET "completed_at" = ?, "updated_at" = ? WHERE "canvas_sync_job_logs"."id" = ?[0m [["completed_at", "2017-11-02 21:24:41.807980"], ["updated_at", "2017-11-02 21:24:41.808353"], ["id", 1]]
|
420
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
421
|
+
[ActiveJob] [CanvasSync::Jobs::SyncUsersJob] [350e6964-e9e5-4d2a-96cd-b900ffde23f0] Performed CanvasSync::Jobs::SyncUsersJob (Job ID: 350e6964-e9e5-4d2a-96cd-b900ffde23f0) from Async(default) in 6.6ms
|
422
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
423
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
424
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
425
|
+
[1m[36mCourse Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ?[0m [["canvas_course_id", 64443679], ["LIMIT", 1]]
|
426
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 64443679], ["sis_id", "6c977802e78b5f2dbb14351cfdbd7c58"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-10-30 21:24:41.825693"], ["end_date", "2017-11-23 21:24:41.825812"], ["created_at", "2017-11-02 21:24:41.827295"], ["updated_at", "2017-11-02 21:24:41.827295"]]
|
427
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
428
|
+
[1m[36mCourse Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" IS NULL AND ("courses"."id" != ?) LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
429
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
430
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
431
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
432
|
+
[1m[36mCourse Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ?[0m [["canvas_course_id", 22569266], ["LIMIT", 1]]
|
433
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 22569266], ["sis_id", "e9c22740932a31a35c7eaec089b8b54b"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-10-30 21:24:41.852901"], ["end_date", "2017-11-23 21:24:41.853020"], ["created_at", "2017-11-02 21:24:41.854059"], ["updated_at", "2017-11-02 21:24:41.854059"]]
|
434
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
435
|
+
[1m[36mCourse Load (0.1ms)[0m [1m[34mSELECT "courses".* FROM "courses" ORDER BY "courses"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
436
|
+
[1m[36mCourse Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ?[0m [["canvas_course_id", 22569266], ["LIMIT", 1]]
|
437
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
438
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
439
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
440
|
+
[1m[36mCourse Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ?[0m [["canvas_course_id", 46894132], ["LIMIT", 1]]
|
441
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 46894132], ["sis_id", "182683b1bb1e16cfeef7e933c5a1564f"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-10-30 21:24:41.859566"], ["end_date", "2017-11-23 21:24:41.859667"], ["created_at", "2017-11-02 21:24:41.860608"], ["updated_at", "2017-11-02 21:24:41.860608"]]
|
442
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
443
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
444
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
446
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ?[0m [["canvas_course_id", 98532154], ["LIMIT", 1]]
|
447
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 98532154], ["sis_id", "981553970015857e54f773e67b38b97d"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-10-30 21:24:41.864853"], ["end_date", "2017-11-23 21:24:41.865077"], ["created_at", "2017-11-02 21:24:41.866654"], ["updated_at", "2017-11-02 21:24:41.866654"]]
|
448
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
449
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
450
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
452
|
+
[1m[36mCourse Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "courses" WHERE "courses"."canvas_course_id" = ? LIMIT ?[0m [["canvas_course_id", 66121916], ["LIMIT", 1]]
|
453
|
+
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id", "sis_id", "short_name", "long_name", "start_date", "end_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_course_id", 66121916], ["sis_id", "0ea7151b89a546b99ebe492156d56ce5"], ["short_name", "Cool Course"], ["long_name", "Really Really Cool Course"], ["start_date", "2017-10-30 21:24:41.872002"], ["end_date", "2017-11-23 21:24:41.872222"], ["created_at", "2017-11-02 21:24:41.873640"], ["updated_at", "2017-11-02 21:24:41.873640"]]
|
454
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
455
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
456
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
457
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
458
|
+
[1m[36mEnrollment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ?[0m [["canvas_enrollment_id", 85348988], ["LIMIT", 1]]
|
459
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_enrollment_id", 85348988], ["created_at", "2017-11-02 21:24:41.896064"], ["updated_at", "2017-11-02 21:24:41.896064"]]
|
460
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
461
|
+
[1m[36mEnrollment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" IS NULL AND ("enrollments"."id" != ?) LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
462
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
463
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
464
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
465
|
+
[1m[36mEnrollment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ?[0m [["canvas_enrollment_id", 76889930], ["LIMIT", 1]]
|
466
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_enrollment_id", 76889930], ["created_at", "2017-11-02 21:24:41.909041"], ["updated_at", "2017-11-02 21:24:41.909041"]]
|
467
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
468
|
+
[1m[36mEnrollment Load (0.1ms)[0m [1m[34mSELECT "enrollments".* FROM "enrollments" ORDER BY "enrollments"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
469
|
+
[1m[36mEnrollment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ?[0m [["canvas_enrollment_id", 76889930], ["LIMIT", 1]]
|
470
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
471
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
472
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
473
|
+
[1m[36mEnrollment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ?[0m [["canvas_enrollment_id", 23772210], ["LIMIT", 1]]
|
474
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_enrollment_id", 23772210], ["created_at", "2017-11-02 21:24:41.917006"], ["updated_at", "2017-11-02 21:24:41.917006"]]
|
475
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
476
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
477
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
478
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
479
|
+
[1m[36mEnrollment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ?[0m [["canvas_enrollment_id", 66034611], ["LIMIT", 1]]
|
480
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_enrollment_id", 66034611], ["created_at", "2017-11-02 21:24:41.921960"], ["updated_at", "2017-11-02 21:24:41.921960"]]
|
481
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
482
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
483
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
484
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
485
|
+
[1m[36mEnrollment Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "enrollments" WHERE "enrollments"."canvas_enrollment_id" = ? LIMIT ?[0m [["canvas_enrollment_id", 48342766], ["LIMIT", 1]]
|
486
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_enrollment_id", 48342766], ["created_at", "2017-11-02 21:24:41.928915"], ["updated_at", "2017-11-02 21:24:41.928915"]]
|
487
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
488
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
489
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
490
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
491
|
+
[1m[36mSection Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ?[0m [["canvas_section_id", 49752496], ["LIMIT", 1]]
|
492
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_section_id", 49752496], ["created_at", "2017-11-02 21:24:41.944768"], ["updated_at", "2017-11-02 21:24:41.944768"]]
|
493
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
494
|
+
[1m[36mSection Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" IS NULL AND ("sections"."id" != ?) LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
495
|
+
[1m[35m (0.9ms)[0m [1m[31mrollback transaction[0m
|
496
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
497
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
498
|
+
[1m[36mSection Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ?[0m [["canvas_section_id", 10919952], ["LIMIT", 1]]
|
499
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_section_id", 10919952], ["created_at", "2017-11-02 21:24:41.958480"], ["updated_at", "2017-11-02 21:24:41.958480"]]
|
500
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
501
|
+
[1m[36mSection Load (0.1ms)[0m [1m[34mSELECT "sections".* FROM "sections" ORDER BY "sections"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
502
|
+
[1m[36mSection Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ?[0m [["canvas_section_id", 10919952], ["LIMIT", 1]]
|
503
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
504
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
505
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
506
|
+
[1m[36mSection Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ?[0m [["canvas_section_id", 23865100], ["LIMIT", 1]]
|
507
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_section_id", 23865100], ["created_at", "2017-11-02 21:24:41.967548"], ["updated_at", "2017-11-02 21:24:41.967548"]]
|
508
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
509
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
510
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
511
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
512
|
+
[1m[36mSection Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "sections" WHERE "sections"."canvas_section_id" = ? LIMIT ?[0m [["canvas_section_id", 56305225], ["LIMIT", 1]]
|
513
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["canvas_section_id", 56305225], ["created_at", "2017-11-02 21:24:41.974949"], ["updated_at", "2017-11-02 21:24:41.974949"]]
|
514
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
515
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
516
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
517
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
518
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 61974683], ["LIMIT", 1]]
|
519
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 61974683], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "active"], ["sis_id", "2fcf487ea761d2c1a04a3fccf1d4c7cb"], ["created_at", "2017-11-02 21:24:41.987286"], ["updated_at", "2017-11-02 21:24:41.987286"]]
|
520
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
521
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" IS NULL AND ("terms"."id" != ?) LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
522
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
523
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
524
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
525
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 48671642], ["LIMIT", 1]]
|
526
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 48671642], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "active"], ["sis_id", "3c41e9b83b55f70bb82525c2b49bcbde"], ["created_at", "2017-11-02 21:24:41.993528"], ["updated_at", "2017-11-02 21:24:41.993528"]]
|
527
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
528
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" ORDER BY "terms"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
529
|
+
[1m[36mTerm Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 48671642], ["LIMIT", 1]]
|
530
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
531
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
532
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
533
|
+
[1m[36mTerm Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 59712727], ["LIMIT", 1]]
|
534
|
+
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 59712727], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "active"], ["sis_id", "5ca46c2b9ed3f490c1bf0ae0b55744e6"], ["created_at", "2017-11-02 21:24:42.013093"], ["updated_at", "2017-11-02 21:24:42.013093"]]
|
535
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
536
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
537
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
538
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
539
|
+
[1m[36mTerm Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 77452985], ["LIMIT", 1]]
|
540
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 77452985], ["name", "Cool Term"], ["start_at", "2017-10-31 21:24:42.019320"], ["end_at", "2017-11-05 21:24:42.019507"], ["workflow_state", "active"], ["sis_id", "4475bc274cc7530ead7768bda9e7ebdd"], ["created_at", "2017-11-02 21:24:42.022697"], ["updated_at", "2017-11-02 21:24:42.022697"]]
|
541
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
542
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
543
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 26957397], ["LIMIT", 1]]
|
544
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 26957397], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "inactive"], ["sis_id", "0ce2e51d505e457c968988c7cb958723"], ["created_at", "2017-11-02 21:24:42.025721"], ["updated_at", "2017-11-02 21:24:42.025721"]]
|
545
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
546
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
547
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 49767174], ["LIMIT", 1]]
|
548
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 49767174], ["name", "Cool Term"], ["start_at", "2017-09-02 21:24:42.026782"], ["end_at", "2017-10-02 21:24:42.026880"], ["workflow_state", "active"], ["sis_id", "bab8b4f016e0a9a5fb1d2890fc72903f"], ["created_at", "2017-11-02 21:24:42.027958"], ["updated_at", "2017-11-02 21:24:42.027958"]]
|
549
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
550
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
551
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 84281144], ["LIMIT", 1]]
|
552
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 84281144], ["name", "Cool Term"], ["start_at", "2018-05-02 21:24:42.028923"], ["end_at", "2018-11-02 21:24:42.028978"], ["workflow_state", "active"], ["sis_id", "0e072a744b1bbc8bf579eef980451706"], ["created_at", "2017-11-02 21:24:42.030025"], ["updated_at", "2017-11-02 21:24:42.030025"]]
|
553
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
554
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."workflow_state" = ? AND (start_at <= '2017-11-17 21:24:42.031063' OR start_at IS NULL) AND (end_at >= '2017-10-18 21:24:42.031309' OR end_at IS NULL)[0m [["workflow_state", "active"]]
|
555
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
556
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
557
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
558
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
559
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
560
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
561
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "workflow_state", "grading_period_group_id", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 1], ["name", "Default Term"], ["workflow_state", "active"], ["grading_period_group_id", 1], ["sis_id", "Test"], ["created_at", "2017-11-02 21:24:42.036746"], ["updated_at", "2017-11-02 21:24:42.036746"]]
|
562
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
563
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
564
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" ORDER BY "terms"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
565
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
566
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
567
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
568
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
569
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "terms" ("canvas_term_id", "name", "start_at", "end_at", "workflow_state", "sis_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["canvas_term_id", 1], ["name", "Cool Term"], ["start_at", "2017-10-30 21:24:38.724817"], ["end_at", "2017-11-05 21:24:38.726016"], ["workflow_state", "active"], ["sis_id", "9ab3781b29b796bd828d2657c58a3146"], ["created_at", "2017-11-02 21:24:42.041514"], ["updated_at", "2017-11-02 21:24:42.041514"]]
|
570
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
571
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
572
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."canvas_term_id" = ? LIMIT ?[0m [["canvas_term_id", 1], ["LIMIT", 1]]
|
573
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
574
|
+
[1m[36mTerm Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "terms" WHERE "terms"."canvas_term_id" = ? AND ("terms"."id" != ?) LIMIT ?[0m [["canvas_term_id", 1], ["id", 1], ["LIMIT", 1]]
|
575
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "terms" SET "name" = ?, "start_at" = ?, "end_at" = ?, "grading_period_group_id" = ?, "sis_id" = ?, "updated_at" = ? WHERE "terms"."id" = ?[0m [["name", "Default Term"], ["start_at", nil], ["end_at", nil], ["grading_period_group_id", 1], ["sis_id", "Test"], ["updated_at", "2017-11-02 21:24:42.044679"], ["id", 1]]
|
576
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
577
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "terms"[0m
|
578
|
+
[1m[36mTerm Load (0.1ms)[0m [1m[34mSELECT "terms".* FROM "terms" WHERE "terms"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
579
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
580
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
581
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
582
|
+
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ?[0m [["canvas_user_id", 44879384], ["LIMIT", 1]]
|
583
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 44879384], ["sis_id", "fecdc7645acaebffb722573e2443d2ce"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2017-11-02 21:24:42.069090"], ["updated_at", "2017-11-02 21:24:42.069090"]]
|
584
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
585
|
+
[1m[36mUser Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" IS NULL AND ("users"."id" != ?) LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
586
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
587
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
588
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
589
|
+
[1m[36mUser Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ?[0m [["canvas_user_id", 18355299], ["LIMIT", 1]]
|
590
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 18355299], ["sis_id", "81b24552754ecb69e90c70e8f8fc5591"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2017-11-02 21:24:42.077336"], ["updated_at", "2017-11-02 21:24:42.077336"]]
|
591
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
592
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
593
|
+
[1m[36mUser Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ?[0m [["canvas_user_id", 18355299], ["LIMIT", 1]]
|
594
|
+
[1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
|
595
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
596
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
597
|
+
[1m[36mUser Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."canvas_user_id" = ? LIMIT ?[0m [["canvas_user_id", 49125775], ["LIMIT", 1]]
|
598
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id", "sis_id", "email", "first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["canvas_user_id", 49125775], ["sis_id", "db62bb371d0225f61c71bcea2da404d7"], ["email", "cooldude@coolsite.com"], ["first_name", "Cool"], ["last_name", "Dude"], ["created_at", "2017-11-02 21:24:42.084484"], ["updated_at", "2017-11-02 21:24:42.084484"]]
|
599
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
600
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
601
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
602
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
603
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
604
|
+
Ignoring on_duplicate_key_update because it is not supported by the database.
|
605
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
606
|
+
[1m[36mUser Create Many Without Validations Or Callbacks (0.3ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2017-11-02 21:24:42.089489','2017-11-02 21:24:42.089489'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2017-11-02 21:24:42.089489','2017-11-02 21:24:42.089489')[0m
|
607
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
608
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
609
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
610
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
611
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
612
|
+
Ignoring on_duplicate_key_update because it is not supported by the database.
|
613
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
614
|
+
[1m[36mCourse Create Many Without Validations Or Callbacks (0.4ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2017-11-02 21:24:42.093797','2017-11-02 21:24:42.093797'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2017-11-02 21:24:42.093797','2017-11-02 21:24:42.093797')[0m
|
615
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
616
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
617
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
618
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
619
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "enrollments"[0m
|
620
|
+
Ignoring on_duplicate_key_update because it is not supported by the database.
|
621
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
622
|
+
[1m[36mEnrollment Create Many Without Validations Or Callbacks (0.3ms)[0m [1m[32mINSERT INTO "enrollments" ("canvas_enrollment_id","canvas_course_id","course_sis_id","canvas_user_id","user_sis_id","role","role_id","canvas_section_id","section_sis_id","status","base_role_type","created_at","updated_at") VALUES (1,1,'sis_MUSC_2520_834',2,'sis_dalvarez_247','teacher',4,1,'sis_section_MUSC_2520_752','active','TeacherEnrollment','2017-11-02 21:24:42.106360','2017-11-02 21:24:42.106360'),(2,1,'sis_MUSC_2520_834',3,'sis_jweaver_720','student',4,1,'sis_section_MUSC_2520_752','active','StudentEnrollment','2017-11-02 21:24:42.106360','2017-11-02 21:24:42.106360')[0m
|
623
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
624
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "enrollments"[0m
|
625
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
626
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
627
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "sections"[0m
|
628
|
+
Ignoring on_duplicate_key_update because it is not supported by the database.
|
629
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
630
|
+
[1m[36mSection Create Many Without Validations Or Callbacks (0.3ms)[0m [1m[32mINSERT INTO "sections" ("canvas_section_id","sis_id","canvas_course_id","name","status","start_date","end_date","created_at","updated_at") VALUES (1,'sis_section_1',1,'Cool Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2017-11-02 21:24:42.111091','2017-11-02 21:24:42.111091'),(2,'sis_section_2',2,'Lame Section','active','2017-03-27T15:53:18-06:00','2017-03-27T15:53:18-06:00','2017-11-02 21:24:42.111091','2017-11-02 21:24:42.111091')[0m
|
631
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
632
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "sections"[0m
|
633
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
634
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
635
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
636
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
637
|
+
Ignoring on_duplicate_key_update because it is not supported by the database.
|
638
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
639
|
+
[1m[36mCourse Create Many Without Validations Or Callbacks (0.4ms)[0m [1m[32mINSERT INTO "courses" ("canvas_course_id","sis_id","short_name","long_name","canvas_account_id","canvas_term_id","term_sis_id","start_date","end_date","status","created_at","updated_at") VALUES (1,'course_sis_id_1','C1','Course #1',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','active','2017-11-02 21:24:42.120698','2017-11-02 21:24:42.120698'),(2,'course_sis_id_2','C2','Course #2',1,1,0,'2017-03-27T15:53:18-06:00','2017-04-27T06:21:18-06:00','unpublished','2017-11-02 21:24:42.120698','2017-11-02 21:24:42.120698')[0m
|
640
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
641
|
+
Ignoring on_duplicate_key_update because it is not supported by the database.
|
642
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
643
|
+
[1m[36mUser Create Many Without Validations Or Callbacks (0.2ms)[0m [1m[32mINSERT INTO "users" ("canvas_user_id","sis_id","email","first_name","last_name","status","login_id","created_at","updated_at") VALUES (1,'sis_id_1','poorbastard@yharnam.com','Patches','the Spider','active','spiderdude1337','2017-11-02 21:24:42.123146','2017-11-02 21:24:42.123146'),(2,'sis_id_2','dreamer@yharnam.com','Hunter','Djura','active','retireddude109','2017-11-02 21:24:42.123146','2017-11-02 21:24:42.123146')[0m
|
644
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
645
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "users"[0m
|
646
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "courses"[0m
|
647
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
648
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
649
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|