Project

Profile

Help

Issue #6717

closed

"integer out of range" during rhel-8.2-for-x86_64-appstream-source-rpms sync

Added by binlinf0 over 2 years ago. Updated about 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
3.3.1
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 74
Quarter:

Description

Errors when sync repository rhel-8.2-for-x86_64-appstream-source-rpms

{
    "created_resources": [], 
    "error": {
        "description": "integer out of range\n", 
        "traceback": "  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\", line 884, in perform_job\n    rv = job.perform()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 664, in perform\n    self._result = self._execute()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 670, in _execute\n    return self.func(*self.args, **self.kwargs)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 152, in synchronize\n    dv.create()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 149, in create\n    loop.run_until_complete(pipeline)\n  File \"/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py\", line 584, in run_until_complete\n    return future.result()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 228, in create_pipeline\n    await asyncio.gather(*futures)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 43, in __call__\n    await self.run()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 219, in run\n    RemoteArtifact.objects.bulk_get_or_create(self._needed_remote_artifacts(batch))\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/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 \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/manager.py\", line 82, in manager_method\n    return getattr(self.get_queryset(), name)(*args, **kwargs)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/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 \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/query.py\", line 1204, in _batched_insert\n    ignore_conflicts=ignore_conflicts,\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/query.py\", line 1186, in _insert\n    return query.get_compiler(using=using).execute_sql(return_id)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/models/sql/compiler.py\", line 1375, in execute_sql\n    cursor.execute(sql, params)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/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 \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/backends/utils.py\", line 76, in _execute_with_wrappers\n    return executor(sql, params, many, context)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/backends/utils.py\", line 84, in _execute\n    return self.cursor.execute(sql, params)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/utils.py\", line 89, in __exit__\n    raise dj_exc_value.with_traceback(traceback) from exc_value\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/django/db/backends/utils.py\", line 84, in _execute\n    return self.cursor.execute(sql, params)\n"
    },

rhel-8.2-for-x86_64-baseos-rpms


    "error": {
        "description": "No declared artifact with relative path \"repodata/adff8e65-8c3c-4ffb-bb72-5d4116fab7c9\" for content \"<RepoMetadataFile: pk=d55b4179-7423-44c2-832c-e6054a031fd3>\"", 
        "traceback": "  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/worker.py\", line 884, in perform_job\n    rv = job.perform()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 664, in perform\n    self._result = self._execute()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/rq/job.py\", line 670, in _execute\n    return self.func(*self.args, **self.kwargs)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulp_rpm/app/tasks/synchronizing.py\", line 152, in synchronize\n    dv.create()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/declarative_version.py\", line 149, in create\n    loop.run_until_complete(pipeline)\n  File \"/opt/python/3.7.3/lib64/python3.7/asyncio/base_events.py\", line 584, in run_until_complete\n    return future.result()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 228, in create_pipeline\n    await asyncio.gather(*futures)\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/api.py\", line 43, in __call__\n    await self.run()\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 219, in run\n    RemoteArtifact.objects.bulk_get_or_create(self._needed_remote_artifacts(batch))\n  File \"/opt/utils/venv/pulp/3.7.3/lib64/python3.7/site-packages/pulpcore/plugin/stages/artifact_stages.py\", line 263, in _needed_remote_artifacts\n    c=d_content.content))\n"
    },
Actions #1

Updated by ipanova@redhat.com over 2 years ago

  • Project changed from Pulp to RPM Support
Actions #2

Updated by ttereshc over 2 years ago

  • Description updated (diff)

pre'd the descritpion

Actions #3

Updated by ttereshc over 2 years ago

pre'd the descritpion

Actions #4

Updated by ttereshc over 2 years ago

  • Subject changed from Repo sync error to "integer out of range" when during rhel-8.2-for-x86_64-appstream-source-rpms sync

I believe the rhel-8.2-for-x86_64-baseos-rpms is not reproducible in 3.3.1. The focus of this issue is the failure of rhel-8.2-for-x86_64-appstream-source-rpms sync.

Actions #5

Updated by ttereshc over 2 years ago

  • Subject changed from "integer out of range" when during rhel-8.2-for-x86_64-appstream-source-rpms sync to "integer out of range" during rhel-8.2-for-x86_64-appstream-source-rpms sync
Actions #6

Updated by ttereshc over 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 73
Actions #7

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 73 to Sprint 74
Actions #8

Updated by ppicka over 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka
Actions #9

Updated by pulpbot over 2 years ago

  • Status changed from ASSIGNED to POST
Actions #10

Updated by ppicka over 2 years ago

  • Project changed from RPM Support to Pulp

Moving to 'Pulp' project as issue is in inherited RemoteArtifact class.

Added by ppicka over 2 years ago

Revision bce4bee8

RemoteArtifact size type

Change RemoteArtifacts' size from integer to biginteger to reflect same field in Artifact. Fixing 'integer out of range' error during sync. Fixed docsctring for Artifact too as using BigIntegerField too.

closes: #6717 https://pulp.plan.io/issues/6717

Actions #11

Updated by ppicka over 2 years ago

  • Status changed from POST to MODIFIED
Actions #12

Updated by fao89 about 2 years ago

  • Sprint/Milestone set to 3.5.0
Actions #13

Updated by pulpbot about 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF