Status: paused Resume

Result: error

Started at: 2016-02-23 12:00:46 UTC

Ended at:

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

Started at: 2016-02-23 12:00:49 UTC

Ended at: 2016-02-23 12:00:55 UTC

Real time: 5.88s

Execution time (excluding suspended state): 4.14s

Input:

---
pulp_id: Global_CI-Red_Hat_Satellite_Capsule-9_0-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Fastrack_RPMs_x86_64
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/388d9dff-12c2-4314-a259-b24a26978f04/
  task_id: 388d9dff-12c2-4314-a259-b24a26978f04
  tags:
  - pulp:repository:Global_CI-Red_Hat_Satellite_Capsule-9_0-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Fastrack_RPMs_x86_64
  - pulp:action:publish
  finish_time: '2016-02-23T12:00:53Z'
  _ns: task_status
  start_time: '2016-02-23T12:00:51Z'
  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/https/repos/Global_CI/content_views/Red_Hat_Satellite_Capsule/9.0/content/fastrack/rhel/server/6/x86_64'\n"
  spawned_tasks: []
  progress_report:
    Global_CI-Red_Hat_Satellite_Capsule-9_0-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_-_Fastrack_RPMs_x86_64:
    - 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: 6cb580d9-b6a3-49f4-90d0-bd35e507ce75
      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: 4e6f8033-08ce-4779-83e9-bfeabd548556
      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: 7bbabc58-9ab3-4090-ae07-094ef6a628ed
      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: 6ae5f9df-506a-4b87-ae11-b65dde59dd74
      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: 8bba966f-823d-4b91-91b8-8b0ba5d44c7e
      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: e61f0bce-c607-40f6-afa5-060e2a03f973
      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: eb66c43d-98f4-4853-bf64-54bfbaf978cf
      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: 196ce2ce-27b8-4cc4-8f97-49f8b776c646
      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: 376604a1-1d43-4245-a79c-97adf18ae7b7
      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/https/repos/Global_CI/content_views/Red_Hat_Satellite_Capsule/9.0/content/fastrack/rhel/server/6/x86_64'''
      details: ''
      num_failures: 1
      step_id: 66726405-e3e2-4477-b34d-33151f649d5f
      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: e9c1cbad-50b6-482f-be50-291171b70852
      num_processed: 0
  queue: reserved_resource_worker-1@satellite6-ops.rhev-ci-vms.eng.rdu2.redhat.com.dq
  state: error
  worker_name: reserved_resource_worker-1@satellite6-ops.rhev-ci-vms.eng.rdu2.redhat.com
  result: 
  error:
    code: PLP0000
    data: {}
    description: ! '[Errno 17] File exists: ''/var/lib/pulp/published/yum/https/repos/Global_CI/content_views/Red_Hat_Satellite_Capsule/9.0/content/fastrack/rhel/server/6/x86_64'''
    sub_errors: []
  _id:
    $oid: 56cc49f23f52f1d2347fc46a
  id: 56cc49f286b85e26382e98f9
poll_attempts:
  total: 1
  failed: 0

Error:

Katello::Errors::PulpError

PLP0000: [Errno 17] File exists: '/var/lib/pulp/published/yum/https/repos/Global_CI/content_views/Red_Hat_Satellite_Capsule/9.0/content/fastrack/rhel/server/6/x86_64'

---
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/pulp/abstract_async_task.rb:83:in
  `block in done?'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/pulp/abstract_async_task.rb:81:in
  `each'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/pulp/abstract_async_task.rb:81:in
  `done?'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.9/lib/dynflow/action/polling.rb:28: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.83/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.83/app/lib/actions/middleware/remote_action.rb:27:in
  `block in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/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.83/app/lib/katello/util/thread_session.rb:84:in
  `pulp_config'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/middleware/remote_action.rb:43:in
  `as_pulp_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/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.83/app/lib/katello/util/thread_session.rb:91:in
  `cp_config'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/middleware/remote_action.rb:38:in
  `as_cp_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/middleware/remote_action.rb:55:in
  `as_remote_user'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/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.83/app/lib/actions/middleware/keep_locale.rb:23:in
  `block in run'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/app/lib/actions/middleware/keep_locale.rb:34:in
  `with_locale'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.83/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