<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"> 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" checked=""> 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>: 5.0?5</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="$ venv/bin/celery -A celery_worker.celery_app worker --loglevel=info
2021-01-25 14:59:57,746 - job - INFO - __init__ - Starting job celery worker in version 1.4.3
2021-01-25 14:59:57,750 - job - INFO - database - Initializing connection to database...
2021-01-25 14:59:57,752 - job - INFO - database - Connected !
2021-01-25 14:59:57,768 - job - DEBUG - __init__ - Registring celery tasks...
2021-01-25 14:59:58,056 - job - DEBUG - __init__ - Registered !
2021-01-25 14:59:58,056 - job - INFO - __init__ - Celery workers started !
[2021-01-25 14:59:58,101: DEBUG/MainProcess] | Worker: Preparing bootsteps.
[2021-01-25 14:59:58,104: DEBUG/MainProcess] | Worker: Building graph...
[2021-01-25 14:59:58,105: DEBUG/MainProcess] | Worker: New boot order: {StateDB, Beat, Timer, Hub, Pool, Autoscaler, Consumer}
[2021-01-25 14:59:58,120: DEBUG/MainProcess] | Consumer: Preparing bootsteps.
[2021-01-25 14:59:58,120: DEBUG/MainProcess] | Consumer: Building graph...
[2021-01-25 14:59:58,161: DEBUG/MainProcess] | Consumer: New boot order: {Connection, Agent, Events, Mingle, Tasks, Control, Heart, Gossip, event loop}

 -------------- celery@hostname v5.0.5 (singularity)
--- ***** -----
-- ******* ---- Linux-3.10.0-514.21.2.el7.x86_64-x86_64-with-redhat-7.3-Maipo 2021-01-25 14:59:58
- *** --- * ---
- ** ---------- [config]
- ** ---------- .&gt; app:         job:0x7fc7ac843d90
- ** ---------- .&gt; transport:   amqp://celery:**@localhost:5672//job_celery
- ** ---------- .&gt; results:     mongodb://
- *** --- * --- .&gt; concurrency: 8 (prefork)
-- ******* ---- .&gt; task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
 -------------- [queues]
                .&gt; celery           exchange=celery(direct) key=celery


[tasks]
  . app.lib.celery_beat._delete_from_schedule
  . app.lib.celery_beat._update_job_schedule
  . app.lib.celery_beat.schedule_job
"><pre class="notranslate"><code class="notranslate">$ venv/bin/celery -A celery_worker.celery_app worker --loglevel=info
2021-01-25 14:59:57,746 - job - INFO - __init__ - Starting job celery worker in version 1.4.3
2021-01-25 14:59:57,750 - job - INFO - database - Initializing connection to database...
2021-01-25 14:59:57,752 - job - INFO - database - Connected !
2021-01-25 14:59:57,768 - job - DEBUG - __init__ - Registring celery tasks...
2021-01-25 14:59:58,056 - job - DEBUG - __init__ - Registered !
2021-01-25 14:59:58,056 - job - INFO - __init__ - Celery workers started !
[2021-01-25 14:59:58,101: DEBUG/MainProcess] | Worker: Preparing bootsteps.
[2021-01-25 14:59:58,104: DEBUG/MainProcess] | Worker: Building graph...
[2021-01-25 14:59:58,105: DEBUG/MainProcess] | Worker: New boot order: {StateDB, Beat, Timer, Hub, Pool, Autoscaler, Consumer}
[2021-01-25 14:59:58,120: DEBUG/MainProcess] | Consumer: Preparing bootsteps.
[2021-01-25 14:59:58,120: DEBUG/MainProcess] | Consumer: Building graph...
[2021-01-25 14:59:58,161: DEBUG/MainProcess] | Consumer: New boot order: {Connection, Agent, Events, Mingle, Tasks, Control, Heart, Gossip, event loop}

 -------------- celery@hostname v5.0.5 (singularity)
