active_batch 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a28f5dab1217f988a8d32a598515351dd1d9026
4
- data.tar.gz: 8405c5dca4c0da18045b7af599d27e823ad63dee
3
+ metadata.gz: 2d843c9d26e0169cae4417bddb0fb973bc1547a2
4
+ data.tar.gz: b98be12fc6e23b7cd968569db2395d7fa8e18da2
5
5
  SHA512:
6
- metadata.gz: 72aff6d6bdba3596b5e6562bba3859f7f96b1f0bc54857428b6ccac8d4ea13268453fbb8d273e1afbf8a4e6297c6948f637250e37b4f9cba8517aa05834656c7
7
- data.tar.gz: 282e6d1d95cd54f043232d694503875755ab50a068dd16404ff0f959cdd037baf1be8bc77e1ea5da719f8f17355e661307dd54a6b6942bc977638bbbe87ef912
6
+ metadata.gz: 0c1cffdd866a6337852a3d2bc74e3b93c605c955bc747b9d0a05b3987ef66483266991da49c3310f3d6a42af011acaf3321981bd0c2f42f34efd751e503ada87
7
+ data.tar.gz: ad763107d2cede4c631aa717d2f979dd452ecb4a597312a77ab849a8f198b30535fe018b3c64c5541684b227c5ba8ff916d491955995d967afa0d8c292343146
@@ -2,12 +2,12 @@ module ActiveBatch
2
2
  class BatchSchedulerJob < ActiveJob::Base
3
3
 
4
4
  queue_as do
5
- job_class = arguments.first
5
+ job_class = arguments.first.constantize
6
6
  job_class.new.queue_name
7
7
  end
8
8
 
9
9
  def perform(job_class, *args)
10
- batch = Batch.create(job_class: job_class, job_id: job_id, arguments: args)
10
+ batch = Batch.create(job_class: job_class.constantize, job_id: job_id, arguments: args)
11
11
  batch.job.each_work_unit(*args) do |*work_unit_args|
12
12
  work_unit_job = batch.job.new(*work_unit_args)
13
13
  work_unit_job.in_batch = true
@@ -14,7 +14,7 @@ module ActiveBatch
14
14
 
15
15
  class_methods do
16
16
  def perform_batch(*args)
17
- BatchSchedulerJob.perform_later(self, *args)
17
+ BatchSchedulerJob.perform_later(self.name, *args)
18
18
  end
19
19
  end
20
20
 
@@ -36,4 +36,4 @@ module ActiveBatch
36
36
  end
37
37
  end
38
38
  end
39
- end
39
+ end
@@ -1,3 +1,3 @@
1
1
  module ActiveBatch
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
Binary file
@@ -12992,3 +12992,1988 @@ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_wh
12992
12992
  ---------------------------
12993
12993
  ActiveBatchTest: test_truth
12994
12994
  ---------------------------
12995
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
12996
+  (0.1ms) begin transaction
12997
+ ------------------------------------------------------------------------
12998
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
12999
+ ------------------------------------------------------------------------
13000
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13001
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) SAVEPOINT active_record_1
13002
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] SQL (0.9ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "0610770a-0422-41fa-b8ad-e2e508612eee"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:21:36.402081"], ["updated_at", "2015-09-29 08:21:36.402081"]]
13003
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.1ms) RELEASE SAVEPOINT active_record_1
13004
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) SAVEPOINT active_record_1
13005
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] SQL (1.4ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "e3decd81-32c7-452a-8226-ce5adb492ab9"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.425538"], ["updated_at", "2015-09-29 08:21:36.425538"]]
13006
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) RELEASE SAVEPOINT active_record_1
13007
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Enqueued BatchJob (Job ID: e3decd81-32c7-452a-8226-ce5adb492ab9) to Test(test_queue) with arguments: "t"
13008
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) SAVEPOINT active_record_1
13009
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "50d92434-892e-409a-86fa-f54d85c4f8d2"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.429749"], ["updated_at", "2015-09-29 08:21:36.429749"]]
13010
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) RELEASE SAVEPOINT active_record_1
13011
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Enqueued BatchJob (Job ID: 50d92434-892e-409a-86fa-f54d85c4f8d2) to Test(test_queue) with arguments: "e"
13012
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) SAVEPOINT active_record_1
13013
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "ac09158e-9439-40c4-b48d-7141260ee3c1"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.431482"], ["updated_at", "2015-09-29 08:21:36.431482"]]
13014
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) RELEASE SAVEPOINT active_record_1
13015
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Enqueued BatchJob (Job ID: ac09158e-9439-40c4-b48d-7141260ee3c1) to Test(test_queue) with arguments: "s"
13016
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) SAVEPOINT active_record_1
13017
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "27c723ab-dbae-4b82-b8c2-a4ccf65a325a"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.433060"], ["updated_at", "2015-09-29 08:21:36.433060"]]
13018
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee]  (0.0ms) RELEASE SAVEPOINT active_record_1
13019
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Enqueued BatchJob (Job ID: 27c723ab-dbae-4b82-b8c2-a4ccf65a325a) to Test(test_queue) with arguments: "t"
13020
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 49a7b76e-cf95-4ed8-bda2-ba5b44cb4359) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13021
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0610770a-0422-41fa-b8ad-e2e508612eee] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13022
+ ActiveBatch::Batch Load (0.2ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."job_id" = ? LIMIT 1 [["job_id", "0610770a-0422-41fa-b8ad-e2e508612eee"]]
13023
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND "active_batch_work_units"."status" = ? [["active_batch_batches_id", 980190963], ["status", 0]]
13024
+  (1.0ms) rollback transaction
13025
+  (0.0ms) begin transaction
13026
+ ---------------------------------------------------------------------------
13027
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
13028
+ ---------------------------------------------------------------------------
13029
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: b6bd916a-f73c-4e3a-bc06-b815ed485c4b) to Test(test_queue) with arguments: BatchJob
13030
+  (0.0ms) rollback transaction
13031
+  (0.0ms) begin transaction
13032
+ ------------------------------------------------------
13033
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
13034
+ ------------------------------------------------------
13035
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
13036
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13037
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) SAVEPOINT active_record_1
13038
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "2cad0b6d-daac-48aa-87d0-1dd19e6c36b4"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:21:36.445001"], ["updated_at", "2015-09-29 08:21:36.445001"]]
13039
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) RELEASE SAVEPOINT active_record_1
13040
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) SAVEPOINT active_record_1
13041
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "ec06686c-9b0d-412c-bfc7-c9332c014c7e"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.447505"], ["updated_at", "2015-09-29 08:21:36.447505"]]
13042
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) RELEASE SAVEPOINT active_record_1
13043
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Enqueued BatchJob (Job ID: ec06686c-9b0d-412c-bfc7-c9332c014c7e) to Test(test_queue) with arguments: "t"
13044
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) SAVEPOINT active_record_1
13045
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "0b61b5f2-1c9b-45b8-8cee-82f17d1bc017"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.449820"], ["updated_at", "2015-09-29 08:21:36.449820"]]
13046
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) RELEASE SAVEPOINT active_record_1
13047
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Enqueued BatchJob (Job ID: 0b61b5f2-1c9b-45b8-8cee-82f17d1bc017) to Test(test_queue) with arguments: "e"
13048
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) SAVEPOINT active_record_1
13049
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "57213430-35ec-4c98-86ae-36e1c0814a40"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.451504"], ["updated_at", "2015-09-29 08:21:36.451504"]]
13050
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) RELEASE SAVEPOINT active_record_1
13051
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Enqueued BatchJob (Job ID: 57213430-35ec-4c98-86ae-36e1c0814a40) to Test(test_queue) with arguments: "s"
13052
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) SAVEPOINT active_record_1
13053
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "c2859e08-09d4-4556-b674-cfaf514ad44a"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.453213"], ["updated_at", "2015-09-29 08:21:36.453213"]]
13054
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4]  (0.0ms) RELEASE SAVEPOINT active_record_1
13055
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Enqueued BatchJob (Job ID: c2859e08-09d4-4556-b674-cfaf514ad44a) to Test(test_queue) with arguments: "t"
13056
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 3e4de62c-cadc-407a-8d2d-2f9307cece77) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13057
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [2cad0b6d-daac-48aa-87d0-1dd19e6c36b4] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13058
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
13059
+  (0.6ms) rollback transaction
13060
+  (0.0ms) begin transaction
13061
+ ------------------------------------------------------------------------------
13062
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
13063
+ ------------------------------------------------------------------------------
13064
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13065
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) SAVEPOINT active_record_1
13066
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "0838c50b-f684-41dd-896b-79fa7ba2fd6f"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:21:36.456984"], ["updated_at", "2015-09-29 08:21:36.456984"]]
13067
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13068
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) SAVEPOINT active_record_1
13069
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "bfbe61ca-372c-457c-97de-37dbc9bec6b7"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.459245"], ["updated_at", "2015-09-29 08:21:36.459245"]]
13070
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13071
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Enqueued BatchJob (Job ID: bfbe61ca-372c-457c-97de-37dbc9bec6b7) to Test(test_queue) with arguments: "t"
13072
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) SAVEPOINT active_record_1
13073
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "2cd8171c-e49c-43e7-99cd-7b787c333899"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.461581"], ["updated_at", "2015-09-29 08:21:36.461581"]]
13074
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13075
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Enqueued BatchJob (Job ID: 2cd8171c-e49c-43e7-99cd-7b787c333899) to Test(test_queue) with arguments: "e"
13076
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) SAVEPOINT active_record_1
13077
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "0a56942a-3e27-4ac3-af7c-b9976fce77cf"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.463144"], ["updated_at", "2015-09-29 08:21:36.463144"]]
13078
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13079
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Enqueued BatchJob (Job ID: 0a56942a-3e27-4ac3-af7c-b9976fce77cf) to Test(test_queue) with arguments: "s"
13080
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) SAVEPOINT active_record_1
13081
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "e4661ed0-89fd-40a0-8e79-dd62a4f9c83e"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.464703"], ["updated_at", "2015-09-29 08:21:36.464703"]]
13082
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13083
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Enqueued BatchJob (Job ID: e4661ed0-89fd-40a0-8e79-dd62a4f9c83e) to Test(test_queue) with arguments: "t"
13084
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: b21dd6e5-b1b5-467c-8eb3-3e66153d9746) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13085
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [0838c50b-f684-41dd-896b-79fa7ba2fd6f] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13086
+  (0.6ms) rollback transaction
13087
+  (0.0ms) begin transaction
13088
+ -------------------------------------------------------------
13089
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
13090
+ -------------------------------------------------------------
13091
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13092
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) SAVEPOINT active_record_1
13093
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "5716c601-93b2-4d69-8750-089a22e5177b"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:21:36.495647"], ["updated_at", "2015-09-29 08:21:36.495647"]]
13094
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) RELEASE SAVEPOINT active_record_1
13095
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) SAVEPOINT active_record_1
13096
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "db659afe-7d63-4559-a38a-5c5eaa510ac1"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.498366"], ["updated_at", "2015-09-29 08:21:36.498366"]]
13097
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) RELEASE SAVEPOINT active_record_1
13098
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Enqueued BatchJob (Job ID: db659afe-7d63-4559-a38a-5c5eaa510ac1) to Test(test_queue) with arguments: "t"
13099
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) SAVEPOINT active_record_1
13100
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "767e4053-8ea6-4309-9b06-54add5414e67"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.500606"], ["updated_at", "2015-09-29 08:21:36.500606"]]
13101
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) RELEASE SAVEPOINT active_record_1
13102
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Enqueued BatchJob (Job ID: 767e4053-8ea6-4309-9b06-54add5414e67) to Test(test_queue) with arguments: "e"
13103
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) SAVEPOINT active_record_1
13104
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "ad12d3af-1edb-4101-a915-655fdf238eca"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.502131"], ["updated_at", "2015-09-29 08:21:36.502131"]]
13105
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) RELEASE SAVEPOINT active_record_1
13106
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Enqueued BatchJob (Job ID: ad12d3af-1edb-4101-a915-655fdf238eca) to Test(test_queue) with arguments: "s"
13107
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) SAVEPOINT active_record_1
13108
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "2b6ed738-5866-4f49-9c9f-6cc646a4fa31"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.503644"], ["updated_at", "2015-09-29 08:21:36.503644"]]
13109
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b]  (0.0ms) RELEASE SAVEPOINT active_record_1
13110
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Enqueued BatchJob (Job ID: 2b6ed738-5866-4f49-9c9f-6cc646a4fa31) to Test(test_queue) with arguments: "t"
13111
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 88564eeb-fcf5-49d5-aa78-30f0f4e4d4ab) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13112
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [5716c601-93b2-4d69-8750-089a22e5177b] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13113
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."job_id" = ? LIMIT 1 [["job_id", "5716c601-93b2-4d69-8750-089a22e5177b"]]
13114
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190963]]
13115
+  (0.6ms) rollback transaction
13116
+  (0.0ms) begin transaction
13117
+ -----------------------------------------------------------
13118
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
13119
+ -----------------------------------------------------------
13120
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
13121
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13122
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) SAVEPOINT active_record_1
13123
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] SQL (0.1ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "4c9631b2-e4b6-429f-8379-64735603c4f1"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:21:36.508493"], ["updated_at", "2015-09-29 08:21:36.508493"]]
13124
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) RELEASE SAVEPOINT active_record_1
13125
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) SAVEPOINT active_record_1
13126
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "6f487927-bea9-42fa-8967-ddd2e1a8ba43"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.510622"], ["updated_at", "2015-09-29 08:21:36.510622"]]
13127
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) RELEASE SAVEPOINT active_record_1
13128
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Enqueued BatchJob (Job ID: 6f487927-bea9-42fa-8967-ddd2e1a8ba43) to Test(test_queue) with arguments: "t"
13129
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) SAVEPOINT active_record_1
13130
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "cc4ce959-e1ea-4c83-b6fc-413edca1d02b"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.512808"], ["updated_at", "2015-09-29 08:21:36.512808"]]
13131
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) RELEASE SAVEPOINT active_record_1
13132
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Enqueued BatchJob (Job ID: cc4ce959-e1ea-4c83-b6fc-413edca1d02b) to Test(test_queue) with arguments: "e"
13133
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) SAVEPOINT active_record_1
13134
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "a710037d-a182-4fce-a5db-53451861d589"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.514328"], ["updated_at", "2015-09-29 08:21:36.514328"]]
13135
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) RELEASE SAVEPOINT active_record_1
13136
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Enqueued BatchJob (Job ID: a710037d-a182-4fce-a5db-53451861d589) to Test(test_queue) with arguments: "s"
13137
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) SAVEPOINT active_record_1
13138
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "d97a1506-118e-4880-bae2-c90aee95f74f"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:21:36.515889"], ["updated_at", "2015-09-29 08:21:36.515889"]]
13139
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1]  (0.0ms) RELEASE SAVEPOINT active_record_1
13140
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Enqueued BatchJob (Job ID: d97a1506-118e-4880-bae2-c90aee95f74f) to Test(test_queue) with arguments: "t"
13141
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: ddec85b3-37e5-4ba6-b001-7250b9097c8e) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13142
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c9631b2-e4b6-429f-8379-64735603c4f1] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"]
13143
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
13144
+  (0.5ms) rollback transaction
13145
+  (0.0ms) begin transaction
13146
+ ----------------------------------------------------------------------------------
13147
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
13148
+ ----------------------------------------------------------------------------------
13149
+  (0.0ms) SAVEPOINT active_record_1
13150
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "3d28e427-0ce6-4e78-b867-6d70a967c55f"], ["created_at", "2015-09-29 08:21:36.519364"], ["updated_at", "2015-09-29 08:21:36.519364"]]
13151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13152
+ [ActiveJob] [RescueJob] [3d28e427-0ce6-4e78-b867-6d70a967c55f] Performing RescueJob from Test(test_queue)
13153
+ [ActiveJob] [RescueJob] [3d28e427-0ce6-4e78-b867-6d70a967c55f] ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "3d28e427-0ce6-4e78-b867-6d70a967c55f"]]
13154
+ [ActiveJob] [RescueJob] [3d28e427-0ce6-4e78-b867-6d70a967c55f]  (0.0ms) SAVEPOINT active_record_1
13155
+ [ActiveJob] [RescueJob] [3d28e427-0ce6-4e78-b867-6d70a967c55f] SQL (0.2ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:21:36.521411"], ["id", 980190963]]
13156
+ [ActiveJob] [RescueJob] [3d28e427-0ce6-4e78-b867-6d70a967c55f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13157
+ [ActiveJob] [RescueJob] [3d28e427-0ce6-4e78-b867-6d70a967c55f] Performed RescueJob from Test(test_queue) in 2.36ms
13158
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "3d28e427-0ce6-4e78-b867-6d70a967c55f"]]
13159
+  (0.0ms) SAVEPOINT active_record_1
13160
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 3], ["work_result", "StandardError\n/Users/adrien/workspace/active_batch/test/jobs/rescue_job.rb:7:in `perform'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:32:in `block in perform_now'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:259:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:338:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:338:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:23:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `block in instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/notifications.rb:164:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `block in tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:26:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb:68:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:43:in `tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:436:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:337:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in `_run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in `_run_perform_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in `run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.0/lib/active_job/execution.rb:31:in `perform_now'\n/Users/adrien/workspace/active_batch/test/lib/active_batch/batched_job_test.rb:18:in `block in <class:BatchedJobTest>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:108:in `block (3 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:206:in `capture_exceptions'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:105:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:258:in `time_it'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:104:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:278:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest/test.rb:103:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:774:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:301:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:289:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `each'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:288:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:327:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:314:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:287:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `block in __run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `map'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:150:in `__run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:127:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.5.1/lib/minitest.rb:56:in `block in autorun'"], ["updated_at", "2015-09-29 08:21:36.523940"], ["id", 980190963]]
13161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13162
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13163
+  (0.5ms) rollback transaction
13164
+  (0.0ms) begin transaction
13165
+ --------------------------------------------------------------------
13166
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
13167
+ --------------------------------------------------------------------
13168
+  (0.0ms) SAVEPOINT active_record_1
13169
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "e3e50631-040a-493e-8eec-8d963af118ad"], ["created_at", "2015-09-29 08:21:36.527123"], ["updated_at", "2015-09-29 08:21:36.527123"]]
13170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13171
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "e3e50631-040a-493e-8eec-8d963af118ad"]]
13172
+  (0.0ms) SAVEPOINT active_record_1
13173
+ SQL (0.3ms) UPDATE "active_batch_work_units" SET "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["work_result", "blah"], ["updated_at", "2015-09-29 08:21:36.528498"], ["id", 980190963]]
13174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13175
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13176
+  (0.4ms) rollback transaction
13177
+  (0.0ms) begin transaction
13178
+ ---------------------------------------------------
13179
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
13180
+ ---------------------------------------------------
13181
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: a610bf30-f7f3-424e-89f0-de2e001cc813) to Test(test_queue) with arguments: BatchJob, 1, 2
13182
+  (0.0ms) rollback transaction
13183
+  (0.0ms) begin transaction
13184
+ --------------------------------------------------------------------
13185
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
13186
+ --------------------------------------------------------------------
13187
+  (0.0ms) SAVEPOINT active_record_1
13188
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 2], ["created_at", "2015-09-29 08:21:36.531977"], ["updated_at", "2015-09-29 08:21:36.531977"]]
13189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13190
+  (0.0ms) SAVEPOINT active_record_1
13191
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 1], ["created_at", "2015-09-29 08:21:36.533290"], ["updated_at", "2015-09-29 08:21:36.533290"]]
13192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13193
+  (0.0ms) SAVEPOINT active_record_1
13194
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-29 08:21:36.534507"], ["updated_at", "2015-09-29 08:21:36.534507"]]
13195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13196
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
13197
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
13198
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
13199
+  (0.5ms) rollback transaction
13200
+  (0.1ms) begin transaction
13201
+ Fixture Delete (0.2ms) DELETE FROM "active_batch_batches"
13202
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_batches" ("job_class", "arguments", "created_at", "updated_at", "id") VALUES ('BatchJob', '["test"]', '2015-09-29 08:21:36', '2015-09-29 08:21:36', 980190962)
13203
+ Fixture Delete (0.0ms) DELETE FROM "active_batch_work_units"
13204
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "status", "created_at", "updated_at", "id") VALUES ('1234', 0, '2015-09-29 08:21:36', '2015-09-29 08:21:36', 980190962)
13205
+  (0.7ms) commit transaction
13206
+  (0.0ms) begin transaction
13207
+ ----------------------------------------------------------------------------------
13208
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
13209
+ ----------------------------------------------------------------------------------
13210
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13211
+  (0.0ms) SAVEPOINT active_record_1
13212
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "76"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.544269"], ["updated_at", "2015-09-29 08:21:36.544269"]]
13213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13214
+  (0.0ms) SAVEPOINT active_record_1
13215
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "13"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.545971"], ["updated_at", "2015-09-29 08:21:36.545971"]]
13216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13217
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [c11ca3c4-6898-4b46-b826-aadbc24bc184] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13218
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [c11ca3c4-6898-4b46-b826-aadbc24bc184] ActiveBatch::WorkUnit Exists (0.1ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13219
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [c11ca3c4-6898-4b46-b826-aadbc24bc184] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 03cf4f43-a3ee-4e58-bf87-bd7c1c89a6dd) to Test(test_queue) at 2015-09-29 08:22:36 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13220
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [c11ca3c4-6898-4b46-b826-aadbc24bc184] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 7.16ms
13221
+  (0.5ms) rollback transaction
13222
+  (0.0ms) begin transaction
13223
+ ------------------------------------------------------------------------------------------------
13224
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
13225
+ ------------------------------------------------------------------------------------------------
13226
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13227
+  (0.0ms) SAVEPOINT active_record_1
13228
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "21"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.556941"], ["updated_at", "2015-09-29 08:21:36.556941"]]
13229
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13230
+  (0.0ms) SAVEPOINT active_record_1
13231
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "92"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.558590"], ["updated_at", "2015-09-29 08:21:36.558590"]]
13232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13233
+  (0.0ms) SAVEPOINT active_record_1
13234
+ SQL (0.0ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 2], ["updated_at", "2015-09-29 08:21:36.559845"], ["id", 980190964]]
13235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13236
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13237
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13238
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82] ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13239
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82]  (0.0ms) SAVEPOINT active_record_1
13240
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82] SQL (0.1ms) UPDATE "active_batch_batches" SET "status" = ?, "updated_at" = ? WHERE "active_batch_batches"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:21:36.565712"], ["id", 980190962]]
13241
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82]  (0.0ms) RELEASE SAVEPOINT active_record_1
13242
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d13e021c-3191-42fc-b31c-22bb34f92a82] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 5.74ms
13243
+  (0.6ms) rollback transaction
13244
+  (0.0ms) begin transaction
13245
+ -------------------------------------------------------------------------------------------
13246
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
13247
+ -------------------------------------------------------------------------------------------
13248
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13249
+  (0.0ms) SAVEPOINT active_record_1
13250
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "58"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.569713"], ["updated_at", "2015-09-29 08:21:36.569713"]]
13251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13252
+  (0.0ms) SAVEPOINT active_record_1
13253
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "71"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.571249"], ["updated_at", "2015-09-29 08:21:36.571249"]]
13254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13255
+  (0.0ms) SAVEPOINT active_record_1
13256
+ SQL (0.0ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 2], ["updated_at", "2015-09-29 08:21:36.572448"], ["id", 980190964]]
13257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13258
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13259
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13260
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392] ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13261
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392]  (0.0ms) SAVEPOINT active_record_1
13262
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392] SQL (0.1ms) UPDATE "active_batch_batches" SET "status" = ?, "updated_at" = ? WHERE "active_batch_batches"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:21:36.576993"], ["id", 980190962]]
13263
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392]  (0.0ms) RELEASE SAVEPOINT active_record_1
13264
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ca00a513-b0fe-41d3-b3e1-6236d6f51392] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 4.51ms
13265
+  (0.4ms) rollback transaction
13266
+  (0.0ms) begin transaction
13267
+ ---------------------------------------------------------------------------------------
13268
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
13269
+ ---------------------------------------------------------------------------------------
13270
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13271
+  (0.0ms) SAVEPOINT active_record_1
13272
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "56"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.579978"], ["updated_at", "2015-09-29 08:21:36.579978"]]
13273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13274
+  (0.0ms) SAVEPOINT active_record_1
13275
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "92"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:21:36.581573"], ["updated_at", "2015-09-29 08:21:36.581573"]]
13276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13277
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d7f5bbfe-94b7-4f40-a86c-2ee16f9a07f6] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13278
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d7f5bbfe-94b7-4f40-a86c-2ee16f9a07f6] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13279
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d7f5bbfe-94b7-4f40-a86c-2ee16f9a07f6] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: e8e1da87-c8c2-4c6e-8fa2-2b3cd7bb3672) to Test(test_queue) at 2015-09-29 08:22:36 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13280
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [d7f5bbfe-94b7-4f40-a86c-2ee16f9a07f6] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.74ms
13281
+  (0.5ms) rollback transaction
13282
+  (0.0ms) begin transaction
13283
+ ---------------------------------------------------------------
13284
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
13285
+ ---------------------------------------------------------------
13286
+ [ActiveJob] [BatchJob] [eb97cf21-57a2-4c88-a432-512ecd0d964b] Performing BatchJob from Test(test_queue) with arguments: "test"
13287
+ [ActiveJob] [BatchJob] [eb97cf21-57a2-4c88-a432-512ecd0d964b] Performed BatchJob from Test(test_queue) in 0.14ms
13288
+  (0.0ms) rollback transaction
13289
+  (0.0ms) begin transaction
13290
+ ----------------------------------------------------------------
13291
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
13292
+ ----------------------------------------------------------------
13293
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13294
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
13295
+ Parameters: {"id"=>"980190962"}
13296
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13297
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (2.5ms)
13298
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
13299
+  (0.1ms) rollback transaction
13300
+  (0.0ms) begin transaction
13301
+ -----------------------------------------------------------
13302
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
13303
+ -----------------------------------------------------------
13304
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13305
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
13306
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units"
13307
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (3.7ms)
13308
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.1ms)
13309
+  (0.1ms) rollback transaction
13310
+  (0.0ms) begin transaction
13311
+ -------------------------------------------------------------------
13312
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
13313
+ -------------------------------------------------------------------
13314
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13315
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_work_units"
13316
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
13317
+ Parameters: {"id"=>"980190962"}
13318
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13319
+  (0.0ms) SAVEPOINT active_record_1
13320
+ SQL (0.2ms) DELETE FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? [["id", 980190962]]
13321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13322
+ Redirected to http://test.host/activejob_batch/work_units
13323
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
13324
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
13325
+  (0.3ms) rollback transaction
13326
+  (0.0ms) begin transaction
13327
+ -----------------------------------------------------------------------------
13328
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
13329
+ -----------------------------------------------------------------------------
13330
+ ---------------------------
13331
+ ActiveBatchTest: test_truth
13332
+ ---------------------------
13333
+ -------------------------------------------------------
13334
+ ActiveBatch::BatchesControllerTest: test_should_get_new
13335
+ -------------------------------------------------------
13336
+ Processing by ActiveBatch::BatchesController#new as HTML
13337
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (13.9ms)
13338
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (18.7ms)
13339
+ Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.0ms)
13340
+ ---------------------------------------------------------
13341
+ ActiveBatch::BatchesControllerTest: test_should_get_index
13342
+ ---------------------------------------------------------
13343
+ Processing by ActiveBatch::BatchesController#index as HTML
13344
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (4.0ms)
13345
+ Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.1ms)
13346
+ -------------------------------------------------------------
13347
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
13348
+ -------------------------------------------------------------
13349
+ Processing by ActiveBatch::BatchesController#destroy as HTML
13350
+ Parameters: {"id"=>"980190962"}
13351
+ Redirected to http://test.host/activejob_batch/batches
13352
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
13353
+ ------------------------------------------------------------
13354
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
13355
+ ------------------------------------------------------------
13356
+ Processing by ActiveBatch::BatchesController#create as HTML
13357
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
13358
+ Redirected to http://test.host/activejob_batch/batches/980190963
13359
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
13360
+ ----------------------------------------------------------
13361
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
13362
+ ----------------------------------------------------------
13363
+ Processing by ActiveBatch::BatchesController#show as HTML
13364
+ Parameters: {"id"=>"980190962"}
13365
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (2.2ms)
13366
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
13367
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13368
+  (0.1ms) begin transaction
13369
+ ---------------------------------------------------
13370
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
13371
+ ---------------------------------------------------
13372
+  (0.1ms) rollback transaction
13373
+  (0.0ms) begin transaction
13374
+ --------------------------------------------------------------------
13375
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
13376
+ --------------------------------------------------------------------
13377
+  (0.1ms) SAVEPOINT active_record_1
13378
+ SQL (1.0ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "6c5bba29-934a-4b45-83a5-35a5dd5f0f6d"], ["created_at", "2015-09-29 08:22:44.509610"], ["updated_at", "2015-09-29 08:22:44.509610"]]
13379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13380
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "6c5bba29-934a-4b45-83a5-35a5dd5f0f6d"]]
13381
+  (0.0ms) SAVEPOINT active_record_1
13382
+ SQL (1.0ms) UPDATE "active_batch_work_units" SET "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["work_result", "blah"], ["updated_at", "2015-09-29 08:22:44.518031"], ["id", 980190963]]
13383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13384
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13385
+  (0.5ms) rollback transaction
13386
+  (0.0ms) begin transaction
13387
+ ----------------------------------------------------------------------------------
13388
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
13389
+ ----------------------------------------------------------------------------------
13390
+  (0.0ms) SAVEPOINT active_record_1
13391
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "f32953df-0d1a-4a78-b443-4d18282cedaa"], ["created_at", "2015-09-29 08:22:44.522266"], ["updated_at", "2015-09-29 08:22:44.522266"]]
13392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13393
+ [ActiveJob] [RescueJob] [f32953df-0d1a-4a78-b443-4d18282cedaa] Performing RescueJob from Test(test_queue)
13394
+ [ActiveJob] [RescueJob] [f32953df-0d1a-4a78-b443-4d18282cedaa] ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "f32953df-0d1a-4a78-b443-4d18282cedaa"]]
13395
+ [ActiveJob] [RescueJob] [f32953df-0d1a-4a78-b443-4d18282cedaa]  (0.0ms) SAVEPOINT active_record_1
13396
+ [ActiveJob] [RescueJob] [f32953df-0d1a-4a78-b443-4d18282cedaa] SQL (0.3ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:22:44.524015"], ["id", 980190963]]
13397
+ [ActiveJob] [RescueJob] [f32953df-0d1a-4a78-b443-4d18282cedaa]  (0.0ms) RELEASE SAVEPOINT active_record_1
13398
+ [ActiveJob] [RescueJob] [f32953df-0d1a-4a78-b443-4d18282cedaa] Performed RescueJob from Test(test_queue) in 1.79ms
13399
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "f32953df-0d1a-4a78-b443-4d18282cedaa"]]
13400
+  (0.0ms) SAVEPOINT active_record_1
13401
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 3], ["work_result", "StandardError\n/Users/adrien/workspace/active_batch/test/jobs/rescue_job.rb:7:in `perform'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:32:in `block in perform_now'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'\n/Users/adrien/workspace/active_batch/test/lib/active_batch/batched_job_test.rb:18:in `block in <class:BatchedJobTest>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"], ["updated_at", "2015-09-29 08:22:44.525758"], ["id", 980190963]]
13402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13403
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13404
+  (0.6ms) rollback transaction
13405
+  (0.0ms) begin transaction
13406
+ -----------------------------------------------------------------------------
13407
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
13408
+ -----------------------------------------------------------------------------
13409
+ ---------------------------------------------------------------
13410
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
13411
+ ---------------------------------------------------------------
13412
+ [ActiveJob] [BatchJob] [a10e6125-e5ea-4ea3-ab83-196f5e773884] Performing BatchJob from Test(test_queue) with arguments: "test"
13413
+ [ActiveJob] [BatchJob] [a10e6125-e5ea-4ea3-ab83-196f5e773884] Performed BatchJob from Test(test_queue) in 0.11ms
13414
+ -----------------------------------------------------------
13415
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
13416
+ -----------------------------------------------------------
13417
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13418
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Enqueued BatchJob (Job ID: 4f1a3515-7f2c-43eb-b46f-fee89b68d7cb) to Test(test_queue) with arguments: "t"
13419
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Enqueued BatchJob (Job ID: a5facf23-8c9b-4fca-b62c-23f683aac0e6) to Test(test_queue) with arguments: "e"
13420
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Enqueued BatchJob (Job ID: 828fb414-03d5-4f13-b1b1-0c047d6d67e6) to Test(test_queue) with arguments: "s"
13421
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Enqueued BatchJob (Job ID: 69ada10e-647b-438c-913a-c18adb4a2f5a) to Test(test_queue) with arguments: "t"
13422
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: a87a9546-941d-4b88-88d5-4ec59c85e4c9) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13423
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [90038ea4-164a-4bae-8bb2-94a29ece574a] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13424
+ ------------------------------------------------------
13425
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
13426
+ ------------------------------------------------------
13427
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13428
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Enqueued BatchJob (Job ID: bfc2f48b-b40b-4cbc-bee7-c26cfe536d7f) to Test(test_queue) with arguments: "t"
13429
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Enqueued BatchJob (Job ID: 393e9f26-2508-4dcd-86fb-0e82906755d4) to Test(test_queue) with arguments: "e"
13430
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Enqueued BatchJob (Job ID: 7e899548-6cca-4c44-9839-60adaf75a9e1) to Test(test_queue) with arguments: "s"
13431
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Enqueued BatchJob (Job ID: 45488d64-6a3d-4d34-9223-f8d1f2e53b4c) to Test(test_queue) with arguments: "t"
13432
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 6a135179-5a14-4b8a-97dc-f59dbad5911d) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13433
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [fee06ddd-04ae-4cc3-b507-e8cba1f4099c] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13434
+ -------------------------------------------------------------
13435
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
13436
+ -------------------------------------------------------------
13437
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13438
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Enqueued BatchJob (Job ID: 0a1579b8-a603-4605-8ae6-1d00d5453fca) to Test(test_queue) with arguments: "t"
13439
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Enqueued BatchJob (Job ID: 33cd2332-e9e3-455b-8fa2-18d99c85985e) to Test(test_queue) with arguments: "e"
13440
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Enqueued BatchJob (Job ID: 430e4825-b1c3-48bd-9c5a-0b09550ebaa1) to Test(test_queue) with arguments: "s"
13441
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Enqueued BatchJob (Job ID: 6e49c3b5-640d-4e18-bf97-276f34a3e21e) to Test(test_queue) with arguments: "t"
13442
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: ffc9aeeb-2fa6-4e0e-884c-0fe2c3cb0eb6) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13443
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [bc88c4d8-8375-47cd-84f9-f93813fc8126] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13444
+ ------------------------------------------------------------------------
13445
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
13446
+ ------------------------------------------------------------------------
13447
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13448
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Enqueued BatchJob (Job ID: 0f8a2741-9fb2-43ff-b814-bd1ed6ecca82) to Test(test_queue) with arguments: "t"
13449
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Enqueued BatchJob (Job ID: 622c1a26-3aa6-4b02-a644-9cb0c65c5189) to Test(test_queue) with arguments: "e"
13450
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Enqueued BatchJob (Job ID: 621b9013-ca87-4a48-8592-d653b6f8a7d3) to Test(test_queue) with arguments: "s"
13451
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Enqueued BatchJob (Job ID: 5f81c1d0-c492-4d8e-9e09-ab9d36f61093) to Test(test_queue) with arguments: "t"
13452
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 721df824-dc11-43af-8224-45660d5b83ee) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13453
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [74070caa-03f8-4b24-8c54-6470da861883] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13454
+ ------------------------------------------------------------------------------
13455
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
13456
+ ------------------------------------------------------------------------------
13457
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13458
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Enqueued BatchJob (Job ID: 5c460a93-4c1b-4012-9268-086e8f2871fb) to Test(test_queue) with arguments: "t"
13459
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Enqueued BatchJob (Job ID: 9f7a6913-b103-4926-be86-4b8825723487) to Test(test_queue) with arguments: "e"
13460
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Enqueued BatchJob (Job ID: db133b2f-4ae0-48da-a2f0-240789e515cb) to Test(test_queue) with arguments: "s"
13461
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Enqueued BatchJob (Job ID: 6f912586-7d26-416a-b4c3-6790c549ec03) to Test(test_queue) with arguments: "t"
13462
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: d994170e-295b-42ed-86e2-6f3d8f7f5318) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13463
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [551fad50-01a7-4691-80dc-e6cd6282acd0] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13464
+ ---------------------------------------------------------------------------
13465
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
13466
+ ---------------------------------------------------------------------------
13467
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: ed853dda-7023-4d10-9662-ec4e746f1655) to Test(test_queue) with arguments: BatchJob
13468
+ ------------------------------------------------------------
13469
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
13470
+ ------------------------------------------------------------
13471
+ Processing by ActiveBatch::BatchesController#create as HTML
13472
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
13473
+ Redirected to http://test.host/activejob_batch/batches/980190963
13474
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
13475
+ -------------------------------------------------------
13476
+ ActiveBatch::BatchesControllerTest: test_should_get_new
13477
+ -------------------------------------------------------
13478
+ Processing by ActiveBatch::BatchesController#new as HTML
13479
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (11.9ms)
13480
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (16.1ms)
13481
+ Completed 200 OK in 22ms (Views: 21.9ms | ActiveRecord: 0.0ms)
13482
+ ---------------------------------------------------------
13483
+ ActiveBatch::BatchesControllerTest: test_should_get_index
13484
+ ---------------------------------------------------------
13485
+ Processing by ActiveBatch::BatchesController#index as HTML
13486
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (1.5ms)
13487
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)
13488
+ ----------------------------------------------------------
13489
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
13490
+ ----------------------------------------------------------
13491
+ Processing by ActiveBatch::BatchesController#show as HTML
13492
+ Parameters: {"id"=>"980190962"}
13493
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (1.5ms)
13494
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)
13495
+ -------------------------------------------------------------
13496
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
13497
+ -------------------------------------------------------------
13498
+ Processing by ActiveBatch::BatchesController#destroy as HTML
13499
+ Parameters: {"id"=>"980190962"}
13500
+ Redirected to http://test.host/activejob_batch/batches
13501
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
13502
+ -------------------------------------------------------------------
13503
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
13504
+ -------------------------------------------------------------------
13505
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
13506
+ Parameters: {"id"=>"980190962"}
13507
+ Redirected to http://test.host/activejob_batch/work_units
13508
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
13509
+ -----------------------------------------------------------
13510
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
13511
+ -----------------------------------------------------------
13512
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
13513
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (1.9ms)
13514
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.1ms)
13515
+ ----------------------------------------------------------------
13516
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
13517
+ ----------------------------------------------------------------
13518
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
13519
+ Parameters: {"id"=>"980190962"}
13520
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (0.7ms)
13521
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
13522
+ --------------------------------------------------------------------
13523
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
13524
+ --------------------------------------------------------------------
13525
+ -------------------------------------------------------------------------------------------
13526
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
13527
+ -------------------------------------------------------------------------------------------
13528
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [54e2c8d2-62b8-40b6-8bbe-d9cbf1741fd1] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13529
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [54e2c8d2-62b8-40b6-8bbe-d9cbf1741fd1] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 8.98ms
13530
+ ------------------------------------------------------------------------------------------------
13531
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
13532
+ ------------------------------------------------------------------------------------------------
13533
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [532f4686-8304-40a6-9ef9-f505bcb11d8b] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13534
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [532f4686-8304-40a6-9ef9-f505bcb11d8b] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 3.8ms
13535
+ ---------------------------------------------------------------------------------------
13536
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
13537
+ ---------------------------------------------------------------------------------------
13538
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [34c0dbe9-38ee-444a-bf4d-d7785bb3b761] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13539
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [34c0dbe9-38ee-444a-bf4d-d7785bb3b761] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: f2b3a5b8-5401-42cc-a829-7a89de181727) to Test(test_queue) at 2015-09-29 08:23:44 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13540
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [34c0dbe9-38ee-444a-bf4d-d7785bb3b761] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 1.46ms
13541
+ ----------------------------------------------------------------------------------
13542
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
13543
+ ----------------------------------------------------------------------------------
13544
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f7799c67-0cc4-4722-92b7-c0e675eb5f44] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13545
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f7799c67-0cc4-4722-92b7-c0e675eb5f44] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: a1253932-3a1f-4f5d-8494-828eea998afb) to Test(test_queue) at 2015-09-29 08:23:44 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13546
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f7799c67-0cc4-4722-92b7-c0e675eb5f44] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.8ms
13547
+ ---------------------------
13548
+ ActiveBatchTest: test_truth
13549
+ ---------------------------
13550
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13551
+  (0.1ms) begin transaction
13552
+ Fixture Delete (0.6ms) DELETE FROM "active_batch_batches"
13553
+ Fixture Insert (0.5ms) INSERT INTO "active_batch_batches" ("job_class", "arguments", "created_at", "updated_at", "id") VALUES ('BatchJob', '["test"]', '2015-09-29 08:23:28', '2015-09-29 08:23:28', 980190962)
13554
+ Fixture Delete (0.1ms) DELETE FROM "active_batch_work_units"
13555
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "status", "created_at", "updated_at", "id") VALUES ('1234', 0, '2015-09-29 08:23:28', '2015-09-29 08:23:28', 980190962)
13556
+  (0.8ms) commit transaction
13557
+  (0.0ms) begin transaction
13558
+ ---------------------------------------------------------
13559
+ ActiveBatch::BatchesControllerTest: test_should_get_index
13560
+ ---------------------------------------------------------
13561
+ ActiveBatch::Batch Load (0.2ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13562
+ Processing by ActiveBatch::BatchesController#index as HTML
13563
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches"
13564
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (3.0ms)
13565
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.1ms)
13566
+  (0.1ms) rollback transaction
13567
+  (0.0ms) begin transaction
13568
+ -------------------------------------------------------
13569
+ ActiveBatch::BatchesControllerTest: test_should_get_new
13570
+ -------------------------------------------------------
13571
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13572
+ Processing by ActiveBatch::BatchesController#new as HTML
13573
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (13.6ms)
13574
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (17.3ms)
13575
+ Completed 200 OK in 19ms (Views: 18.4ms | ActiveRecord: 0.0ms)
13576
+  (0.1ms) rollback transaction
13577
+  (0.0ms) begin transaction
13578
+ ----------------------------------------------------------
13579
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
13580
+ ----------------------------------------------------------
13581
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13582
+ Processing by ActiveBatch::BatchesController#show as HTML
13583
+ Parameters: {"id"=>"980190962"}
13584
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13585
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13586
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (37.4ms)
13587
+ Completed 200 OK in 40ms (Views: 38.5ms | ActiveRecord: 0.2ms)
13588
+  (0.0ms) rollback transaction
13589
+  (0.0ms) begin transaction
13590
+ -------------------------------------------------------------
13591
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
13592
+ -------------------------------------------------------------
13593
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13594
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
13595
+ Processing by ActiveBatch::BatchesController#destroy as HTML
13596
+ Parameters: {"id"=>"980190962"}
13597
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13598
+  (0.0ms) SAVEPOINT active_record_1
13599
+ SQL (0.2ms) DELETE FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? [["id", 980190962]]
13600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13601
+ Redirected to http://test.host/activejob_batch/batches
13602
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
13603
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
13604
+  (0.6ms) rollback transaction
13605
+  (0.0ms) begin transaction
13606
+ ------------------------------------------------------------
13607
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
13608
+ ------------------------------------------------------------
13609
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13610
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
13611
+ Processing by ActiveBatch::BatchesController#create as HTML
13612
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
13613
+  (0.0ms) SAVEPOINT active_record_1
13614
+ SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "created_at", "updated_at") VALUES (?, ?, ?) [["job_class", "BatchJob"], ["created_at", "2015-09-29 08:23:28.591876"], ["updated_at", "2015-09-29 08:23:28.591876"]]
13615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13616
+ Redirected to http://test.host/activejob_batch/batches/980190963
13617
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
13618
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
13619
+  (0.4ms) rollback transaction
13620
+  (0.0ms) begin transaction
13621
+ ---------------------------
13622
+ ActiveBatchTest: test_truth
13623
+ ---------------------------
13624
+  (0.0ms) rollback transaction
13625
+  (0.0ms) begin transaction
13626
+ ---------------------------------------------------------------------------------------
13627
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
13628
+ ---------------------------------------------------------------------------------------
13629
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13630
+  (0.0ms) SAVEPOINT active_record_1
13631
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "21"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.602544"], ["updated_at", "2015-09-29 08:23:28.602544"]]
13632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13633
+  (0.0ms) SAVEPOINT active_record_1
13634
+ SQL (0.9ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "56"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.604203"], ["updated_at", "2015-09-29 08:23:28.604203"]]
13635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13636
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e03f0940-c9cd-4444-bd56-240cc6688cab] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13637
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e03f0940-c9cd-4444-bd56-240cc6688cab] ActiveBatch::WorkUnit Exists (0.1ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13638
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e03f0940-c9cd-4444-bd56-240cc6688cab] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 4791017f-3509-4a54-9135-33ce7d9c5cb5) to Test(test_queue) at 2015-09-29 08:24:28 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13639
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e03f0940-c9cd-4444-bd56-240cc6688cab] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 6.85ms
13640
+  (0.5ms) rollback transaction
13641
+  (0.0ms) begin transaction
13642
+ ----------------------------------------------------------------------------------
13643
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
13644
+ ----------------------------------------------------------------------------------
13645
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13646
+  (0.0ms) SAVEPOINT active_record_1
13647
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "33"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.616965"], ["updated_at", "2015-09-29 08:23:28.616965"]]
13648
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13649
+  (0.0ms) SAVEPOINT active_record_1
13650
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "22"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.618429"], ["updated_at", "2015-09-29 08:23:28.618429"]]
13651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13652
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [a8ab3188-de0b-4ab7-8511-7039883e60e5] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13653
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [a8ab3188-de0b-4ab7-8511-7039883e60e5] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13654
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [a8ab3188-de0b-4ab7-8511-7039883e60e5] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: d8de9539-1a28-4f54-afb5-4963028144bb) to Test(test_queue) at 2015-09-29 08:24:28 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13655
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [a8ab3188-de0b-4ab7-8511-7039883e60e5] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.87ms
13656
+  (0.7ms) rollback transaction
13657
+  (0.0ms) begin transaction
13658
+ -------------------------------------------------------------------------------------------
13659
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
13660
+ -------------------------------------------------------------------------------------------
13661
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13662
+  (0.0ms) SAVEPOINT active_record_1
13663
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "73"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.622836"], ["updated_at", "2015-09-29 08:23:28.622836"]]
13664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13665
+  (0.0ms) SAVEPOINT active_record_1
13666
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "64"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.624205"], ["updated_at", "2015-09-29 08:23:28.624205"]]
13667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13668
+  (0.0ms) SAVEPOINT active_record_1
13669
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 2], ["updated_at", "2015-09-29 08:23:28.625328"], ["id", 980190964]]
13670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13671
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13672
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13673
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f] ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13674
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f]  (0.1ms) SAVEPOINT active_record_1
13675
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f] SQL (0.1ms) UPDATE "active_batch_batches" SET "status" = ?, "updated_at" = ? WHERE "active_batch_batches"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:23:28.631171"], ["id", 980190962]]
13676
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f]  (0.0ms) RELEASE SAVEPOINT active_record_1
13677
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [e7e78949-d372-4298-aa54-0a1016c83c8f] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 5.27ms
13678
+  (0.6ms) rollback transaction
13679
+  (0.0ms) begin transaction
13680
+ ------------------------------------------------------------------------------------------------
13681
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
13682
+ ------------------------------------------------------------------------------------------------
13683
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13684
+  (0.0ms) SAVEPOINT active_record_1
13685
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "41"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.634616"], ["updated_at", "2015-09-29 08:23:28.634616"]]
13686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13687
+  (0.0ms) SAVEPOINT active_record_1
13688
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "23"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:23:28.635986"], ["updated_at", "2015-09-29 08:23:28.635986"]]
13689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13690
+  (0.0ms) SAVEPOINT active_record_1
13691
+ SQL (0.0ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 2], ["updated_at", "2015-09-29 08:23:28.637129"], ["id", 980190964]]
13692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13693
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13694
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13695
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b] ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13696
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b]  (0.0ms) SAVEPOINT active_record_1
13697
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b] SQL (0.1ms) UPDATE "active_batch_batches" SET "status" = ?, "updated_at" = ? WHERE "active_batch_batches"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:23:28.641047"], ["id", 980190962]]
13698
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b]  (0.0ms) RELEASE SAVEPOINT active_record_1
13699
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f2666863-b886-4e45-bdad-8f75ff44c25b] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 3.76ms
13700
+  (0.5ms) rollback transaction
13701
+  (0.0ms) begin transaction
13702
+ ----------------------------------------------------------------------------------
13703
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
13704
+ ----------------------------------------------------------------------------------
13705
+  (0.0ms) SAVEPOINT active_record_1
13706
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "b1e231e3-8dbe-4889-a0d0-b494fa0c74f8"], ["created_at", "2015-09-29 08:23:28.644450"], ["updated_at", "2015-09-29 08:23:28.644450"]]
13707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13708
+ [ActiveJob] [RescueJob] [b1e231e3-8dbe-4889-a0d0-b494fa0c74f8] Performing RescueJob from Test(test_queue)
13709
+ [ActiveJob] [RescueJob] [b1e231e3-8dbe-4889-a0d0-b494fa0c74f8] ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "b1e231e3-8dbe-4889-a0d0-b494fa0c74f8"]]
13710
+ [ActiveJob] [RescueJob] [b1e231e3-8dbe-4889-a0d0-b494fa0c74f8]  (0.0ms) SAVEPOINT active_record_1
13711
+ [ActiveJob] [RescueJob] [b1e231e3-8dbe-4889-a0d0-b494fa0c74f8] SQL (0.2ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:23:28.646213"], ["id", 980190963]]
13712
+ [ActiveJob] [RescueJob] [b1e231e3-8dbe-4889-a0d0-b494fa0c74f8]  (0.0ms) RELEASE SAVEPOINT active_record_1
13713
+ [ActiveJob] [RescueJob] [b1e231e3-8dbe-4889-a0d0-b494fa0c74f8] Performed RescueJob from Test(test_queue) in 1.67ms
13714
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "b1e231e3-8dbe-4889-a0d0-b494fa0c74f8"]]
13715
+  (0.0ms) SAVEPOINT active_record_1
13716
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 3], ["work_result", "StandardError\n/Users/adrien/workspace/active_batch/test/jobs/rescue_job.rb:7:in `perform'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:32:in `block in perform_now'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'\n/Users/adrien/workspace/active_batch/test/lib/active_batch/batched_job_test.rb:18:in `block in <class:BatchedJobTest>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"], ["updated_at", "2015-09-29 08:23:28.647682"], ["id", 980190963]]
13717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13718
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13719
+  (0.5ms) rollback transaction
13720
+  (0.0ms) begin transaction
13721
+ --------------------------------------------------------------------
13722
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
13723
+ --------------------------------------------------------------------
13724
+  (0.0ms) SAVEPOINT active_record_1
13725
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "3c9f57ce-7e3f-42b0-a473-da04e83a2501"], ["created_at", "2015-09-29 08:23:28.650579"], ["updated_at", "2015-09-29 08:23:28.650579"]]
13726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13727
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "3c9f57ce-7e3f-42b0-a473-da04e83a2501"]]
13728
+  (0.1ms) SAVEPOINT active_record_1
13729
+ SQL (0.3ms) UPDATE "active_batch_work_units" SET "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["work_result", "blah"], ["updated_at", "2015-09-29 08:23:28.651979"], ["id", 980190963]]
13730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13731
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13732
+  (0.5ms) rollback transaction
13733
+  (0.0ms) begin transaction
13734
+ ---------------------------------------------------
13735
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
13736
+ ---------------------------------------------------
13737
+  (0.1ms) rollback transaction
13738
+  (0.0ms) begin transaction
13739
+ -----------------------------------------------------------
13740
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
13741
+ -----------------------------------------------------------
13742
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13743
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
13744
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units"
13745
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (1.8ms)
13746
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
13747
+  (0.1ms) rollback transaction
13748
+  (0.0ms) begin transaction
13749
+ -------------------------------------------------------------------
13750
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
13751
+ -------------------------------------------------------------------
13752
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13753
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
13754
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
13755
+ Parameters: {"id"=>"980190962"}
13756
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13757
+  (0.0ms) SAVEPOINT active_record_1
13758
+ SQL (0.2ms) DELETE FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? [["id", 980190962]]
13759
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13760
+ Redirected to http://test.host/activejob_batch/work_units
13761
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
13762
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_work_units"
13763
+  (0.5ms) rollback transaction
13764
+  (0.0ms) begin transaction
13765
+ ----------------------------------------------------------------
13766
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
13767
+ ----------------------------------------------------------------
13768
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13769
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
13770
+ Parameters: {"id"=>"980190962"}
13771
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
13772
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (0.7ms)
13773
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
13774
+  (0.1ms) rollback transaction
13775
+  (0.0ms) begin transaction
13776
+ --------------------------------------------------------------------
13777
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
13778
+ --------------------------------------------------------------------
13779
+  (0.0ms) SAVEPOINT active_record_1
13780
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 2], ["created_at", "2015-09-29 08:23:28.676176"], ["updated_at", "2015-09-29 08:23:28.676176"]]
13781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13782
+  (0.0ms) SAVEPOINT active_record_1
13783
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 1], ["created_at", "2015-09-29 08:23:28.677464"], ["updated_at", "2015-09-29 08:23:28.677464"]]
13784
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13785
+  (0.0ms) SAVEPOINT active_record_1
13786
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-29 08:23:28.678610"], ["updated_at", "2015-09-29 08:23:28.678610"]]
13787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13788
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
13789
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
13790
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
13791
+  (0.5ms) rollback transaction
13792
+  (0.0ms) begin transaction
13793
+ -----------------------------------------------------------------------------
13794
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
13795
+ -----------------------------------------------------------------------------
13796
+ -------------------------------------------------------------
13797
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
13798
+ -------------------------------------------------------------
13799
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13800
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Enqueued BatchJob (Job ID: a1ad4ca5-ea73-461c-b9b2-1270e1167b39) to Test(test_queue) with arguments: "t"
13801
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Enqueued BatchJob (Job ID: af2502bd-fe22-4de5-a2ae-275ae39088b3) to Test(test_queue) with arguments: "e"
13802
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Enqueued BatchJob (Job ID: 9997d9cc-27dc-49e1-8efb-54f9567bfaee) to Test(test_queue) with arguments: "s"
13803
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Enqueued BatchJob (Job ID: e4d4f620-946f-427c-84ab-2e281c19c2b0) to Test(test_queue) with arguments: "t"
13804
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 3b9fe115-fa60-4947-8937-74240bf19c10) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13805
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [e2250ad0-11cc-4635-b714-ff01ac7609f6] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13806
+ ------------------------------------------------------
13807
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
13808
+ ------------------------------------------------------
13809
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13810
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Enqueued BatchJob (Job ID: 0a0793c7-5f64-4129-a962-270444a4e4f1) to Test(test_queue) with arguments: "t"
13811
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Enqueued BatchJob (Job ID: f4683f9a-5605-4498-84af-42a3c6a6f836) to Test(test_queue) with arguments: "e"
13812
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Enqueued BatchJob (Job ID: 43fe551b-99e9-43ce-ac48-080e20ce5bf8) to Test(test_queue) with arguments: "s"
13813
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Enqueued BatchJob (Job ID: ea0368fd-3d7d-4ac8-a63a-1e201ab0f391) to Test(test_queue) with arguments: "t"
13814
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: f0d70062-e644-4bab-b8dc-ca6bd1745e8a) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13815
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [34771732-1348-43a9-9910-25c8ebea2fa1] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13816
+ -----------------------------------------------------------
13817
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
13818
+ -----------------------------------------------------------
13819
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13820
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Enqueued BatchJob (Job ID: 9ce43268-41a7-40af-b4be-f6a87a15330a) to Test(test_queue) with arguments: "t"
13821
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Enqueued BatchJob (Job ID: 90fc4793-e06b-41b3-a6c4-ab17faea00cb) to Test(test_queue) with arguments: "e"
13822
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Enqueued BatchJob (Job ID: 77169f64-06ec-4293-b493-f951cf3afdc0) to Test(test_queue) with arguments: "s"
13823
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Enqueued BatchJob (Job ID: 95c39e81-e63b-4389-ba48-3aae77635dca) to Test(test_queue) with arguments: "t"
13824
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 60a5d4e2-e590-4faa-bb23-e6302bc4013b) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13825
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [b5f45e8a-8bb7-43a6-9e33-666da9374500] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13826
+ ------------------------------------------------------------------------
13827
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
13828
+ ------------------------------------------------------------------------
13829
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13830
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Enqueued BatchJob (Job ID: c7434711-28e3-4849-9b10-51f9eaf19171) to Test(test_queue) with arguments: "t"
13831
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Enqueued BatchJob (Job ID: fbc0ed41-189f-4319-9375-73b061236c77) to Test(test_queue) with arguments: "e"
13832
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Enqueued BatchJob (Job ID: 8b34e55a-525f-4e4b-93f5-9b2044963b16) to Test(test_queue) with arguments: "s"
13833
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Enqueued BatchJob (Job ID: 9ec35868-ea26-4bce-86ff-1c2d51f34815) to Test(test_queue) with arguments: "t"
13834
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 7470a66b-d6cc-4840-a848-ae18aec6dcc5) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13835
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41b5bd59-9164-4202-9110-2d165b8ca42d] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13836
+ ---------------------------------------------------------------------------
13837
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
13838
+ ---------------------------------------------------------------------------
13839
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: 9e9923bc-2fc6-4dc4-921c-fa5a0d641f80) to Test(test_queue) with arguments: BatchJob
13840
+ ------------------------------------------------------------------------------
13841
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
13842
+ ------------------------------------------------------------------------------
13843
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13844
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Enqueued BatchJob (Job ID: 31ca07aa-1002-4b46-b624-742f90b0b237) to Test(test_queue) with arguments: "t"
13845
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Enqueued BatchJob (Job ID: 5eeaf967-524f-4203-aa2b-07a0079914fe) to Test(test_queue) with arguments: "e"
13846
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Enqueued BatchJob (Job ID: 02699680-edb8-437a-9a1f-015a24273adc) to Test(test_queue) with arguments: "s"
13847
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Enqueued BatchJob (Job ID: bbafceb7-39fe-49db-a6ce-0ef64977e458) to Test(test_queue) with arguments: "t"
13848
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: c74792cf-806a-4435-a7e3-4511f3c7b3a8) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
13849
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8489e88a-1f53-4d72-bbf5-bc4f00537644] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
13850
+ ---------------------------------------------------------------
13851
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
13852
+ ---------------------------------------------------------------
13853
+ [ActiveJob] [BatchJob] [9589fded-4197-407a-ae9d-d79e47579855] Performing BatchJob from Test(test_queue) with arguments: "test"
13854
+ [ActiveJob] [BatchJob] [9589fded-4197-407a-ae9d-d79e47579855] Performed BatchJob from Test(test_queue) in 0.12ms
13855
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13856
+  (0.1ms) begin transaction
13857
+ --------------------------------------------------------------------
13858
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
13859
+ --------------------------------------------------------------------
13860
+  (0.0ms) SAVEPOINT active_record_1
13861
+ SQL (0.3ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "f78d34be-d0c7-417e-8a0e-93fd78182fb8"], ["created_at", "2015-09-29 08:24:24.915203"], ["updated_at", "2015-09-29 08:24:24.915203"]]
13862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13863
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "f78d34be-d0c7-417e-8a0e-93fd78182fb8"]]
13864
+  (0.0ms) SAVEPOINT active_record_1
13865
+ SQL (0.9ms) UPDATE "active_batch_work_units" SET "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["work_result", "blah"], ["updated_at", "2015-09-29 08:24:24.922772"], ["id", 980190963]]
13866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13867
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13868
+  (0.5ms) rollback transaction
13869
+  (0.0ms) begin transaction
13870
+ ---------------------------------------------------
13871
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
13872
+ ---------------------------------------------------
13873
+  (0.0ms) rollback transaction
13874
+  (0.0ms) begin transaction
13875
+ ----------------------------------------------------------------------------------
13876
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
13877
+ ----------------------------------------------------------------------------------
13878
+  (0.0ms) SAVEPOINT active_record_1
13879
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "dbc22839-b807-4abf-8fb7-575ff2e79248"], ["created_at", "2015-09-29 08:24:24.928248"], ["updated_at", "2015-09-29 08:24:24.928248"]]
13880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13881
+ [ActiveJob] [RescueJob] [dbc22839-b807-4abf-8fb7-575ff2e79248] Performing RescueJob from Test(test_queue)
13882
+ [ActiveJob] [RescueJob] [dbc22839-b807-4abf-8fb7-575ff2e79248] ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "dbc22839-b807-4abf-8fb7-575ff2e79248"]]
13883
+ [ActiveJob] [RescueJob] [dbc22839-b807-4abf-8fb7-575ff2e79248]  (0.0ms) SAVEPOINT active_record_1
13884
+ [ActiveJob] [RescueJob] [dbc22839-b807-4abf-8fb7-575ff2e79248] SQL (0.3ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:24:24.930091"], ["id", 980190963]]
13885
+ [ActiveJob] [RescueJob] [dbc22839-b807-4abf-8fb7-575ff2e79248]  (0.0ms) RELEASE SAVEPOINT active_record_1
13886
+ [ActiveJob] [RescueJob] [dbc22839-b807-4abf-8fb7-575ff2e79248] Performed RescueJob from Test(test_queue) in 1.7ms
13887
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "dbc22839-b807-4abf-8fb7-575ff2e79248"]]
13888
+  (0.0ms) SAVEPOINT active_record_1
13889
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 3], ["work_result", "StandardError\n/Users/adrien/workspace/active_batch/test/jobs/rescue_job.rb:7:in `perform'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:32:in `block in perform_now'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'\n/Users/adrien/workspace/active_batch/test/lib/active_batch/batched_job_test.rb:18:in `block in <class:BatchedJobTest>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"], ["updated_at", "2015-09-29 08:24:24.931782"], ["id", 980190963]]
13890
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13891
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
13892
+  (0.5ms) rollback transaction
13893
+  (0.1ms) begin transaction
13894
+ Fixture Delete (0.2ms) DELETE FROM "active_batch_batches"
13895
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_batches" ("job_class", "arguments", "created_at", "updated_at", "id") VALUES ('BatchJob', '["test"]', '2015-09-29 08:24:24', '2015-09-29 08:24:24', 980190962)
13896
+ Fixture Delete (0.1ms) DELETE FROM "active_batch_work_units"
13897
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "status", "created_at", "updated_at", "id") VALUES ('1234', 0, '2015-09-29 08:24:24', '2015-09-29 08:24:24', 980190962)
13898
+  (0.6ms) commit transaction
13899
+  (0.0ms) begin transaction
13900
+ ------------------------------------------------------------------------------------------------
13901
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
13902
+ ------------------------------------------------------------------------------------------------
13903
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13904
+  (0.1ms) SAVEPOINT active_record_1
13905
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "41"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:24.985864"], ["updated_at", "2015-09-29 08:24:24.985864"]]
13906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13907
+  (0.0ms) SAVEPOINT active_record_1
13908
+ SQL (0.3ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "16"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:24.987448"], ["updated_at", "2015-09-29 08:24:24.987448"]]
13909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13910
+  (0.0ms) SAVEPOINT active_record_1
13911
+ SQL (0.0ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 2], ["updated_at", "2015-09-29 08:24:24.988610"], ["id", 980190964]]
13912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13913
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13914
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2] ActiveBatch::WorkUnit Exists (0.1ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13915
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2] ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13916
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2]  (0.0ms) SAVEPOINT active_record_1
13917
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2] SQL (0.1ms) UPDATE "active_batch_batches" SET "status" = ?, "updated_at" = ? WHERE "active_batch_batches"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:24:25.000027"], ["id", 980190962]]
13918
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2]  (0.0ms) RELEASE SAVEPOINT active_record_1
13919
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [19532d3f-3b86-4d04-8bbb-0a3573baf3f2] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 10.56ms
13920
+  (0.5ms) rollback transaction
13921
+  (0.0ms) begin transaction
13922
+ -------------------------------------------------------------------------------------------
13923
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
13924
+ -------------------------------------------------------------------------------------------
13925
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13926
+  (0.0ms) SAVEPOINT active_record_1
13927
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "95"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:25.004423"], ["updated_at", "2015-09-29 08:24:25.004423"]]
13928
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13929
+  (0.0ms) SAVEPOINT active_record_1
13930
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "85"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:25.005779"], ["updated_at", "2015-09-29 08:24:25.005779"]]
13931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13932
+  (0.0ms) SAVEPOINT active_record_1
13933
+ SQL (0.0ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 2], ["updated_at", "2015-09-29 08:24:25.006885"], ["id", 980190964]]
13934
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13935
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13936
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13937
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8] ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
13938
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8]  (0.0ms) SAVEPOINT active_record_1
13939
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8] SQL (0.1ms) UPDATE "active_batch_batches" SET "status" = ?, "updated_at" = ? WHERE "active_batch_batches"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:24:25.010770"], ["id", 980190962]]
13940
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8]  (0.0ms) RELEASE SAVEPOINT active_record_1
13941
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [0f2be328-1a41-4200-8d2a-7b7fc7f102b8] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 3.78ms
13942
+  (0.6ms) rollback transaction
13943
+  (0.0ms) begin transaction
13944
+ ---------------------------------------------------------------------------------------
13945
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
13946
+ ---------------------------------------------------------------------------------------
13947
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13948
+  (0.0ms) SAVEPOINT active_record_1
13949
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "53"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:25.013818"], ["updated_at", "2015-09-29 08:24:25.013818"]]
13950
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13951
+  (0.0ms) SAVEPOINT active_record_1
13952
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "39"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:25.015158"], ["updated_at", "2015-09-29 08:24:25.015158"]]
13953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13954
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f8f823bb-c1c1-4029-923a-d81cdbb9ad5a] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13955
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f8f823bb-c1c1-4029-923a-d81cdbb9ad5a] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13956
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f8f823bb-c1c1-4029-923a-d81cdbb9ad5a] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: a1ab838b-36d3-457c-888e-18df2734d84d) to Test(test_queue) at 2015-09-29 08:25:25 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13957
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [f8f823bb-c1c1-4029-923a-d81cdbb9ad5a] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 1.49ms
13958
+  (0.5ms) rollback transaction
13959
+  (0.0ms) begin transaction
13960
+ ----------------------------------------------------------------------------------
13961
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
13962
+ ----------------------------------------------------------------------------------
13963
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
13964
+  (0.0ms) SAVEPOINT active_record_1
13965
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 2], ["work_result", "69"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:25.020493"], ["updated_at", "2015-09-29 08:24:25.020493"]]
13966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13967
+  (0.0ms) SAVEPOINT active_record_1
13968
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "work_result", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["status", 1], ["work_result", "8"], ["active_batch_batches_id", 980190962], ["created_at", "2015-09-29 08:24:25.021848"], ["updated_at", "2015-09-29 08:24:25.021848"]]
13969
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13970
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [61f4ed76-8d5e-40ce-996c-ed06fe1b7fb4] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
13971
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [61f4ed76-8d5e-40ce-996c-ed06fe1b7fb4] ActiveBatch::WorkUnit Exists (0.0ms) SELECT 1 AS one FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND ("active_batch_work_units"."status" != ?) LIMIT 1 [["active_batch_batches_id", 980190962], ["status", 2]]
13972
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [61f4ed76-8d5e-40ce-996c-ed06fe1b7fb4] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: c441c8af-8174-4ec2-b4a7-45519402d706) to Test(test_queue) at 2015-09-29 08:25:25 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
13973
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [61f4ed76-8d5e-40ce-996c-ed06fe1b7fb4] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.84ms
13974
+  (0.5ms) rollback transaction
13975
+  (0.0ms) begin transaction
13976
+ ---------------------------
13977
+ ActiveBatchTest: test_truth
13978
+ ---------------------------
13979
+  (0.0ms) rollback transaction
13980
+  (0.0ms) begin transaction
13981
+ ---------------------------------------------------------------
13982
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
13983
+ ---------------------------------------------------------------
13984
+ [ActiveJob] [BatchJob] [183c3e58-e969-447b-b3a7-784e3174b15e] Performing BatchJob from Test(test_queue) with arguments: "test"
13985
+ [ActiveJob] [BatchJob] [183c3e58-e969-447b-b3a7-784e3174b15e] Performed BatchJob from Test(test_queue) in 0.12ms
13986
+  (0.0ms) rollback transaction
13987
+  (0.0ms) begin transaction
13988
+ --------------------------------------------------------------------
13989
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
13990
+ --------------------------------------------------------------------
13991
+  (0.0ms) SAVEPOINT active_record_1
13992
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 2], ["created_at", "2015-09-29 08:24:25.027522"], ["updated_at", "2015-09-29 08:24:25.027522"]]
13993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13994
+  (0.0ms) SAVEPOINT active_record_1
13995
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 1], ["created_at", "2015-09-29 08:24:25.028613"], ["updated_at", "2015-09-29 08:24:25.028613"]]
13996
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13997
+  (0.0ms) SAVEPOINT active_record_1
13998
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-29 08:24:25.029650"], ["updated_at", "2015-09-29 08:24:25.029650"]]
13999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14000
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14001
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14002
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14003
+  (0.5ms) rollback transaction
14004
+  (0.0ms) begin transaction
14005
+ ----------------------------------------------------------
14006
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
14007
+ ----------------------------------------------------------
14008
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14009
+ Processing by ActiveBatch::BatchesController#show as HTML
14010
+ Parameters: {"id"=>"980190962"}
14011
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14012
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
14013
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (2.4ms)
14014
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.1ms)
14015
+  (0.1ms) rollback transaction
14016
+  (0.0ms) begin transaction
14017
+ -------------------------------------------------------
14018
+ ActiveBatch::BatchesControllerTest: test_should_get_new
14019
+ -------------------------------------------------------
14020
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14021
+ Processing by ActiveBatch::BatchesController#new as HTML
14022
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (12.2ms)
14023
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (15.5ms)
14024
+ Completed 200 OK in 17ms (Views: 16.7ms | ActiveRecord: 0.0ms)
14025
+  (0.1ms) rollback transaction
14026
+  (0.0ms) begin transaction
14027
+ -------------------------------------------------------------
14028
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
14029
+ -------------------------------------------------------------
14030
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14031
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14032
+ Processing by ActiveBatch::BatchesController#destroy as HTML
14033
+ Parameters: {"id"=>"980190962"}
14034
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14035
+  (0.0ms) SAVEPOINT active_record_1
14036
+ SQL (0.2ms) DELETE FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? [["id", 980190962]]
14037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14038
+ Redirected to http://test.host/activejob_batch/batches
14039
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14040
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14041
+  (0.4ms) rollback transaction
14042
+  (0.0ms) begin transaction
14043
+ ---------------------------------------------------------
14044
+ ActiveBatch::BatchesControllerTest: test_should_get_index
14045
+ ---------------------------------------------------------
14046
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14047
+ Processing by ActiveBatch::BatchesController#index as HTML
14048
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches"
14049
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (1.5ms)
14050
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)
14051
+  (0.0ms) rollback transaction
14052
+  (0.0ms) begin transaction
14053
+ ------------------------------------------------------------
14054
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
14055
+ ------------------------------------------------------------
14056
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14057
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14058
+ Processing by ActiveBatch::BatchesController#create as HTML
14059
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
14060
+  (0.0ms) SAVEPOINT active_record_1
14061
+ SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "created_at", "updated_at") VALUES (?, ?, ?) [["job_class", "BatchJob"], ["created_at", "2015-09-29 08:24:25.143703"], ["updated_at", "2015-09-29 08:24:25.143703"]]
14062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14063
+ Redirected to http://test.host/activejob_batch/batches/980190963
14064
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14065
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14066
+  (0.3ms) rollback transaction
14067
+  (0.0ms) begin transaction
14068
+ ---------------------------------------------------------------------------
14069
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
14070
+ ---------------------------------------------------------------------------
14071
+ [ActiveJob] Could not log "enqueue.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:57:in `block in enqueue'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:55:in `enqueue'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:33:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:448:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:448:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:192:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:192:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `block in call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:14:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_enqueue_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:67:in `enqueue'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:17:in `perform_later'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:42:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/test_helper.rb:163:in `assert_enqueued_with'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:41:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14072
+  (0.0ms) rollback transaction
14073
+  (0.0ms) begin transaction
14074
+ -----------------------------------------------------------
14075
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
14076
+ -----------------------------------------------------------
14077
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14078
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14079
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) SAVEPOINT active_record_1
14080
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "ae9b8694-5d6c-42cb-b9f9-04e052e27a42"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:24:25.149521"], ["updated_at", "2015-09-29 08:24:25.149521"]]
14081
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) RELEASE SAVEPOINT active_record_1
14082
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) SAVEPOINT active_record_1
14083
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] SQL (0.3ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "f13658e8-4740-411e-979f-079821ff90b0"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.152279"], ["updated_at", "2015-09-29 08:24:25.152279"]]
14084
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) RELEASE SAVEPOINT active_record_1
14085
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Enqueued BatchJob (Job ID: f13658e8-4740-411e-979f-079821ff90b0) to Test(test_queue) with arguments: "t"
14086
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) SAVEPOINT active_record_1
14087
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "7e34bc0d-2d6a-4018-994e-c9fc12eab151"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.154421"], ["updated_at", "2015-09-29 08:24:25.154421"]]
14088
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) RELEASE SAVEPOINT active_record_1
14089
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Enqueued BatchJob (Job ID: 7e34bc0d-2d6a-4018-994e-c9fc12eab151) to Test(test_queue) with arguments: "e"
14090
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) SAVEPOINT active_record_1
14091
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "28d56614-8558-4c42-b1ad-5a97a4583759"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.155891"], ["updated_at", "2015-09-29 08:24:25.155891"]]
14092
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) RELEASE SAVEPOINT active_record_1
14093
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Enqueued BatchJob (Job ID: 28d56614-8558-4c42-b1ad-5a97a4583759) to Test(test_queue) with arguments: "s"
14094
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) SAVEPOINT active_record_1
14095
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "0c43bbd9-8ce2-42f7-85ff-1146b06a938c"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.157518"], ["updated_at", "2015-09-29 08:24:25.157518"]]
14096
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42]  (0.0ms) RELEASE SAVEPOINT active_record_1
14097
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Enqueued BatchJob (Job ID: 0c43bbd9-8ce2-42f7-85ff-1146b06a938c) to Test(test_queue) with arguments: "t"
14098
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: d389905f-8a65-4d27-ab0f-0729b3c402f9) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14099
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ae9b8694-5d6c-42cb-b9f9-04e052e27a42] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14100
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14101
+  (0.6ms) rollback transaction
14102
+  (0.0ms) begin transaction
14103
+ ------------------------------------------------------
14104
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
14105
+ ------------------------------------------------------
14106
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
14107
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14108
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) SAVEPOINT active_record_1
14109
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "589b7540-2827-4ac3-bbf8-649735984627"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:24:25.161515"], ["updated_at", "2015-09-29 08:24:25.161515"]]
14110
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) RELEASE SAVEPOINT active_record_1
14111
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) SAVEPOINT active_record_1
14112
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "b55aada3-a665-4e1f-9eeb-5c82abfee7fe"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.163548"], ["updated_at", "2015-09-29 08:24:25.163548"]]
14113
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) RELEASE SAVEPOINT active_record_1
14114
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Enqueued BatchJob (Job ID: b55aada3-a665-4e1f-9eeb-5c82abfee7fe) to Test(test_queue) with arguments: "t"
14115
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) SAVEPOINT active_record_1
14116
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "51c35d02-d6d3-4e87-b434-0f20d8477781"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.165640"], ["updated_at", "2015-09-29 08:24:25.165640"]]
14117
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) RELEASE SAVEPOINT active_record_1
14118
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Enqueued BatchJob (Job ID: 51c35d02-d6d3-4e87-b434-0f20d8477781) to Test(test_queue) with arguments: "e"
14119
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) SAVEPOINT active_record_1
14120
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "be3510df-df1a-4c44-94b7-26e953dee632"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.167025"], ["updated_at", "2015-09-29 08:24:25.167025"]]
14121
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) RELEASE SAVEPOINT active_record_1
14122
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Enqueued BatchJob (Job ID: be3510df-df1a-4c44-94b7-26e953dee632) to Test(test_queue) with arguments: "s"
14123
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) SAVEPOINT active_record_1
14124
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "dbe8fef0-262c-40e6-a71b-6bb2d3391f6a"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.168449"], ["updated_at", "2015-09-29 08:24:25.168449"]]
14125
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627]  (0.0ms) RELEASE SAVEPOINT active_record_1
14126
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Enqueued BatchJob (Job ID: dbe8fef0-262c-40e6-a71b-6bb2d3391f6a) to Test(test_queue) with arguments: "t"
14127
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 57680e25-6eda-4168-805c-bc103724d6d2) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14128
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [589b7540-2827-4ac3-bbf8-649735984627] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14129
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
14130
+  (0.5ms) rollback transaction
14131
+  (0.0ms) begin transaction
14132
+ ------------------------------------------------------------------------
14133
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
14134
+ ------------------------------------------------------------------------
14135
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14136
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) SAVEPOINT active_record_1
14137
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "72ff3e54-4d11-438c-9c39-08c26edbfea7"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:24:25.171964"], ["updated_at", "2015-09-29 08:24:25.171964"]]
14138
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14139
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) SAVEPOINT active_record_1
14140
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "dab79dec-365d-4278-81c4-52fdf89607cf"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.174070"], ["updated_at", "2015-09-29 08:24:25.174070"]]
14141
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14142
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Enqueued BatchJob (Job ID: dab79dec-365d-4278-81c4-52fdf89607cf) to Test(test_queue) with arguments: "t"
14143
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) SAVEPOINT active_record_1
14144
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "5e35e3e6-9626-4202-b856-e5aed50177f9"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.176118"], ["updated_at", "2015-09-29 08:24:25.176118"]]
14145
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14146
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Enqueued BatchJob (Job ID: 5e35e3e6-9626-4202-b856-e5aed50177f9) to Test(test_queue) with arguments: "e"
14147
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) SAVEPOINT active_record_1
14148
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "3c71e810-4561-428f-b777-14a276bcef8f"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.177493"], ["updated_at", "2015-09-29 08:24:25.177493"]]
14149
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14150
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Enqueued BatchJob (Job ID: 3c71e810-4561-428f-b777-14a276bcef8f) to Test(test_queue) with arguments: "s"
14151
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) SAVEPOINT active_record_1
14152
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "5a2e6359-a1d7-4c29-a4af-98dea6a1b190"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.178824"], ["updated_at", "2015-09-29 08:24:25.178824"]]
14153
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14154
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Enqueued BatchJob (Job ID: 5a2e6359-a1d7-4c29-a4af-98dea6a1b190) to Test(test_queue) with arguments: "t"
14155
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 427f7c76-e7cd-4b70-bc11-f9ff1e1369ea) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14156
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72ff3e54-4d11-438c-9c39-08c26edbfea7] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14157
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."job_id" = ? LIMIT 1 [["job_id", "72ff3e54-4d11-438c-9c39-08c26edbfea7"]]
14158
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND "active_batch_work_units"."status" = ? [["active_batch_batches_id", 980190963], ["status", 0]]
14159
+  (0.6ms) rollback transaction
14160
+  (0.0ms) begin transaction
14161
+ ------------------------------------------------------------------------------
14162
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
14163
+ ------------------------------------------------------------------------------
14164
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14165
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) SAVEPOINT active_record_1
14166
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "10180df7-da4b-4e4a-bdc2-138f67a48b0e"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:24:25.183876"], ["updated_at", "2015-09-29 08:24:25.183876"]]
14167
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) RELEASE SAVEPOINT active_record_1
14168
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) SAVEPOINT active_record_1
14169
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "041c8773-911f-44f6-8809-f7116870bee7"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.186236"], ["updated_at", "2015-09-29 08:24:25.186236"]]
14170
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) RELEASE SAVEPOINT active_record_1
14171
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Enqueued BatchJob (Job ID: 041c8773-911f-44f6-8809-f7116870bee7) to Test(test_queue) with arguments: "t"
14172
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) SAVEPOINT active_record_1
14173
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "02fb8817-fbd1-40f6-8fc6-3974b115239b"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.188462"], ["updated_at", "2015-09-29 08:24:25.188462"]]
14174
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) RELEASE SAVEPOINT active_record_1
14175
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Enqueued BatchJob (Job ID: 02fb8817-fbd1-40f6-8fc6-3974b115239b) to Test(test_queue) with arguments: "e"
14176
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) SAVEPOINT active_record_1
14177
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "bdaff26a-7013-40a9-9c68-469e4ae7ed08"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.189833"], ["updated_at", "2015-09-29 08:24:25.189833"]]
14178
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) RELEASE SAVEPOINT active_record_1
14179
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Enqueued BatchJob (Job ID: bdaff26a-7013-40a9-9c68-469e4ae7ed08) to Test(test_queue) with arguments: "s"
14180
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.0ms) SAVEPOINT active_record_1
14181
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "b1f065d8-c29c-491f-b566-ef5504dca6b8"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.191257"], ["updated_at", "2015-09-29 08:24:25.191257"]]
14182
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e]  (0.1ms) RELEASE SAVEPOINT active_record_1
14183
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Enqueued BatchJob (Job ID: b1f065d8-c29c-491f-b566-ef5504dca6b8) to Test(test_queue) with arguments: "t"
14184
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 457e3575-4c28-4212-b503-6f6d17f27aae) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14185
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [10180df7-da4b-4e4a-bdc2-138f67a48b0e] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14186
+  (0.7ms) rollback transaction
14187
+  (0.1ms) begin transaction
14188
+ -------------------------------------------------------------
14189
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
14190
+ -------------------------------------------------------------
14191
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14192
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) SAVEPOINT active_record_1
14193
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "ddb7529f-14d7-484a-9492-afa5075ac45a"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:24:25.194698"], ["updated_at", "2015-09-29 08:24:25.194698"]]
14194
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) RELEASE SAVEPOINT active_record_1
14195
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) SAVEPOINT active_record_1
14196
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "60510180-40d2-4d1b-a804-56cd4450f5b5"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.196834"], ["updated_at", "2015-09-29 08:24:25.196834"]]
14197
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) RELEASE SAVEPOINT active_record_1
14198
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Enqueued BatchJob (Job ID: 60510180-40d2-4d1b-a804-56cd4450f5b5) to Test(test_queue) with arguments: "t"
14199
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) SAVEPOINT active_record_1
14200
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "936f451a-9365-4aa3-993e-fe101db47e57"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.198940"], ["updated_at", "2015-09-29 08:24:25.198940"]]
14201
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) RELEASE SAVEPOINT active_record_1
14202
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Enqueued BatchJob (Job ID: 936f451a-9365-4aa3-993e-fe101db47e57) to Test(test_queue) with arguments: "e"
14203
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) SAVEPOINT active_record_1
14204
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "ea7c858b-b369-45d8-9b66-11bff05de4c6"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.200304"], ["updated_at", "2015-09-29 08:24:25.200304"]]
14205
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) RELEASE SAVEPOINT active_record_1
14206
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Enqueued BatchJob (Job ID: ea7c858b-b369-45d8-9b66-11bff05de4c6) to Test(test_queue) with arguments: "s"
14207
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) SAVEPOINT active_record_1
14208
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "c95d5e09-260c-4e71-9053-5bfed4b90226"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:24:25.201680"], ["updated_at", "2015-09-29 08:24:25.201680"]]
14209
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a]  (0.0ms) RELEASE SAVEPOINT active_record_1
14210
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Enqueued BatchJob (Job ID: c95d5e09-260c-4e71-9053-5bfed4b90226) to Test(test_queue) with arguments: "t"
14211
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 375dd0d3-2c26-4c2e-aa68-c017242e5a5e) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14212
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ddb7529f-14d7-484a-9492-afa5075ac45a] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14213
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."job_id" = ? LIMIT 1 [["job_id", "ddb7529f-14d7-484a-9492-afa5075ac45a"]]
14214
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190963]]
14215
+  (0.6ms) rollback transaction
14216
+  (0.0ms) begin transaction
14217
+ -----------------------------------------------------------------------------
14218
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
14219
+ -----------------------------------------------------------------------------
14220
+ -------------------------------------------------------------------
14221
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
14222
+ -------------------------------------------------------------------
14223
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
14224
+ Parameters: {"id"=>"980190962"}
14225
+ Redirected to http://test.host/activejob_batch/work_units
14226
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14227
+ ----------------------------------------------------------------
14228
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
14229
+ ----------------------------------------------------------------
14230
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
14231
+ Parameters: {"id"=>"980190962"}
14232
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (0.7ms)
14233
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
14234
+ -----------------------------------------------------------
14235
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
14236
+ -----------------------------------------------------------
14237
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
14238
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (2.2ms)
14239
+ Completed 200 OK in 34ms (Views: 34.0ms | ActiveRecord: 0.1ms)
14240
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
14241
+  (0.1ms) begin transaction
14242
+ -----------------------------------------------------------------------------
14243
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
14244
+ -----------------------------------------------------------------------------
14245
+ ------------------------------------------------------------------------------------------------
14246
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
14247
+ ------------------------------------------------------------------------------------------------
14248
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [c600cee4-d798-4525-95ad-40653d3a2cfe] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14249
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [c600cee4-d798-4525-95ad-40653d3a2cfe] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 11.07ms
14250
+ -------------------------------------------------------------------------------------------
14251
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
14252
+ -------------------------------------------------------------------------------------------
14253
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [4ca6b341-9d92-4e54-82b9-b9430f1414bd] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14254
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [4ca6b341-9d92-4e54-82b9-b9430f1414bd] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 3.94ms
14255
+ ---------------------------------------------------------------------------------------
14256
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
14257
+ ---------------------------------------------------------------------------------------
14258
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [03380b2e-b5af-43a7-9970-f4b99143ec38] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14259
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [03380b2e-b5af-43a7-9970-f4b99143ec38] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: bc317031-b8a3-43e4-91c5-371a847713ce) to Test(test_queue) at 2015-09-29 08:28:05 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
14260
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [03380b2e-b5af-43a7-9970-f4b99143ec38] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 1.45ms
14261
+ ----------------------------------------------------------------------------------
14262
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
14263
+ ----------------------------------------------------------------------------------
14264
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [4517fc2d-2564-4d5d-80e0-c2987574423f] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14265
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [4517fc2d-2564-4d5d-80e0-c2987574423f] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: e99be896-eced-4820-8137-fca9acb9d133) to Test(test_queue) at 2015-09-29 08:28:05 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
14266
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [4517fc2d-2564-4d5d-80e0-c2987574423f] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.77ms
14267
+ -------------------------------------------------------
14268
+ ActiveBatch::BatchesControllerTest: test_should_get_new
14269
+ -------------------------------------------------------
14270
+ Processing by ActiveBatch::BatchesController#new as HTML
14271
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (12.1ms)
14272
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (16.1ms)
14273
+ Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.0ms)
14274
+ -------------------------------------------------------------
14275
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
14276
+ -------------------------------------------------------------
14277
+ Processing by ActiveBatch::BatchesController#destroy as HTML
14278
+ Parameters: {"id"=>"980190962"}
14279
+ Redirected to http://test.host/activejob_batch/batches
14280
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14281
+ ---------------------------------------------------------
14282
+ ActiveBatch::BatchesControllerTest: test_should_get_index
14283
+ ---------------------------------------------------------
14284
+ Processing by ActiveBatch::BatchesController#index as HTML
14285
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (1.6ms)
14286
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
14287
+ ------------------------------------------------------------
14288
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
14289
+ ------------------------------------------------------------
14290
+ Processing by ActiveBatch::BatchesController#create as HTML
14291
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
14292
+ Redirected to http://test.host/activejob_batch/batches/980190963
14293
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14294
+ ----------------------------------------------------------
14295
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
14296
+ ----------------------------------------------------------
14297
+ Processing by ActiveBatch::BatchesController#show as HTML
14298
+ Parameters: {"id"=>"980190962"}
14299
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (1.3ms)
14300
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
14301
+ -----------------------------------------------------------
14302
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
14303
+ -----------------------------------------------------------
14304
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
14305
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (1.8ms)
14306
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
14307
+ -------------------------------------------------------------------
14308
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
14309
+ -------------------------------------------------------------------
14310
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
14311
+ Parameters: {"id"=>"980190962"}
14312
+ Redirected to http://test.host/activejob_batch/work_units
14313
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14314
+ ----------------------------------------------------------------
14315
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
14316
+ ----------------------------------------------------------------
14317
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
14318
+ Parameters: {"id"=>"980190962"}
14319
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (0.7ms)
14320
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
14321
+ -----------------------------------------------------------
14322
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
14323
+ -----------------------------------------------------------
14324
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14325
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Enqueued BatchJob (Job ID: 3fe3111a-9815-4b20-a361-baee0d1b7b81) to Test(test_queue) with arguments: "t"
14326
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Enqueued BatchJob (Job ID: 4ec13c66-0553-40ad-a375-fb3c8f6f3a1b) to Test(test_queue) with arguments: "e"
14327
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Enqueued BatchJob (Job ID: 5135ca99-3426-4043-a4be-80fdd95e9e6e) to Test(test_queue) with arguments: "s"
14328
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Enqueued BatchJob (Job ID: d91a9e58-ada0-43f0-8e53-a52d0e5bc6ef) to Test(test_queue) with arguments: "t"
14329
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 49f8a8c0-e431-4ddc-b3c6-43e67b6b5c67) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14330
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [7245592a-95e6-42af-ab2a-5ee18ab40c2d] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:24:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:23:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14331
+ ------------------------------------------------------
14332
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
14333
+ ------------------------------------------------------
14334
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14335
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Enqueued BatchJob (Job ID: 41080a06-c98d-49b2-b895-45dbe5666d48) to Test(test_queue) with arguments: "t"
14336
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Enqueued BatchJob (Job ID: bda631e6-b547-461a-b6ff-8b51ab2ada9d) to Test(test_queue) with arguments: "e"
14337
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Enqueued BatchJob (Job ID: b68ff750-4dcc-4445-bb83-45b8b2013d4c) to Test(test_queue) with arguments: "s"
14338
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Enqueued BatchJob (Job ID: 46686c44-53d1-449e-8217-85b52f522f8b) to Test(test_queue) with arguments: "t"
14339
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 4f69a285-a28c-4e34-bf99-8e0a7814525e) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14340
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [4c4b6144-90b7-48d5-8e08-f3d1d415edba] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:18:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/testing/assertions.rb:71:in `assert_difference'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:17:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14341
+ ---------------------------------------------------------------------------
14342
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
14343
+ ---------------------------------------------------------------------------
14344
+ [ActiveJob] Could not log "enqueue.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:57:in `block in enqueue'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:55:in `enqueue'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:33:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:448:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:448:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:192:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:192:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `block in call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:504:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:14:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_enqueue_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:67:in `enqueue'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/enqueuing.rb:17:in `perform_later'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:42:in `block (2 levels) in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/test_helper.rb:163:in `assert_enqueued_with'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:41:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14345
+ -------------------------------------------------------------
14346
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
14347
+ -------------------------------------------------------------
14348
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14349
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Enqueued BatchJob (Job ID: 3979709b-54e4-48c6-9879-f1296482e21a) to Test(test_queue) with arguments: "t"
14350
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Enqueued BatchJob (Job ID: 4d68b79b-87d3-42c4-8e47-24bc08eb3bff) to Test(test_queue) with arguments: "e"
14351
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Enqueued BatchJob (Job ID: 19fd172e-cfb8-4b4a-b1e6-08270fffb15e) to Test(test_queue) with arguments: "s"
14352
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Enqueued BatchJob (Job ID: 625eb69f-158b-4afb-80cf-238b4b0a2d68) to Test(test_queue) with arguments: "t"
14353
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: dd039f8a-0540-4663-9be4-594b67c6132b) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14354
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [72218935-7b5d-4f53-a854-577769a3e220] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:29:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14355
+ ------------------------------------------------------------------------
14356
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
14357
+ ------------------------------------------------------------------------
14358
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14359
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Enqueued BatchJob (Job ID: 7609aed2-35b1-4d72-b1ea-f7523bf581bf) to Test(test_queue) with arguments: "t"
14360
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Enqueued BatchJob (Job ID: 630c75e0-10e1-4b0e-98ac-395b124bb788) to Test(test_queue) with arguments: "e"
14361
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Enqueued BatchJob (Job ID: 915a509b-09bb-4350-8de3-b1494c2da84c) to Test(test_queue) with arguments: "s"
14362
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Enqueued BatchJob (Job ID: f8b220a3-291c-458d-b965-97cbc38ccc93) to Test(test_queue) with arguments: "t"
14363
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 0ba7b0f5-6f8b-4fc1-8eec-bd0a6e93c9a9) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14364
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ea3654f9-d933-4ea2-bf22-e52e4f148608] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:35:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14365
+ ------------------------------------------------------------------------------
14366
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
14367
+ ------------------------------------------------------------------------------
14368
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Could not log "perform_start.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:71:in `block in perform_start'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:69:in `perform_start'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:21:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14369
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Enqueued BatchJob (Job ID: 1b9f80a6-77f4-4c71-a5e9-94f408240dc8) to Test(test_queue) with arguments: "t"
14370
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Enqueued BatchJob (Job ID: 7b4d2cd4-b562-43de-a929-03c46bdc776a) to Test(test_queue) with arguments: "e"
14371
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Enqueued BatchJob (Job ID: 84a35918-5c00-4cd7-a305-b9126a3f231c) to Test(test_queue) with arguments: "s"
14372
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Enqueued BatchJob (Job ID: d97f76d8-7a27-4a7d-bbd6-b9ec5120076f) to Test(test_queue) with arguments: "t"
14373
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 55894c89-b761-4876-8235-47842a75628e) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14374
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [d594008d-9106-4a5f-9117-7118bc5ae251] Could not log "perform.active_job" event. NoMethodError: undefined method `new' for "BatchJob":String ["/Users/adrien/workspace/active_batch/app/jobs/active_batch/batch_scheduler_job.rb:6:in `block in <class:BatchSchedulerJob>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/queue_name.rb:45:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:84:in `queue_name'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:78:in `block in perform'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:376:in `add'", "/Users/adrien/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/2.0.0/logger.rb:438:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:93:in `info'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:76:in `perform'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/subscriber.rb:100:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/log_subscriber.rb:83:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:102:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `block in finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/fanout.rb:46:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:36:in `finish'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:25:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:16:in `perform_now'", "/Users/adrien/workspace/active_batch/test/jobs/active_batch/batch_scheduler_job_test.rb:12:in `block in <class:BatchSchedulerJobTest>'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'", "/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"]
14375
+ --------------------------------------------------------------------
14376
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
14377
+ --------------------------------------------------------------------
14378
+ ---------------------------------------------------
14379
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
14380
+ ---------------------------------------------------
14381
+ --------------------------------------------------------------------
14382
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
14383
+ --------------------------------------------------------------------
14384
+ ----------------------------------------------------------------------------------
14385
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
14386
+ ----------------------------------------------------------------------------------
14387
+ [ActiveJob] [RescueJob] [0509ecf0-d1b9-4353-b77a-1455925d6f81] Performing RescueJob from Test(test_queue)
14388
+ [ActiveJob] [RescueJob] [0509ecf0-d1b9-4353-b77a-1455925d6f81] Performed RescueJob from Test(test_queue) in 1.51ms
14389
+ ---------------------------------------------------------------
14390
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
14391
+ ---------------------------------------------------------------
14392
+ [ActiveJob] [BatchJob] [409eb2d7-983d-4716-b11f-5451782fd304] Performing BatchJob from Test(test_queue) with arguments: "test"
14393
+ [ActiveJob] [BatchJob] [409eb2d7-983d-4716-b11f-5451782fd304] Performed BatchJob from Test(test_queue) in 0.12ms
14394
+ ---------------------------
14395
+ ActiveBatchTest: test_truth
14396
+ ---------------------------
14397
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14398
+  (0.1ms) begin transaction
14399
+ Fixture Delete (0.6ms) DELETE FROM "active_batch_batches"
14400
+ Fixture Insert (0.5ms) INSERT INTO "active_batch_batches" ("job_class", "arguments", "created_at", "updated_at", "id") VALUES ('BatchJob', '["test"]', '2015-09-29 08:27:50', '2015-09-29 08:27:50', 980190962)
14401
+ Fixture Delete (0.1ms) DELETE FROM "active_batch_work_units"
14402
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "status", "created_at", "updated_at", "id") VALUES ('1234', 0, '2015-09-29 08:27:50', '2015-09-29 08:27:50', 980190962)
14403
+  (0.7ms) commit transaction
14404
+  (0.0ms) begin transaction
14405
+ ----------------------------------------------------------
14406
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
14407
+ ----------------------------------------------------------
14408
+ ActiveBatch::Batch Load (0.2ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14409
+ Processing by ActiveBatch::BatchesController#show as HTML
14410
+ Parameters: {"id"=>"980190962"}
14411
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14412
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
14413
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (10.7ms)
14414
+ Completed 200 OK in 18ms (Views: 16.3ms | ActiveRecord: 0.2ms)
14415
+  (0.1ms) rollback transaction
14416
+  (0.0ms) begin transaction
14417
+ -------------------------------------------------------
14418
+ ActiveBatch::BatchesControllerTest: test_should_get_new
14419
+ -------------------------------------------------------
14420
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14421
+ Processing by ActiveBatch::BatchesController#new as HTML
14422
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (40.6ms)
14423
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (44.2ms)
14424
+ Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms)
14425
+  (0.1ms) rollback transaction
14426
+  (0.0ms) begin transaction
14427
+ ---------------------------------------------------------
14428
+ ActiveBatch::BatchesControllerTest: test_should_get_index
14429
+ ---------------------------------------------------------
14430
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14431
+ Processing by ActiveBatch::BatchesController#index as HTML
14432
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches"
14433
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (1.6ms)
14434
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.1ms)
14435
+  (0.0ms) rollback transaction
14436
+  (0.0ms) begin transaction
14437
+ -------------------------------------------------------------
14438
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
14439
+ -------------------------------------------------------------
14440
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14441
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14442
+ Processing by ActiveBatch::BatchesController#destroy as HTML
14443
+ Parameters: {"id"=>"980190962"}
14444
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14445
+  (0.0ms) SAVEPOINT active_record_1
14446
+ SQL (0.2ms) DELETE FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? [["id", 980190962]]
14447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14448
+ Redirected to http://test.host/activejob_batch/batches
14449
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
14450
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14451
+  (0.3ms) rollback transaction
14452
+  (0.0ms) begin transaction
14453
+ ------------------------------------------------------------
14454
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
14455
+ ------------------------------------------------------------
14456
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14457
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14458
+ Processing by ActiveBatch::BatchesController#create as HTML
14459
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
14460
+  (0.0ms) SAVEPOINT active_record_1
14461
+ SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "created_at", "updated_at") VALUES (?, ?, ?) [["job_class", "BatchJob"], ["created_at", "2015-09-29 08:27:50.497412"], ["updated_at", "2015-09-29 08:27:50.497412"]]
14462
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14463
+ Redirected to http://test.host/activejob_batch/batches/980190963
14464
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14465
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14466
+  (0.3ms) rollback transaction
14467
+  (0.0ms) begin transaction
14468
+ ---------------------------------------------------
14469
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
14470
+ ---------------------------------------------------
14471
+  (0.0ms) rollback transaction
14472
+  (0.0ms) begin transaction
14473
+ --------------------------------------------------------------------
14474
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
14475
+ --------------------------------------------------------------------
14476
+  (0.0ms) SAVEPOINT active_record_1
14477
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "a5383eca-250b-42b3-926a-38e0bd70ce2f"], ["created_at", "2015-09-29 08:27:50.507855"], ["updated_at", "2015-09-29 08:27:50.507855"]]
14478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14479
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "a5383eca-250b-42b3-926a-38e0bd70ce2f"]]
14480
+  (0.0ms) SAVEPOINT active_record_1
14481
+ SQL (1.0ms) UPDATE "active_batch_work_units" SET "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["work_result", "blah"], ["updated_at", "2015-09-29 08:27:50.509785"], ["id", 980190963]]
14482
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14483
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
14484
+  (0.6ms) rollback transaction
14485
+  (0.0ms) begin transaction
14486
+ ----------------------------------------------------------------------------------
14487
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
14488
+ ----------------------------------------------------------------------------------
14489
+  (0.0ms) SAVEPOINT active_record_1
14490
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "c5f84faf-107e-423f-8cad-1c89598037cc"], ["created_at", "2015-09-29 08:27:50.513786"], ["updated_at", "2015-09-29 08:27:50.513786"]]
14491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14492
+ [ActiveJob] [RescueJob] [c5f84faf-107e-423f-8cad-1c89598037cc] Performing RescueJob from Test(test_queue)
14493
+ [ActiveJob] [RescueJob] [c5f84faf-107e-423f-8cad-1c89598037cc] ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "c5f84faf-107e-423f-8cad-1c89598037cc"]]
14494
+ [ActiveJob] [RescueJob] [c5f84faf-107e-423f-8cad-1c89598037cc]  (0.0ms) SAVEPOINT active_record_1
14495
+ [ActiveJob] [RescueJob] [c5f84faf-107e-423f-8cad-1c89598037cc] SQL (0.2ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:27:50.515337"], ["id", 980190963]]
14496
+ [ActiveJob] [RescueJob] [c5f84faf-107e-423f-8cad-1c89598037cc]  (0.0ms) RELEASE SAVEPOINT active_record_1
14497
+ [ActiveJob] [RescueJob] [c5f84faf-107e-423f-8cad-1c89598037cc] Performed RescueJob from Test(test_queue) in 1.52ms
14498
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "c5f84faf-107e-423f-8cad-1c89598037cc"]]
14499
+  (0.0ms) SAVEPOINT active_record_1
14500
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 3], ["work_result", "StandardError\n/Users/adrien/workspace/active_batch/test/jobs/rescue_job.rb:7:in `perform'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:32:in `block in perform_now'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'\n/Users/adrien/workspace/active_batch/test/lib/active_batch/batched_job_test.rb:18:in `block in <class:BatchedJobTest>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"], ["updated_at", "2015-09-29 08:27:50.516894"], ["id", 980190963]]
14501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14502
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
14503
+  (0.5ms) rollback transaction
14504
+  (0.0ms) begin transaction
14505
+ ---------------------------------------------------------------
14506
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
14507
+ ---------------------------------------------------------------
14508
+ [ActiveJob] [BatchJob] [940b05f3-2c28-481f-8f66-e183fa7023d4] Performing BatchJob from Test(test_queue) with arguments: "test"
14509
+ [ActiveJob] [BatchJob] [940b05f3-2c28-481f-8f66-e183fa7023d4] Performed BatchJob from Test(test_queue) in 0.17ms
14510
+  (0.0ms) rollback transaction
14511
+  (0.0ms) begin transaction
14512
+ ---------------------------
14513
+ ActiveBatchTest: test_truth
14514
+ ---------------------------
14515
+  (0.0ms) rollback transaction
14516
+  (0.0ms) begin transaction
14517
+ ------------------------------------------------------------------------------
14518
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
14519
+ ------------------------------------------------------------------------------
14520
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14521
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) SAVEPOINT active_record_1
14522
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "8b6deedc-6da9-418a-95d2-f2fbaebc8db7"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:27:50.524066"], ["updated_at", "2015-09-29 08:27:50.524066"]]
14523
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.1ms) RELEASE SAVEPOINT active_record_1
14524
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) SAVEPOINT active_record_1
14525
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] SQL (0.4ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "e70eb7f5-92f4-4409-8af8-6acd8dcab40d"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.528671"], ["updated_at", "2015-09-29 08:27:50.528671"]]
14526
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.1ms) RELEASE SAVEPOINT active_record_1
14527
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Enqueued BatchJob (Job ID: e70eb7f5-92f4-4409-8af8-6acd8dcab40d) to Test(test_queue) with arguments: "t"
14528
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) SAVEPOINT active_record_1
14529
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "bbd4cf15-9238-4ea3-97bb-709deaeb32c8"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.531853"], ["updated_at", "2015-09-29 08:27:50.531853"]]
14530
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14531
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Enqueued BatchJob (Job ID: bbd4cf15-9238-4ea3-97bb-709deaeb32c8) to Test(test_queue) with arguments: "e"
14532
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) SAVEPOINT active_record_1
14533
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "2da35367-e7a9-442a-942f-d0b70e9d4311"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.533434"], ["updated_at", "2015-09-29 08:27:50.533434"]]
14534
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14535
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Enqueued BatchJob (Job ID: 2da35367-e7a9-442a-942f-d0b70e9d4311) to Test(test_queue) with arguments: "s"
14536
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) SAVEPOINT active_record_1
14537
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "733dee7b-9fcc-4b59-8923-df7037a5e4b0"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.534778"], ["updated_at", "2015-09-29 08:27:50.534778"]]
14538
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7]  (0.0ms) RELEASE SAVEPOINT active_record_1
14539
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Enqueued BatchJob (Job ID: 733dee7b-9fcc-4b59-8923-df7037a5e4b0) to Test(test_queue) with arguments: "t"
14540
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 6e4d0e1c-f74e-4b38-a155-cbd0390755db) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14541
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [8b6deedc-6da9-418a-95d2-f2fbaebc8db7] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 13.43ms
14542
+  (0.6ms) rollback transaction
14543
+  (0.0ms) begin transaction
14544
+ ------------------------------------------------------
14545
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
14546
+ ------------------------------------------------------
14547
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units"
14548
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14549
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) SAVEPOINT active_record_1
14550
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "dd8d3102-fdf8-4081-b656-a14016773ee5"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:27:50.539259"], ["updated_at", "2015-09-29 08:27:50.539259"]]
14551
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.1ms) RELEASE SAVEPOINT active_record_1
14552
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) SAVEPOINT active_record_1
14553
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] SQL (0.3ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "4d604c79-4a01-48c1-ae64-63ef4d804d09"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.541747"], ["updated_at", "2015-09-29 08:27:50.541747"]]
14554
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) RELEASE SAVEPOINT active_record_1
14555
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Enqueued BatchJob (Job ID: 4d604c79-4a01-48c1-ae64-63ef4d804d09) to Test(test_queue) with arguments: "t"
14556
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) SAVEPOINT active_record_1
14557
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "8363edf9-6d4a-4adb-8f88-a433a19bea59"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.543929"], ["updated_at", "2015-09-29 08:27:50.543929"]]
14558
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) RELEASE SAVEPOINT active_record_1
14559
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Enqueued BatchJob (Job ID: 8363edf9-6d4a-4adb-8f88-a433a19bea59) to Test(test_queue) with arguments: "e"
14560
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) SAVEPOINT active_record_1
14561
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "55ce3a42-6fa2-485f-96b2-814f6b0496cc"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.545351"], ["updated_at", "2015-09-29 08:27:50.545351"]]
14562
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) RELEASE SAVEPOINT active_record_1
14563
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Enqueued BatchJob (Job ID: 55ce3a42-6fa2-485f-96b2-814f6b0496cc) to Test(test_queue) with arguments: "s"
14564
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) SAVEPOINT active_record_1
14565
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "16a20cc7-0c0e-4691-afc9-5bcbb67acfd8"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.546659"], ["updated_at", "2015-09-29 08:27:50.546659"]]
14566
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5]  (0.0ms) RELEASE SAVEPOINT active_record_1
14567
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Enqueued BatchJob (Job ID: 16a20cc7-0c0e-4691-afc9-5bcbb67acfd8) to Test(test_queue) with arguments: "t"
14568
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 0e1c5ca9-f165-4752-ad65-e62d4dd11330) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14569
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [dd8d3102-fdf8-4081-b656-a14016773ee5] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.94ms
14570
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_work_units"
14571
+  (0.6ms) rollback transaction
14572
+  (0.0ms) begin transaction
14573
+ -------------------------------------------------------------
14574
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
14575
+ -------------------------------------------------------------
14576
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14577
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) SAVEPOINT active_record_1
14578
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "50d63cbf-822f-46c6-a486-5ab22f979c1d"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:27:50.549576"], ["updated_at", "2015-09-29 08:27:50.549576"]]
14579
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) RELEASE SAVEPOINT active_record_1
14580
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) SAVEPOINT active_record_1
14581
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "8a5b069d-d70a-46a4-b5eb-150cf65f2cc4"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.551629"], ["updated_at", "2015-09-29 08:27:50.551629"]]
14582
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) RELEASE SAVEPOINT active_record_1
14583
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Enqueued BatchJob (Job ID: 8a5b069d-d70a-46a4-b5eb-150cf65f2cc4) to Test(test_queue) with arguments: "t"
14584
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) SAVEPOINT active_record_1
14585
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "31759f30-a75f-47d5-811a-d3b302239698"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.553889"], ["updated_at", "2015-09-29 08:27:50.553889"]]
14586
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) RELEASE SAVEPOINT active_record_1
14587
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Enqueued BatchJob (Job ID: 31759f30-a75f-47d5-811a-d3b302239698) to Test(test_queue) with arguments: "e"
14588
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) SAVEPOINT active_record_1
14589
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "37c0b7a5-49ee-4d97-882a-d4a3c32b5d0f"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.555296"], ["updated_at", "2015-09-29 08:27:50.555296"]]
14590
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) RELEASE SAVEPOINT active_record_1
14591
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Enqueued BatchJob (Job ID: 37c0b7a5-49ee-4d97-882a-d4a3c32b5d0f) to Test(test_queue) with arguments: "s"
14592
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) SAVEPOINT active_record_1
14593
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "e53b6e1e-2692-4cb4-aef5-ff99038f99a5"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.556585"], ["updated_at", "2015-09-29 08:27:50.556585"]]
14594
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d]  (0.0ms) RELEASE SAVEPOINT active_record_1
14595
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Enqueued BatchJob (Job ID: e53b6e1e-2692-4cb4-aef5-ff99038f99a5) to Test(test_queue) with arguments: "t"
14596
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: fe32fd5c-700b-4d65-b06a-1f80c0ccd702) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14597
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [50d63cbf-822f-46c6-a486-5ab22f979c1d] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.45ms
14598
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."job_id" = ? LIMIT 1 [["job_id", "50d63cbf-822f-46c6-a486-5ab22f979c1d"]]
14599
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190963]]
14600
+  (0.5ms) rollback transaction
14601
+  (0.0ms) begin transaction
14602
+ ------------------------------------------------------------------------
14603
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
14604
+ ------------------------------------------------------------------------
14605
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14606
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) SAVEPOINT active_record_1
14607
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "83187d90-5192-4c13-8daf-e1ea5850adf8"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:27:50.560265"], ["updated_at", "2015-09-29 08:27:50.560265"]]
14608
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) RELEASE SAVEPOINT active_record_1
14609
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) SAVEPOINT active_record_1
14610
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "7ef56776-0d31-404b-882f-2652784b7fd5"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.562246"], ["updated_at", "2015-09-29 08:27:50.562246"]]
14611
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) RELEASE SAVEPOINT active_record_1
14612
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Enqueued BatchJob (Job ID: 7ef56776-0d31-404b-882f-2652784b7fd5) to Test(test_queue) with arguments: "t"
14613
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) SAVEPOINT active_record_1
14614
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "e88f938e-923e-4861-87b2-b0dd9a04d21b"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.564274"], ["updated_at", "2015-09-29 08:27:50.564274"]]
14615
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) RELEASE SAVEPOINT active_record_1
14616
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Enqueued BatchJob (Job ID: e88f938e-923e-4861-87b2-b0dd9a04d21b) to Test(test_queue) with arguments: "e"
14617
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) SAVEPOINT active_record_1
14618
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "108d4919-aeeb-4be4-bd5f-07ac46d0d584"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.565619"], ["updated_at", "2015-09-29 08:27:50.565619"]]
14619
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) RELEASE SAVEPOINT active_record_1
14620
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Enqueued BatchJob (Job ID: 108d4919-aeeb-4be4-bd5f-07ac46d0d584) to Test(test_queue) with arguments: "s"
14621
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) SAVEPOINT active_record_1
14622
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "701a86b2-5330-40e4-b194-cbfda74489a3"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.567035"], ["updated_at", "2015-09-29 08:27:50.567035"]]
14623
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8]  (0.0ms) RELEASE SAVEPOINT active_record_1
14624
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Enqueued BatchJob (Job ID: 701a86b2-5330-40e4-b194-cbfda74489a3) to Test(test_queue) with arguments: "t"
14625
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: e15ccf5e-f765-4681-ab54-37f1f96ee154) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14626
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [83187d90-5192-4c13-8daf-e1ea5850adf8] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.32ms
14627
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."job_id" = ? LIMIT 1 [["job_id", "83187d90-5192-4c13-8daf-e1ea5850adf8"]]
14628
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? AND "active_batch_work_units"."status" = ? [["active_batch_batches_id", 980190963], ["status", 0]]
14629
+  (0.5ms) rollback transaction
14630
+  (0.1ms) begin transaction
14631
+ ---------------------------------------------------------------------------
14632
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
14633
+ ---------------------------------------------------------------------------
14634
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: 93d6c07b-a471-4469-bb7b-a168f8db8a12) to Test(test_queue) with arguments: "BatchJob"
14635
+  (0.0ms) rollback transaction
14636
+  (0.1ms) begin transaction
14637
+ -----------------------------------------------------------
14638
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
14639
+ -----------------------------------------------------------
14640
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14641
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14642
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) SAVEPOINT active_record_1
14643
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "job_id", "arguments", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_class", "BatchJob"], ["job_id", "c2bda6d2-00ff-41de-b58e-e2ff37f9dea6"], ["arguments", "[\"test\"]"], ["created_at", "2015-09-29 08:27:50.572552"], ["updated_at", "2015-09-29 08:27:50.572552"]]
14644
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) RELEASE SAVEPOINT active_record_1
14645
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) SAVEPOINT active_record_1
14646
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] SQL (0.3ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "842897ee-a0a7-417a-9232-a500f78c2091"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.575037"], ["updated_at", "2015-09-29 08:27:50.575037"]]
14647
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) RELEASE SAVEPOINT active_record_1
14648
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Enqueued BatchJob (Job ID: 842897ee-a0a7-417a-9232-a500f78c2091) to Test(test_queue) with arguments: "t"
14649
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) SAVEPOINT active_record_1
14650
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "9a8a99ea-23e0-40c9-93bc-fe61ccd831df"], ["arguments", "[\"e\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.577113"], ["updated_at", "2015-09-29 08:27:50.577113"]]
14651
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) RELEASE SAVEPOINT active_record_1
14652
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Enqueued BatchJob (Job ID: 9a8a99ea-23e0-40c9-93bc-fe61ccd831df) to Test(test_queue) with arguments: "e"
14653
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) SAVEPOINT active_record_1
14654
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "3243037d-d1d9-48a5-a04c-4aab0dfaaf40"], ["arguments", "[\"s\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.578446"], ["updated_at", "2015-09-29 08:27:50.578446"]]
14655
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) RELEASE SAVEPOINT active_record_1
14656
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Enqueued BatchJob (Job ID: 3243037d-d1d9-48a5-a04c-4aab0dfaaf40) to Test(test_queue) with arguments: "s"
14657
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) SAVEPOINT active_record_1
14658
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] SQL (0.0ms) INSERT INTO "active_batch_work_units" ("job_id", "arguments", "active_batch_batches_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["job_id", "6746e0e5-3775-4b3d-8862-79406747f80e"], ["arguments", "[\"t\"]"], ["active_batch_batches_id", 980190963], ["created_at", "2015-09-29 08:27:50.579745"], ["updated_at", "2015-09-29 08:27:50.579745"]]
14659
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6]  (0.0ms) RELEASE SAVEPOINT active_record_1
14660
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Enqueued BatchJob (Job ID: 6746e0e5-3775-4b3d-8862-79406747f80e) to Test(test_queue) with arguments: "t"
14661
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: b357685a-6dd8-4e9c-b6b0-9121bba7a546) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14662
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [c2bda6d2-00ff-41de-b58e-e2ff37f9dea6] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.94ms
14663
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14664
+  (0.7ms) rollback transaction
14665
+  (0.0ms) begin transaction
14666
+ ----------------------------------------------------------------
14667
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
14668
+ ----------------------------------------------------------------
14669
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
14670
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
14671
+ Parameters: {"id"=>"980190962"}
14672
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
14673
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (0.6ms)
14674
+ Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
14675
+  (0.1ms) rollback transaction
14676
+  (0.0ms) begin transaction
14677
+ -----------------------------------------------------------
14678
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
14679
+ -----------------------------------------------------------
14680
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
14681
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
14682
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units"
14683
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (1.8ms)
14684
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.1ms)
14685
+  (0.1ms) rollback transaction
14686
+  (0.0ms) begin transaction
14687
+ -------------------------------------------------------------------
14688
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
14689
+ -------------------------------------------------------------------
14690
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
14691
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_work_units"
14692
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
14693
+ Parameters: {"id"=>"980190962"}
14694
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190962]]
14695
+  (0.0ms) SAVEPOINT active_record_1
14696
+ SQL (0.2ms) DELETE FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? [["id", 980190962]]
14697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14698
+ Redirected to http://test.host/activejob_batch/work_units
14699
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
14700
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_work_units"
14701
+  (0.4ms) rollback transaction
14702
+  (0.0ms) begin transaction
14703
+ --------------------------------------------------------------------
14704
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
14705
+ --------------------------------------------------------------------
14706
+  (0.0ms) SAVEPOINT active_record_1
14707
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 2], ["created_at", "2015-09-29 08:27:50.601329"], ["updated_at", "2015-09-29 08:27:50.601329"]]
14708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14709
+  (0.0ms) SAVEPOINT active_record_1
14710
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 1], ["created_at", "2015-09-29 08:27:50.602503"], ["updated_at", "2015-09-29 08:27:50.602503"]]
14711
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14712
+  (0.0ms) SAVEPOINT active_record_1
14713
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-29 08:27:50.603615"], ["updated_at", "2015-09-29 08:27:50.603615"]]
14714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14715
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14716
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14717
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14718
+  (0.5ms) rollback transaction
14719
+  (0.0ms) begin transaction
14720
+ -----------------------------------------------------------------------------
14721
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
14722
+ -----------------------------------------------------------------------------
14723
+ ----------------------------------------------------------------------------------
14724
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
14725
+ ----------------------------------------------------------------------------------
14726
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [3fb8d966-92c1-4cc5-8892-26cc5cb19ffb] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14727
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [3fb8d966-92c1-4cc5-8892-26cc5cb19ffb] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 5228308d-fe9a-4ad9-8a39-db826f5fe6b9) to Test(test_queue) at 2015-09-29 08:28:50 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
14728
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [3fb8d966-92c1-4cc5-8892-26cc5cb19ffb] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 7.48ms
14729
+ -------------------------------------------------------------------------------------------
14730
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
14731
+ -------------------------------------------------------------------------------------------
14732
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [b06e341a-33a5-4450-ac90-9bfa45084353] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14733
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [b06e341a-33a5-4450-ac90-9bfa45084353] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 3.47ms
14734
+ ---------------------------------------------------------------------------------------
14735
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
14736
+ ---------------------------------------------------------------------------------------
14737
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [983e63ee-75e8-426d-88f4-7ec53aba900d] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14738
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [983e63ee-75e8-426d-88f4-7ec53aba900d] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: df71d60e-2a2e-41bd-9398-543384c86f42) to Test(test_queue) at 2015-09-29 08:28:50 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
14739
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [983e63ee-75e8-426d-88f4-7ec53aba900d] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.7ms
14740
+ ------------------------------------------------------------------------------------------------
14741
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
14742
+ ------------------------------------------------------------------------------------------------
14743
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [934d8402-465a-41d9-86c2-6b261bf1f48b] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14744
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [934d8402-465a-41d9-86c2-6b261bf1f48b] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 4.21ms
14745
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
14746
+  (0.1ms) begin transaction
14747
+ --------------------------------------------------------------------
14748
+ ActiveBatch::JobTest: test_not_done_scope_returns_work_unit_not_done
14749
+ --------------------------------------------------------------------
14750
+  (0.0ms) SAVEPOINT active_record_1
14751
+ SQL (2.2ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 2], ["created_at", "2015-09-29 08:28:17.628401"], ["updated_at", "2015-09-29 08:28:17.628401"]]
14752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14753
+  (0.0ms) SAVEPOINT active_record_1
14754
+ SQL (0.9ms) INSERT INTO "active_batch_work_units" ("status", "created_at", "updated_at") VALUES (?, ?, ?) [["status", 1], ["created_at", "2015-09-29 08:28:17.633794"], ["updated_at", "2015-09-29 08:28:17.633794"]]
14755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14756
+  (0.0ms) SAVEPOINT active_record_1
14757
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-09-29 08:28:17.635865"], ["updated_at", "2015-09-29 08:28:17.635865"]]
14758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14759
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14760
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14761
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE ("active_batch_work_units"."status" != ?) [["status", 2]]
14762
+  (10.0ms) rollback transaction
14763
+  (0.1ms) begin transaction
14764
+ Fixture Delete (2.7ms) DELETE FROM "active_batch_batches"
14765
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_batches" ("job_class", "arguments", "created_at", "updated_at", "id") VALUES ('BatchJob', '["test"]', '2015-09-29 08:28:17', '2015-09-29 08:28:17', 980190962)
14766
+ Fixture Delete (0.1ms) DELETE FROM "active_batch_work_units"
14767
+ Fixture Insert (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "status", "created_at", "updated_at", "id") VALUES ('1234', 0, '2015-09-29 08:28:17', '2015-09-29 08:28:17', 980190962)
14768
+  (0.6ms) commit transaction
14769
+  (0.0ms) begin transaction
14770
+ ------------------------------------------------------------
14771
+ ActiveBatch::BatchesControllerTest: test_should_create_batch
14772
+ ------------------------------------------------------------
14773
+ ActiveBatch::Batch Load (0.2ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14774
+  (0.1ms) SELECT COUNT(*) FROM "active_batch_batches"
14775
+ Processing by ActiveBatch::BatchesController#create as HTML
14776
+ Parameters: {"batch"=>{"job_class"=>"BatchJob"}}
14777
+  (0.1ms) SAVEPOINT active_record_1
14778
+ SQL (0.2ms) INSERT INTO "active_batch_batches" ("job_class", "created_at", "updated_at") VALUES (?, ?, ?) [["job_class", "BatchJob"], ["created_at", "2015-09-29 08:28:17.749006"], ["updated_at", "2015-09-29 08:28:17.749006"]]
14779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14780
+ Redirected to http://test.host/activejob_batch/batches/980190963
14781
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
14782
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14783
+  (0.3ms) rollback transaction
14784
+  (0.0ms) begin transaction
14785
+ -------------------------------------------------------------
14786
+ ActiveBatch::BatchesControllerTest: test_should_destroy_batch
14787
+ -------------------------------------------------------------
14788
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14789
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14790
+ Processing by ActiveBatch::BatchesController#destroy as HTML
14791
+ Parameters: {"id"=>"980190962"}
14792
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14793
+  (0.0ms) SAVEPOINT active_record_1
14794
+ SQL (0.2ms) DELETE FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? [["id", 980190962]]
14795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14796
+ Redirected to http://test.host/activejob_batch/batches
14797
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
14798
+  (0.0ms) SELECT COUNT(*) FROM "active_batch_batches"
14799
+  (0.3ms) rollback transaction
14800
+  (0.0ms) begin transaction
14801
+ ----------------------------------------------------------
14802
+ ActiveBatch::BatchesControllerTest: test_should_show_batch
14803
+ ----------------------------------------------------------
14804
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14805
+ Processing by ActiveBatch::BatchesController#show as HTML
14806
+ Parameters: {"id"=>"980190962"}
14807
+ ActiveBatch::Batch Load (0.0ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14808
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."active_batch_batches_id" = ? [["active_batch_batches_id", 980190962]]
14809
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/show.html.erb (10.6ms)
14810
+ Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.2ms)
14811
+  (0.0ms) rollback transaction
14812
+  (0.0ms) begin transaction
14813
+ ---------------------------------------------------------
14814
+ ActiveBatch::BatchesControllerTest: test_should_get_index
14815
+ ---------------------------------------------------------
14816
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14817
+ Processing by ActiveBatch::BatchesController#index as HTML
14818
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches"
14819
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/index.html.erb (1.6ms)
14820
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.1ms)
14821
+  (0.0ms) rollback transaction
14822
+  (0.0ms) begin transaction
14823
+ -------------------------------------------------------
14824
+ ActiveBatch::BatchesControllerTest: test_should_get_new
14825
+ -------------------------------------------------------
14826
+ ActiveBatch::Batch Load (0.1ms) SELECT "active_batch_batches".* FROM "active_batch_batches" WHERE "active_batch_batches"."id" = ? LIMIT 1 [["id", 980190962]]
14827
+ Processing by ActiveBatch::BatchesController#new as HTML
14828
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/_form.html.erb (39.7ms)
14829
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/batches/new.html.erb (43.2ms)
14830
+ Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms)
14831
+  (0.1ms) rollback transaction
14832
+  (0.0ms) begin transaction
14833
+ ---------------------------------------------------
14834
+ ActiveBatch::BatchedJobTest: test_can_perform_batch
14835
+ ---------------------------------------------------
14836
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: 45bfe9ed-980a-4000-9c1a-5081880c772e) to Test(test_queue) with arguments: "BatchJob", 1, 2
14837
+  (0.0ms) rollback transaction
14838
+  (0.0ms) begin transaction
14839
+ ----------------------------------------------------------------------------------
14840
+ ActiveBatch::BatchedJobTest: test_sets_status_to_failed_on_exception_when_in_batch
14841
+ ----------------------------------------------------------------------------------
14842
+  (0.0ms) SAVEPOINT active_record_1
14843
+ SQL (0.2ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "bd46a748-bf2f-4bc2-9b6f-97c1735f999b"], ["created_at", "2015-09-29 08:28:17.831504"], ["updated_at", "2015-09-29 08:28:17.831504"]]
14844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14845
+ [ActiveJob] [RescueJob] [bd46a748-bf2f-4bc2-9b6f-97c1735f999b] Performing RescueJob from Test(test_queue)
14846
+ [ActiveJob] [RescueJob] [bd46a748-bf2f-4bc2-9b6f-97c1735f999b] ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "bd46a748-bf2f-4bc2-9b6f-97c1735f999b"]]
14847
+ [ActiveJob] [RescueJob] [bd46a748-bf2f-4bc2-9b6f-97c1735f999b]  (0.0ms) SAVEPOINT active_record_1
14848
+ [ActiveJob] [RescueJob] [bd46a748-bf2f-4bc2-9b6f-97c1735f999b] SQL (0.3ms) UPDATE "active_batch_work_units" SET "status" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 1], ["updated_at", "2015-09-29 08:28:17.833619"], ["id", 980190963]]
14849
+ [ActiveJob] [RescueJob] [bd46a748-bf2f-4bc2-9b6f-97c1735f999b]  (0.0ms) RELEASE SAVEPOINT active_record_1
14850
+ [ActiveJob] [RescueJob] [bd46a748-bf2f-4bc2-9b6f-97c1735f999b] Performed RescueJob from Test(test_queue) in 2.24ms
14851
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "bd46a748-bf2f-4bc2-9b6f-97c1735f999b"]]
14852
+  (0.0ms) SAVEPOINT active_record_1
14853
+ SQL (0.1ms) UPDATE "active_batch_work_units" SET "status" = ?, "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["status", 3], ["work_result", "StandardError\n/Users/adrien/workspace/active_batch/test/jobs/rescue_job.rb:7:in `perform'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:32:in `block in perform_now'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `block in tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:43:in `tag_logger'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `instance_exec'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:441:in `block in make_lambda'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:342:in `block in simple'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:497:in `block in around'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/activejob-4.2.4/lib/active_job/execution.rb:31:in `perform_now'\n/Users/adrien/workspace/active_batch/test/lib/active_batch/batched_job_test.rb:18:in `block in <class:BatchedJobTest>'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:108:in `block (3 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:205:in `capture_exceptions'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:105:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:256:in `time_it'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:104:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:276:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest/test.rb:103:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:781:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:308:in `run_one_method'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:296:in `block (2 levels) in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `each'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:295:in `block in run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:334:in `on_signal'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:321:in `with_info_handler'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:294:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `block in __run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `map'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:155:in `__run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:129:in `run'\n/Users/adrien/.rvm/gems/ruby-2.0.0-p195/gems/minitest-5.8.1/lib/minitest.rb:56:in `block in autorun'"], ["updated_at", "2015-09-29 08:28:17.835564"], ["id", 980190963]]
14854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14855
+ ActiveBatch::WorkUnit Load (0.1ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
14856
+  (0.5ms) rollback transaction
14857
+  (0.0ms) begin transaction
14858
+ --------------------------------------------------------------------
14859
+ ActiveBatch::BatchedJobTest: test_can_save_work_result_when_in_batch
14860
+ --------------------------------------------------------------------
14861
+  (0.0ms) SAVEPOINT active_record_1
14862
+ SQL (0.1ms) INSERT INTO "active_batch_work_units" ("job_id", "created_at", "updated_at") VALUES (?, ?, ?) [["job_id", "96c04a70-bd7d-4b0f-9ad7-b9fd482b3890"], ["created_at", "2015-09-29 08:28:17.838412"], ["updated_at", "2015-09-29 08:28:17.838412"]]
14863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14864
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."job_id" = ? LIMIT 1 [["job_id", "96c04a70-bd7d-4b0f-9ad7-b9fd482b3890"]]
14865
+  (0.0ms) SAVEPOINT active_record_1
14866
+ SQL (0.2ms) UPDATE "active_batch_work_units" SET "work_result" = ?, "updated_at" = ? WHERE "active_batch_work_units"."id" = ? [["work_result", "blah"], ["updated_at", "2015-09-29 08:28:17.839614"], ["id", 980190963]]
14867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14868
+ ActiveBatch::WorkUnit Load (0.0ms) SELECT "active_batch_work_units".* FROM "active_batch_work_units" WHERE "active_batch_work_units"."id" = ? LIMIT 1 [["id", 980190963]]
14869
+  (0.4ms) rollback transaction
14870
+  (0.0ms) begin transaction
14871
+ ---------------------------
14872
+ ActiveBatchTest: test_truth
14873
+ ---------------------------
14874
+  (0.0ms) rollback transaction
14875
+  (0.0ms) begin transaction
14876
+ -----------------------------------------------------------------------------
14877
+ ActiveBatch::WithActiveJobArgumentsTest: test_serializes_active_job_arguments
14878
+ -----------------------------------------------------------------------------
14879
+ ------------------------------------------------------------------------------------------------
14880
+ ActiveBatch::BatchStatusCheckJobTest: test_calls_after_batch_with_proper_args_when_batch_is_done
14881
+ ------------------------------------------------------------------------------------------------
14882
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [2638cf8c-6ea0-4b83-a00f-04bff8ed366b] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14883
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [2638cf8c-6ea0-4b83-a00f-04bff8ed366b] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 9.13ms
14884
+ ----------------------------------------------------------------------------------
14885
+ ActiveBatch::BatchStatusCheckJobTest: test_uses_the_same_queue_than_the_work_units
14886
+ ----------------------------------------------------------------------------------
14887
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ea5c43d1-5b64-4639-87b6-f976b5d25036] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14888
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ea5c43d1-5b64-4639-87b6-f976b5d25036] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 53f8a3e1-adf9-4fe1-b730-f17e9911cb36) to Test(test_queue) at 2015-09-29 08:29:17 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
14889
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [ea5c43d1-5b64-4639-87b6-f976b5d25036] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 1.53ms
14890
+ -------------------------------------------------------------------------------------------
14891
+ ActiveBatch::BatchStatusCheckJobTest: test_does_not_reenqueue_itself_later_if_batch_is_done
14892
+ -------------------------------------------------------------------------------------------
14893
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [95e423f4-2dc1-440f-8bc3-ada444bf18ae] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14894
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [95e423f4-2dc1-440f-8bc3-ada444bf18ae] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 3.89ms
14895
+ ---------------------------------------------------------------------------------------
14896
+ ActiveBatch::BatchStatusCheckJobTest: test_reenqueues_itself_later_if_batch_is_not_done
14897
+ ---------------------------------------------------------------------------------------
14898
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [b2f71f7b-2dc8-4fa7-a7c7-43f0510c1160] Performing ActiveBatch::BatchStatusCheckJob from Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190962
14899
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [b2f71f7b-2dc8-4fa7-a7c7-43f0510c1160] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 2c0cbe81-a182-4a46-ba4c-3b8f69889484) to Test(test_queue) at 2015-09-29 08:29:17 UTC with arguments: gid://dummy/ActiveBatch::Batch/980190962
14900
+ [ActiveJob] [ActiveBatch::BatchStatusCheckJob] [b2f71f7b-2dc8-4fa7-a7c7-43f0510c1160] Performed ActiveBatch::BatchStatusCheckJob from Test(test_queue) in 0.68ms
14901
+ -------------------------------------------------------------
14902
+ ActiveBatch::BatchSchedulerJobTest: test_batch_has_work_units
14903
+ -------------------------------------------------------------
14904
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14905
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Enqueued BatchJob (Job ID: efd92202-d421-4977-9bd8-86ccb78c267d) to Test(test_queue) with arguments: "t"
14906
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Enqueued BatchJob (Job ID: 3dae2bc1-085d-4fec-be79-55a9b66bd83d) to Test(test_queue) with arguments: "e"
14907
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Enqueued BatchJob (Job ID: c330e243-6ae6-43b9-b268-fcee4dc74a92) to Test(test_queue) with arguments: "s"
14908
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Enqueued BatchJob (Job ID: fdecd553-518b-4d03-838c-e4fa2bb3bced) to Test(test_queue) with arguments: "t"
14909
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 3b6f5e06-1233-479d-95f7-6d9122c344ea) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14910
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [ec8a1cf4-8039-4b06-ba9a-b9345e10af60] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.94ms
14911
+ ------------------------------------------------------------------------
14912
+ ActiveBatch::BatchSchedulerJobTest: test_work_units_have_enqueued_status
14913
+ ------------------------------------------------------------------------
14914
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14915
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Enqueued BatchJob (Job ID: d62ebd66-8395-45d4-8eee-e325d8732499) to Test(test_queue) with arguments: "t"
14916
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Enqueued BatchJob (Job ID: e975ebc7-71dd-4d04-925b-d48342501a79) to Test(test_queue) with arguments: "e"
14917
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Enqueued BatchJob (Job ID: e2ee76e9-c6f2-4b47-a1cf-dd3b46ff0b4f) to Test(test_queue) with arguments: "s"
14918
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Enqueued BatchJob (Job ID: 7d08ce54-3076-459e-acf8-8e981468576d) to Test(test_queue) with arguments: "t"
14919
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 463b3eb9-3a6e-41e3-9d62-2a739926b0e2) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14920
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [010e1a22-9035-4685-88ed-a1903e25c9dc] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.92ms
14921
+ ---------------------------------------------------------------------------
14922
+ ActiveBatch::BatchSchedulerJobTest: test_uses_same_queue_than_the_Batch_Job
14923
+ ---------------------------------------------------------------------------
14924
+ [ActiveJob] Enqueued ActiveBatch::BatchSchedulerJob (Job ID: b7cae046-abd2-482e-944c-42267811ae59) to Test(test_queue) with arguments: "BatchJob"
14925
+ ------------------------------------------------------
14926
+ ActiveBatch::BatchSchedulerJobTest: test_creates_batch
14927
+ ------------------------------------------------------
14928
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14929
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Enqueued BatchJob (Job ID: 46b2bc58-1fb6-4e97-969c-9bf7b1a84612) to Test(test_queue) with arguments: "t"
14930
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Enqueued BatchJob (Job ID: 308bf581-8cf4-499f-826f-0c1fd620ba1c) to Test(test_queue) with arguments: "e"
14931
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Enqueued BatchJob (Job ID: af4e60b1-dbf2-4f68-a438-8f029e9a0f9e) to Test(test_queue) with arguments: "s"
14932
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Enqueued BatchJob (Job ID: d1006d48-dc93-49b3-9ac3-f41cde829bd0) to Test(test_queue) with arguments: "t"
14933
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: af92e9cf-d4a7-4cae-a115-b472cd3a5137) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14934
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [112a5d0d-b811-4003-a32d-2ea60ba49107] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 9.16ms
14935
+ ------------------------------------------------------------------------------
14936
+ ActiveBatch::BatchSchedulerJobTest: test_enqueues_work_unit_jobs_and_check_job
14937
+ ------------------------------------------------------------------------------
14938
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14939
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Enqueued BatchJob (Job ID: ac49a552-965e-42d8-9255-ffd754cad231) to Test(test_queue) with arguments: "t"
14940
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Enqueued BatchJob (Job ID: 0d917c45-be38-4585-b67f-b377f0ea0e7f) to Test(test_queue) with arguments: "e"
14941
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Enqueued BatchJob (Job ID: c5d6483b-fe89-410a-a0b9-3b2b8ee994bf) to Test(test_queue) with arguments: "s"
14942
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Enqueued BatchJob (Job ID: eb95126e-643f-4f4e-aafb-f73b7e1d2035) to Test(test_queue) with arguments: "t"
14943
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 19bb698d-3576-456f-bad8-270a00ee9e1b) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14944
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [69acbe1f-ffb7-4fbb-9d21-ef35f7975729] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.44ms
14945
+ -----------------------------------------------------------
14946
+ ActiveBatch::BatchSchedulerJobTest: test_creates_work_units
14947
+ -----------------------------------------------------------
14948
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Performing ActiveBatch::BatchSchedulerJob from Test(test_queue) with arguments: "BatchJob", "test"
14949
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Enqueued BatchJob (Job ID: 43dcb209-dbe6-48eb-9eef-5f16e6ed9c3d) to Test(test_queue) with arguments: "t"
14950
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Enqueued BatchJob (Job ID: 222cc387-f391-4b43-baac-9c91596b7799) to Test(test_queue) with arguments: "e"
14951
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Enqueued BatchJob (Job ID: fffca32a-0f40-4c67-8cf2-4a476454158a) to Test(test_queue) with arguments: "s"
14952
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Enqueued BatchJob (Job ID: 40e11fce-62cc-4d25-8970-e49affe7e23f) to Test(test_queue) with arguments: "t"
14953
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Enqueued ActiveBatch::BatchStatusCheckJob (Job ID: 6b4dc534-1afc-43d7-8c3f-b1e1197fbdd3) to Test(test_queue) with arguments: gid://dummy/ActiveBatch::Batch/980190963
14954
+ [ActiveJob] [ActiveBatch::BatchSchedulerJob] [41ed08ce-8b4e-49f3-8c32-70fdb60a05d1] Performed ActiveBatch::BatchSchedulerJob from Test(test_queue) in 8.29ms
14955
+ -------------------------------------------------------------------
14956
+ ActiveBatch::WorkUnitsControllerTest: test_should_destroy_work_unit
14957
+ -------------------------------------------------------------------
14958
+ Processing by ActiveBatch::WorkUnitsController#destroy as HTML
14959
+ Parameters: {"id"=>"980190962"}
14960
+ Redirected to http://test.host/activejob_batch/work_units
14961
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
14962
+ ----------------------------------------------------------------
14963
+ ActiveBatch::WorkUnitsControllerTest: test_should_show_work_unit
14964
+ ----------------------------------------------------------------
14965
+ Processing by ActiveBatch::WorkUnitsController#show as HTML
14966
+ Parameters: {"id"=>"980190962"}
14967
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/show.html.erb (0.7ms)
14968
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
14969
+ -----------------------------------------------------------
14970
+ ActiveBatch::WorkUnitsControllerTest: test_should_get_index
14971
+ -----------------------------------------------------------
14972
+ Processing by ActiveBatch::WorkUnitsController#index as HTML
14973
+ Rendered /Users/adrien/workspace/active_batch/app/views/active_batch/work_units/index.html.erb (1.9ms)
14974
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.1ms)
14975
+ ---------------------------------------------------------------
14976
+ ActiveBatch::BatchJobTest: test_can_be_enqueued_outside_a_batch
14977
+ ---------------------------------------------------------------
14978
+ [ActiveJob] [BatchJob] [7be267f9-4ff8-4d0d-914b-50a785b7a592] Performing BatchJob from Test(test_queue) with arguments: "test"
14979
+ [ActiveJob] [BatchJob] [7be267f9-4ff8-4d0d-914b-50a785b7a592] Performed BatchJob from Test(test_queue) in 0.16ms