question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upstream failed whereas Upstream is alright

See original GitHub issue

Apache Airflow version: 1.10.3 on Google Cloud Composer (so 1.10.3-composer)

Kubernetes version (if you are using kubernetes) (use kubectl version): (Managed by Google Cloud Composer)

Environment:

  • Cloud provider or hardware configuration: Google Cloud Composer
  • OS (e.g. from /etc/os-release): (Managed by Google Cloud Composer)
  • Kernel (e.g. uname -a): (Managed by Google Cloud Composer)
  • Install tools: N/A
  • Others: Managed by Google Cloud Composer

What happened:

Sometimes, some steps do not run because of “Failed Upstream” (orange color) whereas upstream is alright (green color).

Examples: image

or

image

Additional informations:

  • All steps except wait_for_dump, recort_start, join and record_end are Kubernetes Pod Operator.
  • Re running by hand “orange” steps always solve the issue.

What you expected to happen:

If all upstream tasks of a given task are green, the given task should run, and not be in state “Failed Uptream”.

How to reproduce it: Run some DAGs (no need to be a specific DAG) on Airflow (via Google Cloud Composer), and the issue will happen randomly.

Anything else we need to know: I cannot reproduce this bug on my local version on Airflow, on MacOS (after about 10 trials) using the Kubernetes single-node cluster available in Docker for mac.

I’m not 100% sure this issue come from Airflow itself, but may also come from Google Cloud Composer.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
dlachassecommented, Oct 27, 2021

We’re experiencing this as well on Airflow 2.1.4

2reactions
LeandroDoldancommented, Nov 15, 2021

Facing it as well on Airflow 2.1.4

Read more comments on GitHub >

github_iconTop Results From Across the Web

DummyOperator marked upstream_failed yet all upstream ...
I'm getting an error on the wait_stg_load operator saying it's in an upstream_failed state. However all of the upstream tasks are marked as ......
Read more >
[GitHub] [airflow] potiuk closed issue #9533: Upstream failed ...
[GitHub] [airflow] potiuk closed issue #9533: Upstream failed whereas Upstream is alright · GitBox Fri, 03 Jul 2020 08:12:01 -0700.
Read more >
connect() failed (111: Connection refused) while connecting to ...
Hi all,. Followed this tutorial to get Let's Encrypt working on my Nest.js/Node server. Everything works - running sudo nginx -t returns:.
Read more >
Avoiding the Top 10 NGINX Configuration Mistakes
We help you avoid the 10 most common NGINX configuration errors, explaining the problems caused by each and how to fix them.
Read more >
502 Bad Gateway From DLB Due to Big Header from Upstream
The DLB error log showed the error "upstream sent too big header while reading response header from upstream". If the API proxy response ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found