<p dir="auto"><strong>Apache Airflow version</strong>:<br>
1.10.11</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): NA</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>: AWS (EC2 instances)</li>
<li><strong>OS</strong> (e.g. from /etc/os-release):</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="NAME=&quot;Amazon Linux&quot;
VERSION=&quot;2&quot;
ID=&quot;amzn&quot;
ID_LIKE=&quot;centos rhel fedora&quot;
VERSION_ID=&quot;2&quot;
PRETTY_NAME=&quot;Amazon Linux 2&quot;
ANSI_COLOR=&quot;0;33&quot;
CPE_NAME=&quot;cpe:2.3:o:amazon:amazon_linux:2&quot;
HOME_URL=&quot;https://amazonlinux.com/&quot;"><pre class="notranslate"><code class="notranslate">NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
</code></pre></div>
<ul dir="auto">
<li>
<p dir="auto"><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):<br>
<code class="notranslate">Linux airflow-scheduler-10-229-13-220 4.14.165-131.185.amzn2.x86_64 #1 SMP Wed Jan 15 14:19:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux</code></p>
</li>
<li>
<p dir="auto"><strong>Install tools</strong>:</p>
</li>
<li>
<p dir="auto"><strong>Others</strong>:</p>
</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">When manually invoke a task from the task details dialog, we see the task running for approximately 22 seconds before we see the following appear in the log...</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[2020-07-28 01:25:14,726] {local_task_job.py:150} WARNING - Recorded pid 26940 does not match the current pid 26751
[2020-07-28 01:25:14,728] {helpers.py:325} INFO - Sending Signals.SIGTERM to GPID 26757"><pre class="notranslate"><code class="notranslate">[2020-07-28 01:25:14,726] {local_task_job.py:150} WARNING - Recorded pid 26940 does not match the current pid 26751
[2020-07-28 01:25:14,728] {helpers.py:325} INFO - Sending Signals.SIGTERM to GPID 26757
</code></pre></div>
<p dir="auto">The task then is killed. We notice this is accompanied with a second failure shortly afterwards that correlates to the new pid that has been written to the <code class="notranslate">task_instance</code> table.</p>
<p dir="auto">It is interesting to note that if the task is scheduled as part of a normal dag run, or by clearing state and allowing the schedular to schedule its execution then we do not experience any issue.</p>
<p dir="auto">We have attempted to specify <code class="notranslate">task_concurrency</code> on our operators with no effect.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
We expected a single process to be spawned for the manually executed task.</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
Manually invoke a task via the task details dialog where that task execution is going to be longer than the heart rate interval that has been set.</p>
<p dir="auto">The heart rate checks the pid and sees a mismatch and so kills the task.</p>
<p dir="auto"><strong>Anything else we need to know</strong>:</p>
<p dir="auto">We can produce this reliably if the task execution time is &gt; than the heart rate interval.</p>
<p dir="auto"><strong>Apache Airflow version</strong>: master branch</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>): N/A</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li>breeze</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Running <code class="notranslate">./breeze build-docs</code> prints warnings related to <code class="notranslate">airflow.providers.google.common.hooks.discovery_api</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst:2: WARNING: Title underline too short.

:mod:`airflow.providers.google.common.hooks.base`
================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:2: WARNING: Title underline too short.

:mod:`airflow.providers.google.common.hooks.discovery_api`
=========================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... /opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/facebook_ads_to_gcs/index.rst: WARNING: document isn't included in any toctree
done"><pre class="notranslate"><code class="notranslate">/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst:2: WARNING: Title underline too short.

:mod:`airflow.providers.google.common.hooks.base`
================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:2: WARNING: Title underline too short.

:mod:`airflow.providers.google.common.hooks.discovery_api`
=========================================================
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/common/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:4: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:15: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:33: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:39: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.get_conn, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:49: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook.query, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:72: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._call_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:77: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:82: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._paginate_api, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
/opt/airflow/docs/_api/airflow/providers/google/common/hooks/discovery_api/index.rst:87: WARNING: duplicate object description of airflow.providers.google.common.hooks.discovery_api.GoogleDiscoveryApiHook._build_next_api_request, other instance in _api/airflow/providers/google/cloud/hooks/discovery_api/index, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... /opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/base/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/cloud/hooks/discovery_api/index.rst: WARNING: document isn't included in any toctree
/opt/airflow/docs/_api/airflow/providers/google/facebook_ads_to_gcs/index.rst: WARNING: document isn't included in any toctree
done
</code></pre></div>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">Clean docs build</p>
<p dir="auto"><strong>How to reproduce it</strong>:<br>
Run <code class="notranslate">./breeze build-docs</code></p>