Project

Profile

Help

Issue #7238

"integer out of range" error when syncing OracleLinux 8 AppStream repo

Added by iballou 14 days ago. Updated 5 days ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 79

Description

An upstream user reported the error above and I have reproduced it with pulp-rpm 3.4.1. Info:

Upstream href: http://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/

Stack trace:

{"pulp_tasks"=>
  [{"pulp_href"=>"/pulp/api/v3/tasks/521193ab-03f0-4161-8742-c721571b8a52/",
    "pulp_created"=>"2020-07-29T15:25:26.712+00:00",
    "state"=>"failed",
    "name"=>"pulp_rpm.app.tasks.synchronizing.synchronize",
    "started_at"=>"2020-07-29T15:25:26.816+00:00",
    "finished_at"=>"2020-07-29T15:26:01.119+00:00",
    "error"=>
     {"traceback"=>
       "  File \"/usr/lib/python3.6/site-packages/rq/worker.py\", line 883, in perform_job\n" +
       "    rv = job.perform()\n" +
       "  File \"/usr/lib/python3.6/site-packages/rq/job.py\", line 645, in perform\n" +
       "    self._result = self._execute()\n" +
       "  File \"/usr/lib/python3.6/site-packages/rq/job.py\", line 651, in _execute\n" +
       "    return self.func(*self.args, **self.kwargs)\n" +
       "  File \"/usr/lib/python3.6/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 167, in synchronize\n" +
       "    dv.create()\n" +
       "  File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 148, in create\n" +
       "    loop.run_until_complete(pipeline)\n" +
       "  File \"/usr/lib64/python3.6/asyncio/base_events.py\", line 484, in run_until_complete\n" +
       "    return future.result()\n" +
       "  File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py\", line 225, in create_pipeline\n" +
       "    await asyncio.gather(*futures)\n" +
       "  File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py\", line 43, in __call__\n" +
       "    await self.run()\n" +
       "  File \"/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 225, in run\n" +
       "    RemoteArtifact.objects.bulk_get_or_create(self._needed_remote_artifacts(batch))\n" +
       "  File \"/usr/lib/python3.6/site-packages/pulpcore/app/models/content.py\", line 48, in bulk_get_or_create\n" +
       "    return super().bulk_create(objs, batch_size=batch_size)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/models/manager.py\", line 82, in manager_method\n" +
       "    return getattr(self.get_queryset(), name)(*args, **kwargs)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/models/query.py\", line 468, in bulk_create\n" +
       "    self._batched_insert(objs_with_pk, fields, batch_size, ignore_conflicts=ignore_conflicts)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/models/query.py\", line 1204, in _batched_insert\n" +
       "    ignore_conflicts=ignore_conflicts,\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/models/query.py\", line 1186, in _insert\n" +
       "    return query.get_compiler(using=using).execute_sql(return_id)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/models/sql/compiler.py\", line 1375, in execute_sql\n" +
       "    cursor.execute(sql, params)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/backends/utils.py\", line 67, in execute\n" +
       "    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/backends/utils.py\", line 76, in _execute_with_wrappers\n" +
       "    return executor(sql, params, many, context)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/backends/utils.py\", line 84, in _execute\n" +
       "    return self.cursor.execute(sql, params)\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/utils.py\", line 89, in __exit__\n" +
       "    raise dj_exc_value.with_traceback(traceback) from exc_value\n" +
       "  File \"/usr/lib/python3.6/site-packages/django/db/backends/utils.py\", line 84, in _execute\n" +
       "    return self.cursor.execute(sql, params)\n",
      "description"=>"integer out of range\n"},
    "worker"=>"/pulp/api/v3/workers/d42bd53e-ad97-4d12-bf19-843088b6f56a/",
    "child_tasks"=>[],
    "progress_reports"=>
     [{"message"=>"Downloading Metadata Files",
       "code"=>"downloading.metadata",
       "state"=>"canceled",
       "done"=>5},
      {"message"=>"Associating Content",
       "code"=>"associating.content",
       "state"=>"canceled",
       "done"=>1500},
      {"message"=>"Un-Associating Content",
       "code"=>"unassociating.content",
       "state"=>"canceled",
       "done"=>0},
      {"message"=>"Parsed Modulemd",
       "code"=>"parsing.modulemds",
       "state"=>"completed",
       "total"=>193,
       "done"=>193},
      {"message"=>"Parsed Modulemd-defaults",
       "code"=>"parsing.modulemd_defaults",
       "state"=>"completed",
       "total"=>42,
       "done"=>42},
      {"message"=>"Parsed Comps",
       "code"=>"parsing.comps",
       "state"=>"completed",
       "total"=>67,
       "done"=>67},
      {"message"=>"Parsed Advisories",
       "code"=>"parsing.advisories",
       "state"=>"completed",
       "total"=>710,
       "done"=>710},
      {"message"=>"Downloading Artifacts",
       "code"=>"downloading.artifacts",
       "state"=>"canceled",
       "done"=>0},
      {"message"=>"Parsed Packages",
       "code"=>"parsing.packages",
       "state"=>"canceled",
       "total"=>15820,
       "done"=>4005}],
    "created_resources"=>[],
    "reserved_resources_record"=>
     ["/pulp/api/v3/repositories/rpm/rpm/7f8c001a-abb5-4c0f-bb10-0455fa8dc032/",
      "/pulp/api/v3/remotes/rpm/rpm/ecdc1817-5b5c-4021-a071-0022d2a748dc/"]}],
 "create_version"=>true,
 "poll_attempts"=>{"total"=>19, "failed"=>1}}

History

#1 Updated by ttereshc 9 days ago

  • Project changed from RPM Support to Pulp

#2 Updated by fao89 8 days ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 78

#3 Updated by rchan 5 days ago

  • Sprint changed from Sprint 78 to Sprint 79

Please register to edit this issue

Also available in: Atom PDF