4ms en cola
16ms en ejecuci贸n
Exitoso
{
"job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"locale": "en",
"priority": 0,
"timezone": "UTC",
"arguments": [
"error_five_times"
],
"job_class": "ExampleJob",
"executions": 5,
"queue_name": "elephants",
"enqueued_at": "2025-01-14T03:59:46.465949861Z",
"scheduled_at": "2025-01-14T04:11:22.284646715Z",
"provider_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"exception_executions": {
"[StandardError]": 5
},
"_good_job_execution": {
"id": "c53af452-263f-4493-a10d-a538afb27f1c",
"created_at": "2025-01-14 04:11:22 UTC",
"updated_at": "2025-01-14 04:11:22 UTC",
"active_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"job_class": "ExampleJob",
"queue_name": "elephants",
"scheduled_at": "2025-01-14 04:11:22 UTC",
"finished_at": "2025-01-14 04:11:22 UTC",
"error": null,
"error_event": null,
"error_backtrace": null,
"process_id": "831ae1db-8ff7-4737-887f-3cbe140c1a74",
"duration": "0.016635"
}
}
14ms en cola
32ms en ejecuci贸n
Descartado
Error:
ExampleJob::ExpectedError: Executed 5 times.
-
-
app/jobs/example_job.rb:42:in `perform'
/app/demo/app/jobs/example_job.rb:42:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:286:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
"job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"locale": "en",
"priority": 0,
"timezone": "UTC",
"arguments": [
"error_five_times"
],
"job_class": "ExampleJob",
"executions": 4,
"queue_name": "elephants",
"enqueued_at": "2025-01-14T03:55:20.225314980Z",
"scheduled_at": "2025-01-14T03:59:46.441381470Z",
"provider_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"exception_executions": {
"[StandardError]": 4
},
"_good_job_execution": {
"id": "ff56b0ec-9771-4a7b-83a2-b2669da510ba",
"created_at": "2025-01-14 03:59:46 UTC",
"updated_at": "2025-01-14 03:59:46 UTC",
"active_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"job_class": "ExampleJob",
"queue_name": "elephants",
"scheduled_at": "2025-01-14 03:59:46 UTC",
"finished_at": "2025-01-14 03:59:46 UTC",
"error": "ExampleJob::ExpectedError: Executed 5 times.",
"error_event": "retried",
"error_backtrace": [
"/app/demo/app/jobs/example_job.rb:42:in `perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'",
"/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
"/app/lib/good_job/current_thread.rb:113:in `within'",
"/app/app/models/good_job/job.rb:562:in `block in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/app/models/good_job/batch.rb:80:in `within_thread'",
"/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/app/models/good_job/job.rb:556:in `perform'",
"/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
"/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
"/app/lib/good_job/job_performer.rb:35:in `block in next'",
"/app/lib/good_job/capsule_tracker.rb:94:in `register'",
"/app/lib/good_job/job_performer.rb:34:in `next'",
"/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/lib/good_job/scheduler.rb:286:in `block in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
"<internal:kernel>:187:in `loop'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
],
"process_id": "831ae1db-8ff7-4737-887f-3cbe140c1a74",
"duration": "0.032587"
}
}
4ms en cola
15ms en ejecuci贸n
Descartado
Error:
ExampleJob::ExpectedError: Executed 4 times.
-
-
app/jobs/example_job.rb:42:in `perform'
/app/demo/app/jobs/example_job.rb:42:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:286:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
"job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"locale": "en",
"priority": 0,
"timezone": "UTC",
"arguments": [
"error_five_times"
],
"job_class": "ExampleJob",
"executions": 3,
"queue_name": "elephants",
"enqueued_at": "2025-01-14T03:53:47.353827628Z",
"scheduled_at": "2025-01-14T03:55:20.211107556Z",
"provider_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"exception_executions": {
"[StandardError]": 3
},
"_good_job_execution": {
"id": "9b2c63f5-086e-408d-a5d0-ff5402068467",
"created_at": "2025-01-14 03:55:20 UTC",
"updated_at": "2025-01-14 03:55:20 UTC",
"active_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"job_class": "ExampleJob",
"queue_name": "elephants",
"scheduled_at": "2025-01-14 03:55:20 UTC",
"finished_at": "2025-01-14 03:55:20 UTC",
"error": "ExampleJob::ExpectedError: Executed 4 times.",
"error_event": "retried",
"error_backtrace": [
"/app/demo/app/jobs/example_job.rb:42:in `perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'",
"/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
"/app/lib/good_job/current_thread.rb:113:in `within'",
"/app/app/models/good_job/job.rb:562:in `block in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/app/models/good_job/batch.rb:80:in `within_thread'",
"/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/app/models/good_job/job.rb:556:in `perform'",
"/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
"/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
"/app/lib/good_job/job_performer.rb:35:in `block in next'",
"/app/lib/good_job/capsule_tracker.rb:94:in `register'",
"/app/lib/good_job/job_performer.rb:34:in `next'",
"/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/lib/good_job/scheduler.rb:286:in `block in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
"<internal:kernel>:187:in `loop'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
],
"process_id": "831ae1db-8ff7-4737-887f-3cbe140c1a74",
"duration": "0.015914"
}
}
3ms en cola
13ms en ejecuci贸n
Descartado
Error:
ExampleJob::ExpectedError: Executed 3 times.
-
-
app/jobs/example_job.rb:42:in `perform'
/app/demo/app/jobs/example_job.rb:42:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:286:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
"job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"locale": "en",
"priority": 0,
"timezone": "UTC",
"arguments": [
"error_five_times"
],
"job_class": "ExampleJob",
"executions": 2,
"queue_name": "elephants",
"enqueued_at": "2025-01-14T03:53:29.168983168Z",
"scheduled_at": "2025-01-14T03:53:47.343231919Z",
"provider_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"exception_executions": {
"[StandardError]": 2
},
"_good_job_execution": {
"id": "959d3e67-e8bd-4c79-ab41-b6daf1e517a2",
"created_at": "2025-01-14 03:53:47 UTC",
"updated_at": "2025-01-14 03:53:47 UTC",
"active_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"job_class": "ExampleJob",
"queue_name": "elephants",
"scheduled_at": "2025-01-14 03:53:47 UTC",
"finished_at": "2025-01-14 03:53:47 UTC",
"error": "ExampleJob::ExpectedError: Executed 3 times.",
"error_event": "retried",
"error_backtrace": [
"/app/demo/app/jobs/example_job.rb:42:in `perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'",
"/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
"/app/lib/good_job/current_thread.rb:113:in `within'",
"/app/app/models/good_job/job.rb:562:in `block in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/app/models/good_job/batch.rb:80:in `within_thread'",
"/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/app/models/good_job/job.rb:556:in `perform'",
"/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
"/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
"/app/lib/good_job/job_performer.rb:35:in `block in next'",
"/app/lib/good_job/capsule_tracker.rb:94:in `register'",
"/app/lib/good_job/job_performer.rb:34:in `next'",
"/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/lib/good_job/scheduler.rb:286:in `block in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
"<internal:kernel>:187:in `loop'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
],
"process_id": "831ae1db-8ff7-4737-887f-3cbe140c1a74",
"duration": "0.01313"
}
}
7ms en cola
65ms en ejecuci贸n
Descartado
Error:
ExampleJob::ExpectedError: Executed 2 times.
-
-
app/jobs/example_job.rb:42:in `perform'
/app/demo/app/jobs/example_job.rb:42:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:286:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
"job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"locale": "en",
"priority": 0,
"timezone": "UTC",
"arguments": [
"error_five_times"
],
"job_class": "ExampleJob",
"executions": 1,
"queue_name": "elephants",
"enqueued_at": "2025-01-14T03:53:26.041288331Z",
"scheduled_at": "2025-01-14T03:53:29.118933567Z",
"provider_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"exception_executions": {
"[StandardError]": 1
},
"_good_job_execution": {
"id": "6019de02-d19e-4c7c-86d4-4eeca9c65a2e",
"created_at": "2025-01-14 03:53:29 UTC",
"updated_at": "2025-01-14 03:53:29 UTC",
"active_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"job_class": "ExampleJob",
"queue_name": "elephants",
"scheduled_at": "2025-01-14 03:53:29 UTC",
"finished_at": "2025-01-14 03:53:29 UTC",
"error": "ExampleJob::ExpectedError: Executed 2 times.",
"error_event": "retried",
"error_backtrace": [
"/app/demo/app/jobs/example_job.rb:42:in `perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'",
"/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
"/app/lib/good_job/current_thread.rb:113:in `within'",
"/app/app/models/good_job/job.rb:562:in `block in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/app/models/good_job/batch.rb:80:in `within_thread'",
"/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/app/models/good_job/job.rb:556:in `perform'",
"/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
"/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
"/app/lib/good_job/job_performer.rb:35:in `block in next'",
"/app/lib/good_job/capsule_tracker.rb:94:in `register'",
"/app/lib/good_job/job_performer.rb:34:in `next'",
"/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/lib/good_job/scheduler.rb:286:in `block in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:166:in `block (2 levels) in process_tasks'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
"<internal:kernel>:187:in `loop'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
],
"process_id": "ec8079d4-1960-4cab-8068-73341d726717",
"duration": "0.065727"
}
}
6ms en cola
21ms en ejecuci贸n
Descartado
Error:
ExampleJob::ExpectedError: Executed 1 time.
-
-
app/jobs/example_job.rb:42:in `perform'
/app/demo/app/jobs/example_job.rb:42:in `perform'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'
/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'
/app/lib/good_job/current_thread.rb:113:in `within'
/app/app/models/good_job/job.rb:562:in `block in perform'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
/app/app/models/good_job/batch.rb:80:in `within_thread'
/app/app/models/good_job/job.rb:747:in `reset_batch_values'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
/app/app/models/good_job/job.rb:556:in `perform'
/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'
/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'
/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'
/app/lib/good_job/job_performer.rb:35:in `block in next'
/app/lib/good_job/capsule_tracker.rb:94:in `register'
/app/lib/good_job/job_performer.rb:34:in `next'
/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'
/app/lib/good_job/scheduler.rb:286:in `block in create_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:98:in `block in ns_post_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'
<internal:kernel>:187:in `loop'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'
/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'
{
"job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"locale": "en",
"priority": 0,
"timezone": "UTC",
"arguments": [
"error_five_times"
],
"job_class": "ExampleJob",
"executions": 0,
"queue_name": "elephants",
"enqueued_at": "2025-01-14T03:53:12.021191904Z",
"scheduled_at": "2025-01-14T03:53:26.021015201Z",
"provider_job_id": null,
"exception_executions": {},
"_good_job_execution": {
"id": "d290a6a2-1169-4ff2-bab2-45a6c896b455",
"created_at": "2025-01-14 03:53:26 UTC",
"updated_at": "2025-01-14 03:53:26 UTC",
"active_job_id": "593a0557-cd74-4a9c-9c3d-fd5d0ea3d639",
"job_class": "ExampleJob",
"queue_name": "elephants",
"scheduled_at": "2025-01-14 03:53:26 UTC",
"finished_at": "2025-01-14 03:53:26 UTC",
"error": "ExampleJob::ExpectedError: Executed 1 time.",
"error_event": "retried",
"error_backtrace": [
"/app/demo/app/jobs/example_job.rb:42:in `perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:68:in `block in _perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/i18n-1.14.6/lib/i18n.rb:353:in `with_locale'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/core_ext/time/zones.rb:65:in `use_zone'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:67:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:32:in `_perform_job'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:51:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:13:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:40:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:39:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/job_runtime.rb:11:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/instrumentation.rb:26:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `block in perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `block in tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:38:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/tagged_logging.rb:143:in `tagged'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/broadcast_logger.rb:241:in `method_missing'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:39:in `tag_logger'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/logging.rb:32:in `perform_now'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:29:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:95:in `block (4 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:87:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/railtie.rb:94:in `block (3 levels) in <class:Railtie>'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activejob-8.0.1/lib/active_job/execution.rb:27:in `execute'",
"/app/app/models/good_job/job.rb:605:in `block (3 levels) in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'",
"/app/app/models/good_job/job.rb:604:in `block (2 levels) in perform'",
"/app/lib/good_job/current_thread.rb:113:in `within'",
"/app/app/models/good_job/job.rb:562:in `block in perform'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'",
"/app/app/models/good_job/batch.rb:80:in `within_thread'",
"/app/app/models/good_job/job.rb:747:in `reset_batch_values'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'",
"/app/app/models/good_job/job.rb:556:in `perform'",
"/app/app/models/good_job/job.rb:299:in `block in perform_with_advisory_lock'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/scoping/default.rb:51:in `unscoped'",
"/app/app/models/concerns/good_job/advisory_lockable.rb:180:in `with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `with_advisory_lock'",
"/app/app/models/good_job/job.rb:293:in `perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `block in perform_with_advisory_lock'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:1373:in `_scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation.rb:548:in `scoping'",
"/app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/relation/delegation.rb:81:in `perform_with_advisory_lock'",
"/app/lib/good_job/job_performer.rb:35:in `block in next'",
"/app/lib/good_job/capsule_tracker.rb:94:in `register'",
"/app/lib/good_job/job_performer.rb:34:in `next'",
"/app/lib/good_job/scheduler.rb:287:in `block (2 levels) in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:77:in `block in wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/execution_wrapper.rb:91:in `wrap'",
"/app/vendor/bundle/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/reloader.rb:74:in `wrap'",
"/app/lib/good_job/scheduler.rb:286:in `block in create_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:24:in `block in execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `block in synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb:48:in `synchronize'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb:22:in `execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/ivar.rb:170:in `safe_execute'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/scheduled_task.rb:298:in `process_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/timer_set.rb:98:in `block in ns_post_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:359:in `run_task'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:350:in `block (3 levels) in create_worker'",
"<internal:kernel>:187:in `loop'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:341:in `block (2 levels) in create_worker'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `catch'",
"/app/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.4/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb:340:in `block in create_worker'"
],
"process_id": "ec8079d4-1960-4cab-8068-73341d726717",
"duration": "0.021294"
}
}