Project

Profile

Help

Issue #9432

RuntimewWarnings "RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited"

Added by ggainey about 1 month ago. Updated 22 days ago.

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

Description

Starting pulpcore-workers and doing file-syncs generates warnings like the following:

Sep 22 15:40:08 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17934]: /home/vagrant/devel/pulpcore/pulpcore/plugin/stages/artifact_stages.py:427: RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited
Sep 22 15:40:08 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17934]: acs_exists = sync_to_async(AlternateContentSource.objects.exists)()
Sep 22 15:40:08 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17934]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Sep 22 15:40:08 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17934]: /home/vagrant/devel/pulpcore/pulpcore/plugin/stages/api.py:43: RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited
Sep 22 15:40:08 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17934]: await self.run()
Sep 22 15:40:08 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17934]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Sep 22 15:40:09 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[18001]: /home/vagrant/devel/pulpcore/pulpcore/plugin/stages/artifact_stages.py:427: RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited
Sep 22 15:40:09 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[18001]: acs_exists = sync_to_async(AlternateContentSource.objects.exists)()
Sep 22 15:40:09 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[18001]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Sep 22 15:40:09 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[18001]: /home/vagrant/devel/pulpcore/pulpcore/plugin/stages/api.py:43: RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited
Sep 22 15:40:09 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[18001]: await self.run()
Sep 22 15:40:09 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[18001]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Sep 22 15:40:11 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17943]: /home/vagrant/devel/pulpcore/pulpcore/plugin/stages/artifact_stages.py:427: RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited
Sep 22 15:40:11 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17943]: acs_exists = sync_to_async(AlternateContentSource.objects.exists)()
Sep 22 15:40:11 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17943]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Sep 22 15:40:11 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17943]: /home/vagrant/devel/pulpcore/pulpcore/plugin/stages/api.py:43: RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited
Sep 22 15:40:11 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17943]: await self.run()
Sep 22 15:40:11 pulp2-nightly-pulp3-source-centos7.padre-fedora.example.com pulpcore-worker[17943]: RuntimeWarning: Enable tracemalloc to get the object allocation traceback

Associated revisions

Revision 4ad72a07 View on GitHub
Added by dalley about 1 month ago

Fix a coroutine that wasn't awaited

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

History

#1 Updated by dalley about 1 month ago

  • Status changed from NEW to POST
  • Assignee set to dalley

#3 Updated by dalley about 1 month ago

  • Status changed from POST to MODIFIED

#4 Updated by pulpbot 22 days ago

  • Sprint/Milestone set to 3.16.0

#5 Updated by pulpbot 22 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF