Status: paused Resume

Result: error

Started at: 2015-11-25 11:56:52 UTC

Ended at:

sequence concurrence
3: Actions::Pulp::Repository::DistributorPublish (error) [ 1.28s / 1.28s ] Skip

Started at: 2015-11-25 11:56:53 UTC

Ended at: 2015-11-25 11:56:54 UTC

Real time: 1.28s

Execution time (excluding suspended state): 1.28s

Input:

---
pulp_id: RHEVM-QE-INFRA-rhevm_3_6_jenkins_slave_rhel_6_7-30_0-qe-xtra-art_rpm
distributor_type_id: yum_distributor
source_pulp_id: 
dependency: 
remote_user: admin
remote_cp_user: foreman_api_admin
locale: en

Output:

---
pulp_tasks:
- exception: 
  task_type: pulp.server.managers.repo.publish.publish
  _href: /pulp/api/v2/tasks/6f067b92-8725-4a2e-9602-1d33af4f11bf/
  task_id: 6f067b92-8725-4a2e-9602-1d33af4f11bf
  tags:
  - pulp:repository:RHEVM-QE-INFRA-rhevm_3_6_jenkins_slave_rhel_6_7-30_0-qe-xtra-art_rpm
  - pulp:action:publish
  finish_time: '2015-11-25T11:56:53Z'
  _ns: task_status
  start_time: '2015-11-25T11:56:53Z'
  traceback: ! "Traceback (most recent call last):\n  File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\",
    line 240, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\",
    line 328, in __call__\n    return super(Task, self).__call__(*args, **kwargs)\n
    \ File \"/usr/lib/python2.6/site-packages/celery/app/trace.py\", line 437, in
    __protected_call__\n    return self.run(*args, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/publish.py\",
    line 99, in publish\n    transfer_repo, conduit, call_config)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/publish.py\",
    line 127, in _do_publish\n    publish_report = publish_repo(transfer_repo, conduit,
    call_config)\n  File \"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py\",
    line 495, in wrap_f\n    return f(*args, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py\",
    line 143, in publish_repo\n    return self._publisher.publish()\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
    line 558, in publish\n    return self.process_lifecycle()\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
    line 503, in process_lifecycle\n    super(PluginStep, self).process_lifecycle()\n
    \ File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
    line 127, in process_lifecycle\n    step.process()\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
    line 204, in process\n    self._process_block()\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
    line 246, in _process_block\n    self.process_main()\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
    line 766, in process_main\n    os.makedirs(publish_dir_parent, 0750)\n  File \"/usr/lib64/python2.6/os.py\",
    line 157, in makedirs\n    mkdir(name, mode)\nOSError: [Errno 17] File exists:
    '/var/lib/pulp/published/yum/http/repos/RHEVM-QE-INFRA/content_views/rhevm_3_6_jenkins_slave_rhel_6_7/30.0/custom/qe-xtra'\n"
  spawned_tasks: []
  progress_report:
    RHEVM-QE-INFRA-rhevm_3_6_jenkins_slave_rhel_6_7-30_0-qe-xtra-art_rpm:
    - num_success: 1
      description: Initializing repo metadata
      step_type: initialize_repo_metadata
      items_total: 1
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 6e20d2e3-17ff-459b-897a-1bb8af2787f3
      num_processed: 1
    - num_success: 0
      description: Publishing Distribution files
      step_type: distribution
      items_total: 0
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 96607413-a713-4d64-b071-31332d325c22
      num_processed: 0
    - num_success: 0
      description: Publishing RPMs
      step_type: rpms
      items_total: 0
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: a0ac345e-e818-4802-92b0-7f46b2b8d866
      num_processed: 0
    - num_success: 0
      description: Publishing Delta RPMs
      step_type: drpms
      items_total: 1
      state: SKIPPED
      error_details: []
      details: ''
      num_failures: 0
      step_id: b4b970f9-9863-443e-8b32-cf48d9e71040
      num_processed: 0
    - num_success: 0
      description: Publishing Errata
      step_type: errata
      items_total: 0
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 34dc258f-5014-4e01-94df-1cb5bd066574
      num_processed: 0
    - num_success: 0
      description: Publishing Comps file
      step_type: comps
      items_total: 0
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 3e075eda-1db1-43b2-b033-c6c03d43fc8e
      num_processed: 0
    - num_success: 0
      description: Publishing Metadata.
      step_type: metadata
      items_total: 0
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: c63f68d1-3b6f-4c88-8d71-b32e3af82c40
      num_processed: 0
    - num_success: 1
      description: Closing repo metadata
      step_type: close_repo_metadata
      items_total: 1
      state: FINISHED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 610065b9-dd96-4811-a90f-5caafa68c828
      num_processed: 1
    - num_success: 0
      description: Generating sqlite files
      step_type: generate sqlite
      items_total: 1
      state: SKIPPED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 3317437c-c88d-48a8-badf-4e514439a5e9
      num_processed: 0
    - num_success: 0
      description: Publishing files to web
      step_type: publish_directory
      items_total: 1
      state: FAILED
      error_details:
      - traceback: ! "  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
          line 204, in process\n    self._process_block()\n\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
          line 246, in _process_block\n    self.process_main()\n\n  File \"/usr/lib/python2.6/site-packages/pulp/plugins/util/publish_step.py\",
          line 766, in process_main\n    os.makedirs(publish_dir_parent, 0750)\n\n
          \ File \"/usr/lib64/python2.6/os.py\", line 157, in makedirs\n    mkdir(name,
          mode)\n"
        error: ! '[Errno 17] File exists: ''/var/lib/pulp/published/yum/http/repos/RHEVM-QE-INFRA/content_views/rhevm_3_6_jenkins_slave_rhel_6_7/30.0/custom/qe-xtra'''
      details: ''
      num_failures: 1
      step_id: 3ea703bb-6821-4b01-a65f-9fc2dc6cb5c1
      num_processed: 1
    - num_success: 0
      description: Writing Listings File
      step_type: initialize_repo_metadata
      items_total: 1
      state: NOT_STARTED
      error_details: []
      details: ''
      num_failures: 0
      step_id: 2ef330b1-a117-41c0-9208-9f8448eeb32d
      num_processed: 0
    - num_success: 0
      description: Writing Listings File
      step_type: initialize_repo_metadata
      items_total: 1
      state: NOT_STARTED
      error_details: []
      details: ''
      num_failures: 0
      step_id: b466e451-71a6-479e-81af-5691340db6ee
      num_processed: 0
  queue: reserved_resource_worker-2@satellite6-ops.rhev-ci-vms.eng.rdu2.redhat.com.dq
  state: error
  worker_name: reserved_resource_worker-2@satellite6-ops.rhev-ci-vms.eng.rdu2.redhat.com
  result: 
  error:
    code: PLP0000
    data: {}
    description: ! '[Errno 17] File exists: ''/var/lib/pulp/published/yum/http/repos/RHEVM-QE-INFRA/content_views/rhevm_3_6_jenkins_slave_rhel_6_7/30.0/custom/qe-xtra'''
    sub_errors: []
  _id:
    $oid: 5655a205bdcc93b612e806fa
  id: 5655a20586b85e52aa7d2545