--- ***** -----
-- ******* ---- Linux-3.10.0-514.21.2.el7.x86_64-x86_64-with-redhat-7.3-Maipo 2021-01-25 14:59:58
- *** --- * ---
- ** ---------- [config]
- ** ---------- .&gt; app:         job:0x7fc7ac843d90
- ** ---------- .&gt; transport:   amqp://celery:**@localhost:5672//job_celery
- ** ---------- .&gt; results:     mongodb://
- *** --- * --- .&gt; concurrency: 8 (prefork)
-- ******* ---- .&gt; task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
 -------------- [queues]
                .&gt; celery           exchange=celery(direct) key=celery


[tasks]
  . app.lib.celery_beat._delete_from_schedule
  . app.lib.celery_beat._update_job_schedule
  . app.lib.celery_beat.schedule_job

</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</li>
<li><strong>Minimal Celery Version</strong>: 5.0.5</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: RabbitMQ 3.8.0</li>
<li><strong>Minimal Result Backend Version</strong>: MongoDb 4.2.0</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: Redhat7 3.10.0-514.21.2.el7.x86_64</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==5.0.3
astroid==2.3.3
attrs==19.3.0
autopep8==1.4.4
Babel==2.7.0
billiard==3.6.3.0
celery==5.0.5
celerybeat-mongo==0.2.0
celerybeatmongo==0.1.2
certifi==2019.9.11
cffi==1.14.0
chardet==3.0.4
Click==7.0
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.1.6
coverage==4.5.4
cryptography==2.9.2
fernet==1.0.1
fixtures-mongoengine==1.3.1
Flask==1.1.1
Flask-Babel==0.12.2
Flask-Session==0.3.1
Flask-WTF==0.14.2
idna==2.8
importlib-metadata==1.5.0
isodate==0.6.0
isort==4.3.21
itsdangerous==1.1.0
Jinja2==2.11.1
jsonschema==3.2.0
kombu==5.0.2
lazy-object-proxy==1.4.3
MarkupSafe==1.1.1
marshmallow==3.6.1
mccabe==0.6.1
mongoengine==0.18.2
paho-mqtt==1.4.0
prompt-toolkit==3.0.11
pyaes==1.6.1
pycodestyle==2.5.0
pycparser==2.20
pylint==2.4.2
pymongo==3.9.0
pyrsistent==0.15.7
python-dateutil==2.8.1
pytz==2019.3
PyYAML==5.3
requests==2.22.0
semver==2.9.0
six==1.12.0
typed-ast==1.4.1
urllib3==1.25.6
vine==5.0.0
wcwidth==0.2.5
Werkzeug==0.16.0
wrapt==1.11.2
WTForms==2.2.1
zipp==2.1.0"><pre class="notranslate"><code class="notranslate">amqp==5.0.3
astroid==2.3.3
attrs==19.3.0
autopep8==1.4.4
Babel==2.7.0
billiard==3.6.3.0
celery==5.0.5
celerybeat-mongo==0.2.0
celerybeatmongo==0.1.2
certifi==2019.9.11
cffi==1.14.0
chardet==3.0.4
Click==7.0
click-didyoumean==0.0.3
click-plugins==1.1.1
click-repl==0.1.6
coverage==4.5.4
cryptography==2.9.2
fernet==1.0.1
fixtures-mongoengine==1.3.1
Flask==1.1.1
Flask-Babel==0.12.2
Flask-Session==0.3.1
Flask-WTF==0.14.2
idna==2.8
importlib-metadata==1.5.0
isodate==0.6.0
isort==4.3.21
itsdangerous==1.1.0
Jinja2==2.11.1
jsonschema==3.2.0
kombu==5.0.2
lazy-object-proxy==1.4.3
MarkupSafe==1.1.1
marshmallow==3.6.1
mccabe==0.6.1
mongoengine==0.18.2
paho-mqtt==1.4.0
prompt-toolkit==3.0.11
pyaes==1.6.1
pycodestyle==2.5.0
pycparser==2.20
pylint==2.4.2
pymongo==3.9.0
pyrsistent==0.15.7
python-dateutil==2.8.1
pytz==2019.3
PyYAML==5.3
requests==2.22.0
semver==2.9.0
six==1.12.0
typed-ast==1.4.1
urllib3==1.25.6
vine==5.0.0
wcwidth==0.2.5
Werkzeug==0.16.0
wrapt==1.11.2
WTForms==2.2.1
zipp==2.1.0
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>

