<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown &amp; rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="463075740" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5627" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5627/hovercard" href="https://github.com/celery/celery/issues/5627">#5627</a></li>
</ul>
<p dir="auto">Similar issues as was solved for this PR for args exists with kwargs.</p>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment &amp; Settings</h2>

<p dir="auto"><strong>Celery version</strong>: 4.4.0</p>

<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">Just run celery beat.</p>
<h2 dir="auto">Required Dependencies</h2>

<ul dir="auto">
<li><strong>Minimal Python Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>

<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==2.5.2
apipkg==1.5
apiritif==0.9.0
appdirs==1.4.3
Appium-Python-Client==0.48
appnope==0.1.0
argcomplete==1.10.0
arrow==0.10.0
asn1crypto==1.2.0
astunparse==1.6.3
atomicwrites==1.3.0
attrs==19.3.0
autopep8==1.4.4
Babel==2.7.0
backports.csv==1.0.7
bandit==1.6.2
bcrypt==3.1.7
beautifulsoup4==4.8.0
billiard==3.6.1.0
bleach==3.1.0
boto==2.49.0
bs4==0.0.1
bzt==1.14.0
cached-property==1.5.1
cachetools==3.1.1
cairocffi==1.1.0
CairoSVG==2.4.2
celery==4.4.0
certifi==2019.11.28
cffi==1.13.2
chardet==3.0.4
Click==7.0
click-completion==0.5.2
colorama==0.4.3
colorlog==4.0.2
ConfigArgParse==0.15.1
contextlib2==0.5.5
coreapi==2.3.3
coreschema==0.0.4
coverage==5.0.1
crayons==0.3.0
cryptography==2.8
cssselect==1.1.0
cssselect2==0.2.2
cssutils==1.0.2
ddt==1.2.1
decorator==4.4.1
defusedxml==0.6.0
diff-match-patch==20181111
Django==1.11.27
django-activity-stream==0.8.0
django-appconf==1.0.3
django-autofixture==0.12.1
django-celery-beat==1.5.0
django-celery-results==1.1.2
django-compressor==2.3
django-constance==2.0.0
django-countries==5.5
django-crispy-forms==1.8.1
django-debug-toolbar==2.1
django-debug-toolbar-request-history==0.1.0
django-environ==0.4.5
django-extensions==2.2.5
django-extra-fields==1.1.0
django-extra-views==0.10.0
django-fernet-fields==0.6
django-filter==2.2.0
django-fsm==2.7.0
django-guardian==1.5.1
django-haystack==2.8.1
django-import-export==1.2.0
django-jarc==1.0.15
django-jsonfield-compat==0.4.4
django-libsass==0.7
django-media-fixtures==0.0.3
django-memcache-status==2.1
django-memoize==2.2.1
django-modeltranslation==0.12.1
django-oscar==1.5.4
django-oscar-api==1.0.10.post1
django-phonenumber-field==1.3.0
django-picklefield==1.0.0
django-private-storage==2.2.1
django-ratelimit==2.0.0
django-recaptcha2==1.4.1
django-rest-hooks==1.5.0
django-rest-swagger==2.1.2
django-reversion==2.0.8
django-ses==0.8.13
django-silk==3.0.4
django-simple-history==2.8.0
django-tables2==1.16.0
django-timezone-field==3.1
django-transaction-hooks==0.2
django-treebeard==4.3
django-webtest==1.9.7
django-widget-tweaks==1.4.5
djangorestframework==3.9.4
djangorestframework-jwt==1.11.0
djangorestframework-simplejwt==4.3.0
djangorestframework-xml==1.4.0
dnspython==1.15.0
docx2txt==0.8
dparse==0.4.1
EasyProcess==0.2.8
EbookLib==0.17.1
email-validator==1.0.2
entrypoints==0.3
ephem==3.7.6.0
et-xmlfile==1.0.1
execnet==1.7.1
extract-msg==0.23.1
factory-boy==2.12.0
fake-factory==0.7.2
Faker==3.0.0
fintech==4.3.5
flake8==3.7.9
flake8-bugbear==19.8.0
flake8-isort==2.8.0
flake8-polyfill==1.0.2
Flask==1.1.1
flower==0.9.3
fpdf==1.7.2
freezegun==0.3.12
future==0.18.2
fuzzyset==0.0.19
gevent==1.5a2
geventhttpclient-wheels==1.3.1.dev2
gitdb==0.6.4
gitdb2==2.0.6
GitPython==3.0.5
google-api-python-client==1.7.11
google-auth==1.10.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.2.0
gprof2dot==2019.11.30
graypy==2.1.0
greenlet==0.4.15
hdrpy==0.3.3
html2text==2019.9.26
html5lib==1.0.1
httplib2==0.14.0
idna==2.8
IMAPClient==2.1.0
importlib-metadata==1.3.0
inflection==0.3.1
ipaddress==1.0.23
ipcalc==1.99.0
ipython==5.3.0
ipython-genutils==0.1.0
isodate==0.6.0
isort==4.3.21
itsdangerous==1.1.0
itypes==1.1.0
jdcal==1.4.1
Jinja2==2.10.3
jsonfield==2.0.2
jsonpath-rw==1.4.0
kombu==4.6.7
libsass==0.19.4
line-profiler==2.0
locustio==0.13.5
lxml==4.4.2
M2Crypto==0.35.2
manhole==1.6.0
MarkupPy==1.14
MarkupSafe==1.1.1
mccabe==0.6.1
mock==2.0.0
mollie-api-python==1.4.5
more-itertools==8.0.2
msgpack==0.6.2
msgpack-python==0.5.6
mysqlclient==1.3.10
newrelic==5.4.0.132
nose==1.3.7
numpy==1.18.0
oauth2client==4.1.3
oauthlib==3.1.0
odfpy==1.4.0
olefile==0.46
openapi-codec==1.3.2
openpyxl==2.6.4
packaging==19.2
paramiko==2.7.1
pathlib2==2.3.5
pbr==5.4.4
pdf417gen==0.7.0
pdfminer.six==20181108
pdfrw==0.4
pep8==1.7.1
pexpect==4.2.1
phonenumbers==8.11.1
pickleshare==0.7.4
Pillow==6.2.1
pip-licenses==1.17.0
pip-review==1.0
pipdeptree==0.12.1
pkg-resources==0.0.0
pkgconfig==1.5.1
pluggy==0.13.1
ply==3.11
premailer==3.6.1
progressbar33==2.4
prompt-toolkit==1.0.13
psutil==5.6.7
psycopg2-binary==2.8.4
PTable==0.9.2
ptyprocess==0.5.1
purl==1.5
py==1.8.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
pyBarcode==0.8b1
pycodestyle==2.5.0
pycountry==19.8.18
pycparser==2.19
pycryptodome==3.9.4
pycycle==0.0.8
pyflakes==2.1.1
Pygments==2.5.2
PyJWT==1.7.1
Pympler==0.8
PyNaCl==1.3.0
pyparsing==2.4.5
PyPDF2==1.26.0
Pyphen==0.9.5
pysftp==0.2.9
pytest==5.3.2
pytest-cache==1.0
pytest-cov==2.8.1
pytest-django==3.7.0
pytest-factoryboy==2.0.3
pytest-forked==1.1.3
pytest-html==1.19.0
pytest-metadata==1.7.0
pytest-mock==1.13.0
pytest-pep8==1.0.6
pytest-sftpserver==1.3.0
pytest-xdist==1.30.0
python-barcode==0.10.0
python-crontab==2.4.0
python-dateutil==2.8.1
python-gnupg==0.4.5
python-Levenshtein==0.12.0
python-memcached==1.59
python-pptx==0.6.18
python3-openid==3.1.0
python3-saml==1.9.0
pytz==2019.3
PyVirtualDisplay==0.2.5
PyYAML==5.2
pyzmq==18.1.1
qrcode==6.1
raven==6.10.0
rcssmin==1.0.6
realbrowserlocusts==0.4
requests==2.22.0
requests-mock==1.7.0
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
rest-condition==1.0.3
restnavigator==1.0.1
retrying==1.3.3
rjsmin==1.1.0
rsa==4.0
safety==1.8.5
selenium==3.141.0
sepa-generator==0.1.4
shellingham==1.3.1
simplegeneric==0.8.1
simplejson==3.17.0
six==1.12.0
smmap==0.9.0
smmap2==2.0.5
snippetinjector==1.0.0
social-auth-app-django==3.1.0
social-auth-core==3.2.0
sorl-thumbnail==12.5.0
sortedcontainers==2.1.0
soupsieve==1.9.5
SpeechRecognition==3.8.1
sqlparse==0.3.0
stevedore==1.31.0
suds-jurko==0.6
tablib==0.14.0
tabulate==0.8.6
terminaltables==3.1.0
testfixtures==6.10.3
text-unidecode==1.3
textract==1.6.3
texttable==1.6.2
tinycss==0.4
tinycss2==1.0.2
toml==0.9.2
tornado==5.1.1
tqdm==4.40.2
traitlets==4.3.2
typing==3.6.4
tzlocal==1.5.1
unicodecsv==0.14.1
Unidecode==0.4.21
uritemplate==3.0.1
urllib3==1.25.7
urwid==2.0.1
uWSGI==2.0.18
uwsgitop==0.10
vine==1.3.0
vulture==1.2
waitress==1.4.0
wcwidth==0.1.7
WeasyPrint==50
webencodings==0.5.1
WebOb==1.8.5
WebTest==2.0.33
Werkzeug==0.16.0
xlrd==1.2.0
XlsxWriter==1.2.7
xlwt==1.3.0
xmlsec==1.3.3
zeep==3.4.0
zipp==0.6.0"><pre class="notranslate"><code class="notranslate">amqp==2.5.2
apipkg==1.5
apiritif==0.9.0
appdirs==1.4.3
Appium-Python-Client==0.48
appnope==0.1.0
argcomplete==1.10.0
arrow==0.10.0
asn1crypto==1.2.0
astunparse==1.6.3
atomicwrites==1.3.0
attrs==19.3.0
autopep8==1.4.4
Babel==2.7.0
backports.csv==1.0.7
bandit==1.6.2
bcrypt==3.1.7
beautifulsoup4==4.8.0
billiard==3.6.1.0
bleach==3.1.0
boto==2.49.0
bs4==0.0.1
bzt==1.14.0
cached-property==1.5.1
cachetools==3.1.1
cairocffi==1.1.0
CairoSVG==2.4.2
celery==4.4.0
certifi==2019.11.28
cffi==1.13.2
chardet==3.0.4
Click==7.0
click-completion==0.5.2
colorama==0.4.3
colorlog==4.0.2
ConfigArgParse==0.15.1
contextlib2==0.5.5
coreapi==2.3.3
coreschema==0.0.4
coverage==5.0.1
crayons==0.3.0
cryptography==2.8
cssselect==1.1.0
cssselect2==0.2.2
cssutils==1.0.2
ddt==1.2.1
decorator==4.4.1
defusedxml==0.6.0
diff-match-patch==20181111
Django==1.11.27
django-activity-stream==0.8.0
django-appconf==1.0.3
django-autofixture==0.12.1
django-celery-beat==1.5.0
django-celery-results==1.1.2
django-compressor==2.3
django-constance==2.0.0
django-countries==5.5
django-crispy-forms==1.8.1
django-debug-toolbar==2.1
django-debug-toolbar-request-history==0.1.0
django-environ==0.4.5
django-extensions==2.2.5
django-extra-fields==1.1.0
django-extra-views==0.10.0
django-fernet-fields==0.6
django-filter==2.2.0
django-fsm==2.7.0
django-guardian==1.5.1
django-haystack==2.8.1
django-import-export==1.2.0
django-jarc==1.0.15
django-jsonfield-compat==0.4.4
django-libsass==0.7
django-media-fixtures==0.0.3
django-memcache-status==2.1
django-memoize==2.2.1
django-modeltranslation==0.12.1
django-oscar==1.5.4
django-oscar-api==1.0.10.post1
django-phonenumber-field==1.3.0
django-picklefield==1.0.0
django-private-storage==2.2.1
django-ratelimit==2.0.0
django-recaptcha2==1.4.1
django-rest-hooks==1.5.0
django-rest-swagger==2.1.2
django-reversion==2.0.8
django-ses==0.8.13
django-silk==3.0.4
django-simple-history==2.8.0
django-tables2==1.16.0
django-timezone-field==3.1
django-transaction-hooks==0.2
django-treebeard==4.3
django-webtest==1.9.7
django-widget-tweaks==1.4.5
djangorestframework==3.9.4
djangorestframework-jwt==1.11.0
djangorestframework-simplejwt==4.3.0
djangorestframework-xml==1.4.0
dnspython==1.15.0
docx2txt==0.8
dparse==0.4.1
EasyProcess==0.2.8
EbookLib==0.17.1
email-validator==1.0.2
entrypoints==0.3
ephem==3.7.6.0
et-xmlfile==1.0.1
execnet==1.7.1
extract-msg==0.23.1
factory-boy==2.12.0
fake-factory==0.7.2
Faker==3.0.0
fintech==4.3.5
flake8==3.7.9
flake8-bugbear==19.8.0
flake8-isort==2.8.0
flake8-polyfill==1.0.2
Flask==1.1.1
flower==0.9.3
fpdf==1.7.2
freezegun==0.3.12
future==0.18.2
fuzzyset==0.0.19
gevent==1.5a2
geventhttpclient-wheels==1.3.1.dev2
gitdb==0.6.4
gitdb2==2.0.6
GitPython==3.0.5
google-api-python-client==1.7.11
google-auth==1.10.0
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.2.0
gprof2dot==2019.11.30
graypy==2.1.0
greenlet==0.4.15
hdrpy==0.3.3
html2text==2019.9.26
html5lib==1.0.1
httplib2==0.14.0
idna==2.8
IMAPClient==2.1.0
importlib-metadata==1.3.0
inflection==0.3.1
ipaddress==1.0.23
ipcalc==1.99.0
ipython==5.3.0
ipython-genutils==0.1.0
isodate==0.6.0
isort==4.3.21
itsdangerous==1.1.0
itypes==1.1.0
jdcal==1.4.1
Jinja2==2.10.3
jsonfield==2.0.2
jsonpath-rw==1.4.0
kombu==4.6.7
libsass==0.19.4
line-profiler==2.0
locustio==0.13.5
lxml==4.4.2
M2Crypto==0.35.2
manhole==1.6.0
MarkupPy==1.14
MarkupSafe==1.1.1
mccabe==0.6.1
mock==2.0.0
mollie-api-python==1.4.5
more-itertools==8.0.2
msgpack==0.6.2
msgpack-python==0.5.6
mysqlclient==1.3.10
newrelic==5.4.0.132
nose==1.3.7
numpy==1.18.0
oauth2client==4.1.3
oauthlib==3.1.0
odfpy==1.4.0
olefile==0.46
openapi-codec==1.3.2
openpyxl==2.6.4
packaging==19.2
paramiko==2.7.1
pathlib2==2.3.5
pbr==5.4.4
pdf417gen==0.7.0
pdfminer.six==20181108
pdfrw==0.4
pep8==1.7.1
pexpect==4.2.1
phonenumbers==8.11.1
pickleshare==0.7.4
Pillow==6.2.1
pip-licenses==1.17.0
pip-review==1.0
pipdeptree==0.12.1
pkg-resources==0.0.0
pkgconfig==1.5.1
pluggy==0.13.1
ply==3.11
premailer==3.6.1
progressbar33==2.4
prompt-toolkit==1.0.13
psutil==5.6.7
psycopg2-binary==2.8.4
PTable==0.9.2
ptyprocess==0.5.1
purl==1.5
py==1.8.0
pyasn1==0.4.8
pyasn1-modules==0.2.7
pyBarcode==0.8b1
pycodestyle==2.5.0
pycountry==19.8.18
pycparser==2.19
pycryptodome==3.9.4
pycycle==0.0.8
pyflakes==2.1.1
Pygments==2.5.2
PyJWT==1.7.1
Pympler==0.8
PyNaCl==1.3.0
pyparsing==2.4.5
PyPDF2==1.26.0
Pyphen==0.9.5
pysftp==0.2.9
pytest==5.3.2
pytest-cache==1.0
pytest-cov==2.8.1
pytest-django==3.7.0
pytest-factoryboy==2.0.3
pytest-forked==1.1.3
pytest-html==1.19.0
pytest-metadata==1.7.0
pytest-mock==1.13.0
pytest-pep8==1.0.6
pytest-sftpserver==1.3.0
pytest-xdist==1.30.0
python-barcode==0.10.0
python-crontab==2.4.0
python-dateutil==2.8.1
python-gnupg==0.4.5
python-Levenshtein==0.12.0
python-memcached==1.59
python-pptx==0.6.18
python3-openid==3.1.0
python3-saml==1.9.0
pytz==2019.3
PyVirtualDisplay==0.2.5
PyYAML==5.2
pyzmq==18.1.1
qrcode==6.1
raven==6.10.0
rcssmin==1.0.6
realbrowserlocusts==0.4
requests==2.22.0
requests-mock==1.7.0
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
rest-condition==1.0.3
restnavigator==1.0.1
retrying==1.3.3
rjsmin==1.1.0
rsa==4.0
safety==1.8.5
selenium==3.141.0
sepa-generator==0.1.4
shellingham==1.3.1
simplegeneric==0.8.1
simplejson==3.17.0
six==1.12.0
smmap==0.9.0
smmap2==2.0.5
snippetinjector==1.0.0
social-auth-app-django==3.1.0
social-auth-core==3.2.0
sorl-thumbnail==12.5.0
sortedcontainers==2.1.0
soupsieve==1.9.5
SpeechRecognition==3.8.1
sqlparse==0.3.0
stevedore==1.31.0
suds-jurko==0.6
tablib==0.14.0
tabulate==0.8.6
terminaltables==3.1.0
testfixtures==6.10.3
text-unidecode==1.3
textract==1.6.3
texttable==1.6.2
tinycss==0.4
tinycss2==1.0.2
toml==0.9.2
tornado==5.1.1
tqdm==4.40.2
traitlets==4.3.2
typing==3.6.4
tzlocal==1.5.1
unicodecsv==0.14.1
Unidecode==0.4.21
uritemplate==3.0.1
urllib3==1.25.7
urwid==2.0.1
uWSGI==2.0.18
uwsgitop==0.10
vine==1.3.0
vulture==1.2
waitress==1.4.0
wcwidth==0.1.7
WeasyPrint==50
webencodings==0.5.1
WebOb==1.8.5
WebTest==2.0.33
Werkzeug==0.16.0
xlrd==1.2.0
XlsxWriter==1.2.7
xlwt==1.3.0
xmlsec==1.3.3
zeep==3.4.0
zipp==0.6.0
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>