Error:

Katello::Errors::PulpError

PLP0000: [Errno 17] File exists: '/var/lib/pulp/published/yum/http/repos/RHEVM-QE-INFRA/content_views/rhevm_3_6_jenkins_slave_rhel_6_7/30.0/custom/qe-xtra'

---
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/pulp/abstract_async_task.rb:119:in
  `block in external_task='
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/pulp/abstract_async_task.rb:117:in
  `each'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/pulp/abstract_async_task.rb:117:in
  `external_task='
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action/polling.rb:83:in
  `initiate_external_action'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action/polling.rb:18:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action/cancellable.rb:9:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/pulp/abstract_async_task.rb:57:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:487:in
  `block (3 levels) in execute_run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:26:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:26:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware.rb:16:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware.rb:25:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:22:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:26:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware.rb:16:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:27:in
  `block in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:57:in
  `block (2 levels) in as_remote_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/katello/util/thread_session.rb:84:in
  `pulp_config'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:43:in
  `as_pulp_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:56:in
  `block in as_remote_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/katello/util/thread_session.rb:91:in
  `cp_config'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:38:in
  `as_cp_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:55:in
  `as_remote_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/remote_action.rb:27:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:22:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:26:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware.rb:16:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action/progress.rb:30:in
  `with_progress_calculation'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action/progress.rb:16:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:22:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:26:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware.rb:16:in
  `pass'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/keep_locale.rb:23:in
  `block in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/keep_locale.rb:34:in
  `with_locale'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.73/app/lib/actions/middleware/keep_locale.rb:23:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/stack.rb:22:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/middleware/world.rb:30:in
  `execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:486:in
  `block (2 levels) in execute_run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:485:in
  `catch'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:485:in
  `block in execute_run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:402:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:402:in
  `block in with_error_handling'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:402:in
  `catch'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:402:in
  `with_error_handling'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:480:in
  `execute_run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action.rb:262:in
  `execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in
  `block (2 levels) in execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/execution_plan/steps/abstract.rb:155:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/execution_plan/steps/abstract.rb:155:in
  `with_meta_calculation'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in
  `block in execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in
  `open_action'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in
  `execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/executors/parallel/worker.rb:20:in
  `block in on_message'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:859:in
  `block in assigns'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:858:in
  `tap'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:858:in
  `assigns'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:138:in
  `match_value'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:116:in
  `block in match'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:115:in
  `each'
- /opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib/algebrick.rb:115:in
  `match'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/executors/parallel/worker.rb:17:in
  `on_message'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:82:in
  `on_envelope'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:72:in
  `receive'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:99:in
  `block (2 levels) in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:99:in
  `loop'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:99:in
  `block in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:99:in
  `catch'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:99:in
  `run'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/micro_actor.rb:13:in
  `block in initialize'
- /opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in
  `block in create_with_logging_context'

Back