<details>
<p dir="auto">
</p><p dir="auto">Logs for celery beat worker</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2021-01-25 16:01:36,438 - job - INFO - __init__ - Starting job beat in version 1.4.3
2021-01-25 16:01:36,442 - job - INFO - database - Initializing connection to database...
2021-01-25 16:01:36,445 - job - INFO - database - Connected !
2021-01-25 16:01:36,460 - job - DEBUG - __init__ - Registring celery beats...
2021-01-25 16:01:36,833 - job - DEBUG - __init__ - Registered !
2021-01-25 16:01:36,833 - job - INFO - __init__ - Celery beats started !
celery beat v5.0.5 (singularity) is starting.
__    -    ... __   -        _
LocalTime -&gt; 2021-01-25 16:01:36
Configuration -&gt;
    . broker -&gt; amqp://celery:**@localhost:5672//job_celery
    . loader -&gt; celery.loaders.app.AppLoader
    . scheduler -&gt; celerybeatmongo.schedulers.MongoScheduler

    . logfile -&gt; [stderr]@%DEBUG
    . maxinterval -&gt; 5.00 seconds (5s)
[2021-01-25 16:01:36,894: DEBUG/MainProcess] Setting default socket timeout to 30
[2021-01-25 16:01:36,895: INFO/MainProcess] beat: Starting...
[2021-01-25 16:01:36,895: DEBUG/MainProcess] mongodb_scheduler_db: heron
[2021-01-25 16:01:36,896: DEBUG/MainProcess] mongodb_scheduler_connection_alias: job_beat
[2021-01-25 16:01:36,896: DEBUG/MainProcess] mongodb_scheduler_url: mongodb://user:password@127.0.0.1:27017
[2021-01-25 16:01:36,896: INFO/MainProcess] backend scheduler using mongodb://user:password@127.0.0.1:27017/app:job_schedules
[2021-01-25 16:01:36,896: DEBUG/MainProcess] beat: Ticking with max interval-&gt;5.00 seconds
[2021-01-25 16:01:36,896: DEBUG/MainProcess] Writing entries..."><pre class="notranslate"><code class="notranslate">2021-01-25 16:01:36,438 - job - INFO - __init__ - Starting job beat in version 1.4.3
2021-01-25 16:01:36,442 - job - INFO - database - Initializing connection to database...
2021-01-25 16:01:36,445 - job - INFO - database - Connected !
2021-01-25 16:01:36,460 - job - DEBUG - __init__ - Registring celery beats...
2021-01-25 16:01:36,833 - job - DEBUG - __init__ - Registered !
2021-01-25 16:01:36,833 - job - INFO - __init__ - Celery beats started !
celery beat v5.0.5 (singularity) is starting.
__    -    ... __   -        _
LocalTime -&gt; 2021-01-25 16:01:36
Configuration -&gt;
    . broker -&gt; amqp://celery:**@localhost:5672//job_celery
    . loader -&gt; celery.loaders.app.AppLoader
    . scheduler -&gt; celerybeatmongo.schedulers.MongoScheduler

    . logfile -&gt; [stderr]@%DEBUG
    . maxinterval -&gt; 5.00 seconds (5s)
[2021-01-25 16:01:36,894: DEBUG/MainProcess] Setting default socket timeout to 30
[2021-01-25 16:01:36,895: INFO/MainProcess] beat: Starting...
[2021-01-25 16:01:36,895: DEBUG/MainProcess] mongodb_scheduler_db: heron
[2021-01-25 16:01:36,896: DEBUG/MainProcess] mongodb_scheduler_connection_alias: job_beat
[2021-01-25 16:01:36,896: DEBUG/MainProcess] mongodb_scheduler_url: mongodb://user:password@127.0.0.1:27017
[2021-01-25 16:01:36,896: INFO/MainProcess] backend scheduler using mongodb://user:password@127.0.0.1:27017/app:job_schedules
[2021-01-25 16:01:36,896: DEBUG/MainProcess] beat: Ticking with max interval-&gt;5.00 seconds
[2021-01-25 16:01:36,896: DEBUG/MainProcess] Writing entries...
</code></pre></div>
<p dir="auto"></p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>