<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>

<p dir="auto">Not sure how to reproduce at this moment apart from just running celery beat.</p>
<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>

<p dir="auto">Celery beat runs without errors.</p>
<h1 dir="auto">Actual Behavior</h1>

<p dir="auto">Celery beat log shows following errors:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
  File &quot;/home/ah/virtualenv/lib/python3.5/site-packages/celery/beat.py&quot;, line 273, in apply_entry
    result = self.apply_async(entry, producer=producer, advance=False)
  File &quot;/home/ah/virtualenv/lib/python3.5/site-packages/celery/beat.py&quot;, line 401, in apply_async
    entry, exc=exc)), sys.exc_info()[2])
  File &quot;/home/ah/virtualenv/lib/python3.5/site-packages/vine/five.py&quot;, line 194, in reraise
    raise value.with_traceback(tb)
  File &quot;/home/ah/virtualenv/lib/python3.5/site-packages/celery/beat.py&quot;, line 388, in apply_async
    entry_kwargs = {k: v() if isinstance(v, BeatLazyFunc) else v for k, v in entry.kwargs.items()}
celery.beat.SchedulingError: Couldn't apply scheduled task sync_products_for_source_40023: 'NoneType' object has no attribute 'items'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last):
  File "/home/ah/virtualenv/lib/python3.5/site-packages/celery/beat.py", line 273, in apply_entry
    result = self.apply_async(entry, producer=producer, advance=False)
  File "/home/ah/virtualenv/lib/python3.5/site-packages/celery/beat.py", line 401, in apply_async
    entry, exc=exc)), sys.exc_info()[2])
  File "/home/ah/virtualenv/lib/python3.5/site-packages/vine/five.py", line 194, in reraise
    raise value.with_traceback(tb)
  File "/home/ah/virtualenv/lib/python3.5/site-packages/celery/beat.py", line 388, in apply_async
    entry_kwargs = {k: v() if isinstance(v, BeatLazyFunc) else v for k, v in entry.kwargs.items()}
