Skip to content

UI/TZ issue: incorectly mapping DAGs  #9221

@ebacal

Description

@ebacal

Apache Airflow version:
1.10.9 and 1.10.10

Environment::

  • MySQL 5.7, TZ=PST
  • airflow.cfg tested with time_zone=system, Los_Angeles/America, utc

What happened:

  1. From a schedule view by clicking on DAG with Execution date 18:00 PST it maps me to 18:00 UTC DAG instance
  2. In Browse TASK INSTANCE view, sorted by state failed displays correct tasks but when I choose to clear them it clears task with UTC execution dates

How to reproduce it:

In UI click under "Schedule" on gray schedule time button for any DAG
Take first DAG and check its "Execution date"

Screen Shot 2020-06-10 at 4 12 46 PM

click on it

Screen Shot 2020-06-10 at 4 14 59 PM

open log and compare time stamps inside the log with "Execution date"

Screen Shot 2020-06-10 at 4 16 56 PM

Bonus: miscalculating execution time in UI when in TZ aware:

1.10.10

UI TZ=UTC - Correct Execution time stamp

Screen Shot 2020-06-10 at 4 28 43 PM

UI TZ=PST - Incorrect Execution time stamp

Screen Shot 2020-06-10 at 4 25 16 PM

Metadata

Metadata

Assignees

Labels

area:UIRelated to UI/UX. For Frontend Developers.area:webserverWebserver related Issueskind:bugThis is a clearly a bugpriority:lowBug with a simple workaround that would not block a release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions