• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

airbnb / airflow / 6506
69%
master: 0%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 Jun 2017 03:37PM UTC
Jobs 6
Files 155
Run time 14min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
6506

push

travis-ci

Maxime Beauchemin
[AIRFLOW-1294] Backfills can loose tasks to execute

In backfills we can loose tasks to execute due to
a task
setting its own state to NONE if concurrency
limits are reached,
this makes them fall outside of the scope the
backfill is
managing hence they will not be executed.

Dear Airflow maintainers,

Please accept this PR. I understand that it will
not be reviewed until I have checked off all the
steps below!

### JIRA
- [X] My PR addresses the following [Airflow JIRA]
(https://issues.apache.org/jira/browse/AIRFLOW/)
issues and references them in the PR title. For
example, "[AIRFLOW-XXX] My Airflow PR"
    -
https://issues.apache.org/jira/browse/AIRFLOW-1294

### Description
- [X] Here are some details about my PR, including
screenshots of any UI changes:

In backfills we can loose tasks to execute due to
a task
setting its own state to NONE if concurrency
limits are reached,
this makes them fall outside of the scope the
backfill is
managing hence they will not be executed.

### Tests
- [X] My PR adds the following unit tests __OR__
does not need testing for this extremely good
reason:
Should be covered by current tests, will adjust if
required.

### Commits
- [X] My commits all reference JIRA issues in
their subject lines, and I have squashed multiple
commits if they address the same issue. In
addition, my commits follow the guidelines from
"[How to write a good git commit
message](http://chris.beams.io/posts/git-
commit/)":
    1. Subject is separated from body by a blank line
    2. Subject is limited to 50 characters
    3. Subject does not end with a period
    4. Subject uses the imperative mood ("add", not
"adding")
    5. Body wraps at 72 characters
    6. Body explains "what" and "why", not "how"

mistercrunch aoen saguziel This is a simplified
fix that should be easier to digest in 1.8.2. It
does not address all underlying issues as in
https://github.com/apache/incubator-
airflow/pull/2356 , but those can be addressed
separately and in smaller bits.

Closes #2360 from bolkedebruin/fix_race_backfill_2

7441 of 10844 relevant lines covered (68.62%)

4.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6506.1 (TOX_ENV=py27-cdh-airflow_backend_mysql) 13 Jun 2017 03:41PM UTC 0
68.23
Travis Job 6506.1
2 6506.2 (TOX_ENV=py27-cdh-airflow_backend_sqlite) 13 Jun 2017 03:37PM UTC 0
68.4
Travis Job 6506.2
3 6506.3 (TOX_ENV=py27-cdh-airflow_backend_postgres) 13 Jun 2017 03:43PM UTC 0
68.28
Travis Job 6506.3
4 6506.4 (TOX_ENV=py34-cdh-airflow_backend_mysql) 13 Jun 2017 03:49PM UTC 0
67.87
Travis Job 6506.4
5 6506.5 (TOX_ENV=py34-cdh-airflow_backend_sqlite) 13 Jun 2017 03:43PM UTC 0
68.02
Travis Job 6506.5
6 6506.6 (TOX_ENV=py34-cdh-airflow_backend_postgres) 13 Jun 2017 03:51PM UTC 0
67.9
Travis Job 6506.6
Source Files on build 6506
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6506
  • 570b2ed3 on github
  • Prev Build on v1-8-test (#6479)
  • Next Build on v1-8-test (#6507)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc