Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moto 5.0.12 breaks amazon provider's RDS tests #41243

Closed
1 task done
potiuk opened this issue Aug 3, 2024 · 1 comment · Fixed by #41256
Closed
1 task done

Moto 5.0.12 breaks amazon provider's RDS tests #41243

potiuk opened this issue Aug 3, 2024 · 1 comment · Fixed by #41256
Assignees
Labels
area:providers kind:bug This is a clearly a bug kind:meta High-level information important to the community provider:amazon-aws AWS/Amazon - related issues

Comments

@potiuk
Copy link
Member

potiuk commented Aug 3, 2024

Body

The just released moto 5.0.12 breaks tests for AWS RDS

https://github.com/apache/airflow/actions/runs/10230423335/job/28305276935#step:7:919

The way to reproduce it:

  • Enter breeze breeze (you get latest constraints dependencies there)
  • Run the test pytest tests/providers/amazon/aws/sensors/test_rds.py::TestRdsExportTaskExistenceSensor::test_export_task_poke_false
  • It succeeds
  • Upgrade moto to latest version pip install --upgrade moto:
Installing collected packages: moto
  Attempting uninstall: moto
    Found existing installation: moto 5.0.11
    Uninstalling moto-5.0.11:
      Successfully uninstalled moto-5.0.11
Successfully installed moto-5.0.12
  • run the same test again

Fails with

  raise error_class(parsed_response, operation_name)
E           botocore.errorfactory.ExportTaskNotFoundFault: An error occurred (ExportTaskNotFound) when calling the DescribeExportTasks operation: Cannot cancel export task because a task with the identifier my-db-instance-snap-export is not exist.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.
@potiuk potiuk added the kind:meta High-level information important to the community label Aug 3, 2024
@dosubot dosubot bot added area:providers kind:bug This is a clearly a bug provider:amazon-aws AWS/Amazon - related issues labels Aug 3, 2024
potiuk added a commit to potiuk/airflow that referenced this issue Aug 3, 2024
@vikramaditya91
Copy link
Contributor

vikramaditya91 commented Aug 4, 2024

The reason for the failure is
getmoto/moto#7861

specifically the

+            "ExportTaskNotFound",
-            "ExportTaskNotFoundFault",

in the class ExportTaskNotFoundError

kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Nov 9, 2024
Tracked in apache/airflow#41243

GitOrigin-RevId: 181c1c3a63d999d1bcbe71c9bce4e46eaa6c1b36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers kind:bug This is a clearly a bug kind:meta High-level information important to the community provider:amazon-aws AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants