Project

Profile

Help

Issue #9432

closed

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

Added by ggainey about 3 years ago. Updated about 3 years 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

Also available in: Atom PDF