Skip to content

Comments

AWS system test example_redshift: increase timeout#31418

Merged
eladkal merged 1 commit intoapache:mainfrom
aws-mwaa:vincbeck/system-test/redshift
May 19, 2023
Merged

AWS system test example_redshift: increase timeout#31418
eladkal merged 1 commit intoapache:mainfrom
aws-mwaa:vincbeck/system-test/redshift

Conversation

@vincbeck
Copy link
Contributor

Some of our recent system test execution failed because a sensor timed out waiting the cluster to be available. See errors below:

INFO     airflow.task:taskinstance.py:1358 Executing <Task(RedshiftClusterSensor): wait_cluster_available_after_resume> on 2021-01-01T00:00:00+00:00
INFO     airflow.task.operators:redshift_cluster.py:64 Poked cluster env123917c5-redshift-cluster for status 'available', found status 'resuming'
ERROR    airflow.task:taskinstance.py:1903 Task failed with exception
--
Traceback (most recent call last):
File "/opt/airflow/airflow/sensors/base.py", line 242, in execute
raise AirflowSensorTimeout(message)
airflow.exceptions.AirflowSensorTimeout: Sensor has timed out; run duration of 905.869984 seconds exceeds the specified timeout of 900.

Let's increase the timeouts avoid this kind of timeouts


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@eladkal eladkal merged commit 1bc791e into apache:main May 19, 2023
@vincbeck vincbeck deleted the vincbeck/system-test/redshift branch June 5, 2023 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants