Actions
Issue #9432
closedRuntimewWarnings "RuntimeWarning: coroutine 'SyncToAsync.__call__' was never awaited"
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
Updated by dalley about 3 years ago
- Status changed from NEW to POST
- Assignee set to dalley
Updated by pulpbot about 3 years ago
Added by dalley about 3 years ago
Updated by dalley about 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|4ad72a07ba7268cd29c98190dba13408866481ca.
Updated by pulpbot about 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Fix a coroutine that wasn't awaited
closes: #9432 https://pulp.plan.io/issues/9432