Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807031 - dev-python/moto-2.2.0 fails tests
Summary: dev-python/moto-2.2.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 814716
  Show dependency tree
 
Reported: 2021-08-07 20:01 UTC by Agostino Sarubbo
Modified: 2021-10-18 05:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,651.58 KB, text/plain)
2021-08-07 20:01 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-08-07 20:01:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/moto-2.2.0 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-08-07 20:01:10 UTC
Created attachment 731221 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-08-07 20:01:12 UTC
Possible context of error(s):

ERROR    moto.batch.models:models.py:551 Failed to run AWS Batch container MOTO-BATCH-43e92bc0-ecb9-4dfc-a16a-66cc8c014d0f. Error Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
ERROR    moto.batch.models:models.py:551 Failed to run AWS Batch container MOTO-BATCH-45b54565-2020-49b0-9934-5d4700fad14d. Error Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
ERROR    moto.batch.models:models.py:551 Failed to run AWS Batch container MOTO-BATCH-ca91ecd0-cb5d-4e97-9a15-632f292a9ff9. Error Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
ERROR    moto.batch.models:models.py:551 Failed to run AWS Batch container MOTO-BATCH-edbd78f5-b40d-4658-9985-27be3898cc48. Error Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config2-Could not find model] PASSED [ 81%]
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config3-Could not find endpoint configuration] PASSED [ 81%]
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config4-Could not find endpoint] PASSED [ 81%]
  /var/tmp/portage/dev-python/moto-2.2.0/work/moto-2.2.0/moto/emr/models.py:600: PendingDeprecationWarning: Could not find Subnet with id: subnet-8be41cec
Comment 3 Larry the Git Cow gentoo-dev 2021-10-16 23:11:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea378fe491105805a9266c6fdbe8d11d215ae3d

commit 7ea378fe491105805a9266c6fdbe8d11d215ae3d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-16 23:10:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-16 23:11:28 +0000

    dev-python/moto: skip network/docker tests
    
    Closes: https://bugs.gentoo.org/807031
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/moto/moto-2.2.6.ebuild | 8 ++++++++
 dev-python/moto/moto-2.2.9.ebuild | 8 ++++++++
 2 files changed, 16 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-10-18 05:09:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba31b3a42c7423833997975c7c920a97d5145bb

commit 8ba31b3a42c7423833997975c7c920a97d5145bb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-18 05:08:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-18 05:09:20 +0000

    dev-python/moto: ignore tests in 2.2.6 more
    
    Bug: https://bugs.gentoo.org/814716
    Bug: https://bugs.gentoo.org/807031
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/moto/moto-2.2.6.ebuild | 7 +++++--
 dev-python/moto/moto-2.2.9.ebuild | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)