open-build-service
open-build-service copied to clipboard
[production][delayed_job#StagingProjectCopyJob] Validation failed: Name has already been taken
Validation failed: Name has already been taken
Summary
Where
delayed_job#StagingProjectCopyJob
Occured
Sep 07 10:11am
Similar
5
Params
{
"active_job" => {
"arguments" => ["openSUSE:Factory", "openSUSE:Factory:Staging:L", "openSUSE:Factory:Staging:O", 40248],
"enqueued_at" => "2022-09-07T10:11:07Z",
"exception_executions" => {},
"executions" => 0,
"job_class" => "StagingProjectCopyJob",
"job_id" => "0785dbcc-acf4-4b5b-8231-1d92849bcf56",
"locale" => "en",
"priority" => nil,
"provider_job_id" => nil,
"queue_name" => "default",
"timezone" => "UTC"
},
"attempts" => 0,
"failed_at" => nil,
"handler" => "--- !ruby/object:ActiveJob::QueueAdapters::DelayedJobAdapter::JobWrapper\njob_data:\n job_class: StagingProjectCopyJob\n job_id: '0785dbcc-acf4-4b5b-8231-1d92849bcf56'\n provider_job_id: \n queue_name: default\n priority: \n arguments:\n - openSUSE:Factory\n - openSUSE:Factory:Staging:L\n - openSUSE:Factory:Staging:O\n - 40248\n executions: 0\n exception_executions: {}\n locale: en\n timezone: UTC\n enqueued_at: '2022-09-07T10:11:07Z'\n",
"id" => 873695954,
"last_error" => nil,
"locked_at" => "2022-09-07T10:11:07.000Z",
"locked_by" => "delayed_job.1030 host:api pid:2966",
"priority" => 0,
"queue" => "default",
"run_at" => "2022-09-07T10:11:07.000Z"
}
Session
{}
Backtrace
80: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/validations.rb -> **raise_validation_error**
53: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/validations.rb -> **save!**
302: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/transactions.rb -> **block in save!**
354: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/transactions.rb -> **block in with_transaction_returning_status**
318: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb -> **transaction**
350: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/transactions.rb -> **with_transaction_returning_status**
302: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/transactions.rb -> **save!**
48: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/suppressor.rb -> **save!**
48: app/models/concerns/staging_project.rb -> **block in copy**
320: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb -> **block in transaction**
319: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/connection_adapters/abstract/transaction.rb -> **block in within_new_transaction**
26: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb -> **block (2 levels) in synchronize**
25: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb -> **handle_interrupt**
25: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb -> **block in synchronize**
21: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb -> **handle_interrupt**
21: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb -> **synchronize**
317: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/connection_adapters/abstract/transaction.rb -> **within_new_transaction**
320: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/connection_adapters/abstract/database_statements.rb -> **transaction**
209: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/transactions.rb -> **transaction**
290: /GEM_ROOT/gems/activerecord-6.1.5.1/lib/active_record/transactions.rb -> **transaction**
45: app/models/concerns/staging_project.rb -> **copy**
6: app/jobs/staging_project_copy_job.rb -> **block in perform**
887: app/models/user.rb -> **run_as**
3: app/jobs/staging_project_copy_job.rb -> **perform**
48: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/execution.rb -> **block in perform_now**
117: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
322: /GEM_ROOT/gems/i18n-1.12.0/lib/i18n.rb -> **with_locale**
9: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/translation.rb -> **block (2 levels) in <module:Translation>**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **instance_exec**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
66: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/core_ext/time/zones.rb -> **use_zone**
9: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/timezones.rb -> **block (2 levels) in <module:Timezones>**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **instance_exec**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
21: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/instrumentation.rb -> **block in instrument**
203: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/notifications.rb -> **block in instrument**
24: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/notifications/instrumenter.rb -> **instrument**
203: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/notifications.rb -> **instrument**
31: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/instrumentation.rb -> **instrument**
14: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/instrumentation.rb -> **block (2 levels) in <module:Instrumentation>**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **instance_exec**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
22: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/logging.rb -> **block in tag_logger**
99: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/tagged_logging.rb -> **block in tagged**
37: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/tagged_logging.rb -> **tagged**
99: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/tagged_logging.rb -> **tagged**
22: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/logging.rb -> **tag_logger**
15: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/logging.rb -> **block (2 levels) in <module:Logging>**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **instance_exec**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
137: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **run_callbacks**
47: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/execution.rb -> **perform_now**
25: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/execution.rb -> **block in execute**
117: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
47: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/railtie.rb -> **block (4 levels) in <class:Railtie>**
91: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/execution_wrapper.rb -> **wrap**
72: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/reloader.rb -> **block in wrap**
91: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/execution_wrapper.rb -> **wrap**
71: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/reloader.rb -> **wrap**
46: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/railtie.rb -> **block (3 levels) in <class:Railtie>**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **instance_exec**
126: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **block in run_callbacks**
137: /GEM_ROOT/gems/activesupport-6.1.5.1/lib/active_support/callbacks.rb -> **run_callbacks**
23: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/execution.rb -> **execute**
42: /GEM_ROOT/gems/activejob-6.1.5.1/lib/active_job/queue_adapters/delayed_job_adapter.rb -> **perform**
81: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/backend/base.rb -> **block in invoke_job**
10: /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/delayed_job.rb -> **block (2 levels) in <class:Airbrake>**
79: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block (2 levels) in add**
61: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block in initialize**
79: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block in add**
66: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **execute**
40: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **run_callbacks**
78: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/backend/base.rb -> **invoke_job**
230: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block (2 levels) in run**
179: /GEM_ROOT/gems/timeout-0.3.0/lib/timeout.rb -> **block in timeout**
186: /GEM_ROOT/gems/timeout-0.3.0/lib/timeout.rb -> **timeout**
230: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block in run**
311: /usr/lib64/ruby/3.1.0/benchmark.rb -> **realtime**
229: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **run**
312: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block in reserve_and_run_one_job**
61: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block in initialize**
66: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **execute**
40: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **run_callbacks**
312: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **reserve_and_run_one_job**
213: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block in work_off**
212: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **times**
212: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **work_off**
175: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block (4 levels) in start**
311: /usr/lib64/ruby/3.1.0/benchmark.rb -> **realtime**
174: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block (3 levels) in start**
61: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block in initialize**
66: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **execute**
40: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **run_callbacks**
173: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block (2 levels) in start**
172: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **loop**
172: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **block in start**
7: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/plugins/clear_locks.rb -> **block (2 levels) in <class:ClearLocks>**
79: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block (2 levels) in add**
61: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block in initialize**
79: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **block in add**
66: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **execute**
40: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/lifecycle.rb -> **run_callbacks**
171: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/worker.rb -> **start**
137: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/command.rb -> **run**
125: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/command.rb -> **block in run_process**
277: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **block in start_proc**
84: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/daemonize.rb -> **call_as_daemon**
281: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **start_proc**
307: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/application.rb -> **start**
56: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/controller.rb -> **run**
199: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons.rb -> **block in run_proc**
124: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons/cmdline.rb -> **catch_exceptions**
198: /GEM_ROOT/gems/daemons-1.4.1/lib/daemons.rb -> **run_proc**
123: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/command.rb -> **run_process**
98: /GEM_ROOT/gems/delayed_job-4.1.10/lib/delayed/command.rb -> **daemonize**
5: script/delayed_job.api.rb -> **<top (required)>**
58: /usr/lib64/ruby/3.1.0/bundler/cli/exec.rb -> **load**
58: /usr/lib64/ruby/3.1.0/bundler/cli/exec.rb -> **kernel_load**
23: /usr/lib64/ruby/3.1.0/bundler/cli/exec.rb -> **run**
484: /usr/lib64/ruby/3.1.0/bundler/cli.rb -> **exec**
27: /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb -> **run**
127: /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb -> **invoke_command**
392: /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb -> **dispatch**
31: /usr/lib64/ruby/3.1.0/bundler/cli.rb -> **dispatch**
485: /usr/lib64/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb -> **start**
25: /usr/lib64/ruby/3.1.0/bundler/cli.rb -> **start**
48: /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle -> **block in <top (required)>**
103: /usr/lib64/ruby/3.1.0/bundler/friendly_errors.rb -> **with_friendly_errors**
36: /usr/lib64/ruby/gems/3.1.0/gems/bundler-2.3.7/libexec/bundle -> **<top (required)>**
25: /usr/bin/bundle.ruby3.1 -> **load**
25: /usr/bin/bundle.ruby3.1 -> **<main>**
Environment
Key | Value |
---|---|
program_name | delayed_job.1030 |
HTTP_USER_AGENT |