celery.beat.SchedulingError: Couldn't apply scheduled task sync_products_for_source_40023: 'NoneType' object has no attribute 'items'
</code></pre></div>
<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown &amp; rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment &amp; Settings</h2>

<p dir="auto"><strong>Celery version</strong>: 4.4.0</p>

<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate"></code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>

<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.7.4 or 2.7</li>
<li><strong>Minimal Celery Version</strong>: 4.4.0</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>

<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="alembic==1.3.2
aliyun-python-sdk-core==2.13.13
aliyun-python-sdk-core-v3==2.13.11
aliyun-python-sdk-kms==2.9.0
amqp==2.5.2
billiard==3.6.1.0
celery==4.4.0
certifi==2019.11.28
chardet==3.0.4
Click==7.0
configparser==4.0.2
crcmod==1.7
Flask==1.1.1
Flask-Caching==1.8.0
Flask-Migrate==2.5.2
Flask-Script==2.0.6
Flask-SQLAlchemy==2.4.1
gevent==1.4.0
gitlab==1.0.2
greenlet==0.4.15
gunicorn==20.0.4
idna==2.8
importlib-metadata==1.4.0
itsdangerous==1.1.0
Jinja2==2.10.3
jmespath==0.9.4
kombu==4.6.7
lxml==4.4.2
Mako==1.1.0
MarkupSafe==1.1.1
more-itertools==8.1.0
oss2==2.9.1
pycryptodome==3.9.4
pymongo==3.10.0
PyMySQL==0.9.3
python-dateutil==2.8.1
python-editor==1.0.4
pytz==2019.3
redis==3.3.11
requests==2.22.0
six==1.13.0
SQLAlchemy==1.3.12
urllib3==1.25.7
vine==1.3.0
Werkzeug==0.16.0
zipp==2.0.0
"><pre class="notranslate"><code class="notranslate">alembic==1.3.2
aliyun-python-sdk-core==2.13.13
aliyun-python-sdk-core-v3==2.13.11
aliyun-python-sdk-kms==2.9.0
amqp==2.5.2
billiard==3.6.1.0
celery==4.4.0
certifi==2019.11.28
chardet==3.0.4
Click==7.0
configparser==4.0.2
crcmod==1.7
Flask==1.1.1
Flask-Caching==1.8.0
Flask-Migrate==2.5.2
Flask-Script==2.0.6
Flask-SQLAlchemy==2.4.1
gevent==1.4.0
gitlab==1.0.2
greenlet==0.4.15
gunicorn==20.0.4
idna==2.8
importlib-metadata==1.4.0
itsdangerous==1.1.0
Jinja2==2.10.3
jmespath==0.9.4
kombu==4.6.7
lxml==4.4.2
Mako==1.1.0
MarkupSafe==1.1.1
more-itertools==8.1.0
oss2==2.9.1
pycryptodome==3.9.4
pymongo==3.10.0
PyMySQL==0.9.3
python-dateutil==2.8.1
python-editor==1.0.4
pytz==2019.3
redis==3.3.11
requests==2.22.0
six==1.13.0
SQLAlchemy==1.3.12
urllib3==1.25.7
vine==1.3.0
Werkzeug==0.16.0
zipp==2.0.0

</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>

<details>
<p dir="auto">
N/A
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>

<details>
<p dir="auto">
</p><div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="        celery -A tasks worker --loglevel=info --pool=solo"><pre class="notranslate">        celery -A tasks worker --loglevel=info --pool=solo</pre></div>
<p dir="auto"></p>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="        from tasks import celery_app
        task_id = &quot;some_task_id&quot;
        logger.info(&quot;stoping task: %s&quot; % task_id)
        celery_app.control.revoke(task_id, terminate=True, signal='SIGKILL')"><pre class="notranslate">        <span class="pl-k">from</span> <span class="pl-s1">tasks</span> <span class="pl-k">import</span> <span class="pl-s1">celery_app</span>
        <span class="pl-s1">task_id</span> <span class="pl-c1">=</span> <span class="pl-s">"some_task_id"</span>
        <span class="pl-s1">logger</span>.<span class="pl-en">info</span>(<span class="pl-s">"stoping task: %s"</span> <span class="pl-c1">%</span> <span class="pl-s1">task_id</span>)
        <span class="pl-s1">celery_app</span>.<span class="pl-s1">control</span>.<span class="pl-en">revoke</span>(<span class="pl-s1">task_id</span>, <span class="pl-s1">terminate</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">signal</span><span class="pl-c1">=</span><span class="pl-s">'SIGKILL'</span>)</pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>

<p dir="auto">task should be terminated</p>
<h1 dir="auto">Actual Behavior</h1>

<p dir="auto">task can't be terminate</p>
<p dir="auto">when using  "celery -A tasks worker --loglevel=info <del>--pool=solo</del>" to start celery, There is no problem</p>