<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">I would like my scheduled job run at CET time.</p>
<h1 dir="auto">Actual Behavior</h1>

<p dir="auto">I have set the conf as :</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="CELERY_TIMEZONE = 'Europe/Paris'
CELERY_ENABLE_UTC = False"><pre class="notranslate"><code class="notranslate">CELERY_TIMEZONE = 'Europe/Paris'
CELERY_ENABLE_UTC = False
</code></pre></div>
<p dir="auto">I store my schedule job in mongoDB with celerybeat-mongo and each time a job run for the first time, the value of last_run_at become a datetime field in mongo in UTC and my job never run any more at the CET time.<br>
I have feeling that when getting the data from mongo, the DateTime Fields which keep the value of last_run_at, there is a problem when comparing the tzinfo.</p>
<p dir="auto">When I look at tzinfo from now(), I get <em>Europe/Paris</em> and from the last_run_at: <em>&lt;bson.tz_util.FixedOffset object at 0x7fefef163590&gt;</em><br>
But I'm not able to find where is the source of the issue, is it from celerybeat-mongo or from celery ?</p>
<p dir="auto"><code class="notranslate">Celery.send_task</code> from <code class="notranslate">base.py</code> is trying to call <code class="notranslate">AMQP.as_task_v2</code> with the <code class="notranslate">ignore_result</code> argument, which is not available on 5.0.6.</p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/celery/celery/blob/171ab0268ef65a6b4302ae423641f3d3b005afc4/celery/app/base.py#L744">celery/celery/app/base.py</a>
    </p>
    <p class="mb-0 color-fg-muted">
         Line 744
      in
      <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/171ab0268ef65a6b4302ae423641f3d3b005afc4">171ab02</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L744" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="744"></td>
          <td id="LC744" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-s1">ignore_result</span><span class="pl-c1">=</span><span class="pl-s1">ignore_result</span>, </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>
<p dir="auto"></p><div class="Box Box--condensed my-2">
  <div class="Box-header f6">
    <p class="mb-0 text-bold">
      <a href="https://github.com/celery/celery/blob/171ab0268ef65a6b4302ae423641f3d3b005afc4/celery/app/amqp.py#L280-L287">celery/celery/app/amqp.py</a>
    </p>
    <p class="mb-0 color-fg-muted">
        Lines 280 to 287
      in
      <a data-pjax="true" class="commit-tease-sha" href="/celery/celery/commit/171ab0268ef65a6b4302ae423641f3d3b005afc4">171ab02</a>
    </p>
  </div>
  <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data">
    <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">

        <tbody><tr class="border-0">
          <td id="L280" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="280"></td>
          <td id="LC280" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-k">def</span> <span class="pl-en">as_task_v2</span>(<span class="pl-s1">self</span>, <span class="pl-s1">task_id</span>, <span class="pl-s1">name</span>, <span class="pl-s1">args</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">kwargs</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L281" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="281"></td>
          <td id="LC281" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">countdown</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">eta</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">group_id</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">group_index</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L282" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="282"></td>
          <td id="LC282" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">expires</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">retries</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">chord</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L283" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="283"></td>
          <td id="LC283" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">callbacks</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">errbacks</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">reply_to</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L284" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="284"></td>
          <td id="LC284" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">time_limit</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">soft_time_limit</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L285" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="285"></td>
          <td id="LC285" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">create_sent_event</span><span class="pl-c1">=</span><span class="pl-c1">False</span>, <span class="pl-s1">root_id</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">parent_id</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L286" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="286"></td>
          <td id="LC286" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">shadow</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">chain</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">now</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">timezone</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, </td>
        </tr>

        <tr class="border-0">
          <td id="L287" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="287"></td>
          <td id="LC287" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line">                <span class="pl-s1">origin</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">argsrepr</span><span class="pl-c1">=</span><span class="pl-c1">None</span>, <span class="pl-s1">kwargsrepr</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): </td>
        </tr>
    </tbody></table>
  </div>
</div>
<p></p>

<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"> 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"> 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"> 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"> 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>:</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>: 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=""><pre class="notranslate"><code class="notranslate"></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-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>

<h1 dir="auto">Actual Behavior</h1>