-
Notifications
You must be signed in to change notification settings - Fork 6.7k
composer.blog.gcp-tech-blog.unit-test-dags-cloud-build.dags.example_dag_test: test_dag_import failed #5502
Copy link
Copy link
Labels
api: composerIssues related to the Cloud Composer API.Issues related to the Cloud Composer API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Assignees
Labels
api: composerIssues related to the Cloud Composer API.Issues related to the Cloud Composer API.flakybot: flakyTells the Flaky Bot not to close or comment on this issue.Tells the Flaky Bot not to close or comment on this issue.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.An issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.Important issue which blocks shipping the next release. Will be fixed prior to next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
This test failed!
To configure my behavior, see the Flaky Bot documentation.
If I'm commenting on this issue too often, add the
flakybot: quietlabel andI will stop commenting.
commit: 040bea8
buildURL: Build Status, Sponge
status: failed
Test output
Traceback (most recent call last): File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/dags/example_dag_test.py", line 26, in initalize_airflow_database airflow.utils.db.initdb() File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/airflow/utils/db.py", line 323, in initdb upgradedb() File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/airflow/utils/db.py", line 386, in upgradedb command.upgrade(config, 'heads') File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/command.py", line 294, in upgrade script.run_env() File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/script/base.py", line 490, in run_env util.load_python_file(self.dir, "env.py") File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 97, in load_python_file module = load_module_py(module_id, path) File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/util/compat.py", line 182, in load_module_py spec.loader.exec_module(module) File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/airflow/migrations/env.py", line 97, in run_migrations_online() File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/airflow/migrations/env.py", line 91, in run_migrations_online context.run_migrations() File "", line 8, in run_migrations File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/runtime/environment.py", line 813, in run_migrations self.get_context().run_migrations(**kw) File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/runtime/migration.py", line 567, in run_migrations head_maintainer.update_to_step(step) File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/runtime/migration.py", line 787, in update_to_step self._update_version(from_, to_) File "/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/.nox/py-3-7/lib/python3.7/site-packages/alembic/runtime/migration.py", line 741, in _update_version % (from_, to_, self.context.version_table, ret.rowcount) alembic.util.exc.CommandError: Online migration expected to match one row when updating '08364691d074' to 'fe461863935f' in 'alembic_version'; 0 found