Skip to content

The build failed #6974

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

Closed
flaky-bot bot opened this issue Oct 27, 2021 · 5 comments · Fixed by #7072
Closed

The build failed #6974

flaky-bot bot opened this issue Oct 27, 2021 · 5 comments · Fixed by #7072
Assignees
Labels
api: dataflow Issues related to the Dataflow API. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@flaky-bot
Copy link

flaky-bot bot commented Oct 27, 2021

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: 34bdda2
buildURL: Build Status, Sponge
status: failed

Test output
ImportError while importing test module '/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/dags/example_dag_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
dags/example_dag_test.py:15: in 
    from airflow import models
.nox/py-3-10/lib/python3.10/site-packages/airflow/__init__.py:31: in 
    from airflow.utils.log.logging_mixin import LoggingMixin
.nox/py-3-10/lib/python3.10/site-packages/airflow/utils/__init__.py:24: in 
    from .decorators import apply_defaults as _apply_defaults
.nox/py-3-10/lib/python3.10/site-packages/airflow/utils/decorators.py:36: in 
    from airflow import settings
.nox/py-3-10/lib/python3.10/site-packages/airflow/settings.py:38: in 
    from airflow.configuration import conf, AIRFLOW_HOME, WEBSERVER_CONFIG  # NOQA F401
.nox/py-3-10/lib/python3.10/site-packages/airflow/configuration.py:41: in 
    from backports.configparser import ConfigParser, _UNSET, NoOptionError, NoSectionError
.nox/py-3-10/lib/python3.10/site-packages/backports/configparser/__init__.py:130: in 
    from collections import MutableMapping
E   ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)
@flaky-bot flaky-bot bot added flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Oct 27, 2021
@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Oct 27, 2021
@kurtisvg kurtisvg added the api: composer Issues related to the Cloud Composer API. label Oct 27, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Oct 28, 2021

commit: c8124c7
buildURL: Build Status, Sponge
status: failed

Test output
ImportError while importing test module '/workspace/composer/blog/gcp-tech-blog/unit-test-dags-cloud-build/dags/example_dag_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
dags/example_dag_test.py:15: in 
    from airflow import models
.nox/py-3-10/lib/python3.10/site-packages/airflow/__init__.py:31: in 
    from airflow.utils.log.logging_mixin import LoggingMixin
.nox/py-3-10/lib/python3.10/site-packages/airflow/utils/__init__.py:24: in 
    from .decorators import apply_defaults as _apply_defaults
.nox/py-3-10/lib/python3.10/site-packages/airflow/utils/decorators.py:36: in 
    from airflow import settings
.nox/py-3-10/lib/python3.10/site-packages/airflow/settings.py:38: in 
    from airflow.configuration import conf, AIRFLOW_HOME, WEBSERVER_CONFIG  # NOQA F401
.nox/py-3-10/lib/python3.10/site-packages/airflow/configuration.py:41: in 
    from backports.configparser import ConfigParser, _UNSET, NoOptionError, NoSectionError
.nox/py-3-10/lib/python3.10/site-packages/backports/configparser/__init__.py:130: in 
    from collections import MutableMapping
E   ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)

gcf-merge-on-green bot pushed a commit that referenced this issue Oct 28, 2021
## Description

This will address the composer part of #6974 

Note: It's a good idea to open an issue first for discussion.

## Checklist
- [x] I have followed [Sample Guidelines from AUTHORING_GUIDE.MD](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md)
- [x] README is updated to include [all relevant information](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#readme-file)
- [x] **Tests** pass:   `nox -s py-3.6` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup))
- [x] **Lint** pass:   `nox -s lint` (see [Test Environment Setup](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/AUTHORING_GUIDE.md#test-environment-setup))
- [ ] These samples need a new **API enabled** in testing projects to pass (let us know which ones)
- [ ] These samples need a new/updated **env vars** in testing projects set to pass (let us know which ones)
- [x] Please **merge** this PR for me once it is approved.
- [ ] This sample adds a new sample directory, and I updated the [CODEOWNERS file](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/.github/CODEOWNERS) with the codeowners for this sample
@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Nov 3, 2021
@flaky-bot
Copy link
Author

flaky-bot bot commented Nov 4, 2021

commit: 92cce97
buildURL: Build Status, Sponge
status: failed

@flaky-bot
Copy link
Author

flaky-bot bot commented Nov 5, 2021

commit: 71db7d3
buildURL: Build Status, Sponge
status: failed

@flaky-bot
Copy link
Author

flaky-bot bot commented Nov 6, 2021

commit: dd6ff76
buildURL: Build Status, Sponge
status: failed

@flaky-bot
Copy link
Author

flaky-bot bot commented Nov 9, 2021

commit: c91297f
buildURL: Build Status, Sponge
status: failed

@leahecole leahecole linked a pull request Nov 9, 2021 that will close this issue
8 tasks
@leahecole leahecole added api: dataflow Issues related to the Dataflow API. and removed api: composer Issues related to the Cloud Composer API. labels Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dataflow Issues related to the Dataflow API. flakybot: issue An issue filed by the Flaky Bot. Should not be added manually. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. 🚨 This issue needs some love. samples Issues that are directly related to samples. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants