Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935918 - dev-python/moto-5.0.11 fails tests: FAILED test_server.py::test_s3_server_post_cors_multiple_origins - requests.exceptions.ConnectionError: HTTPConnectionPool(host=testcors.localhost, port=6789): Max retries exceeded with url: / (Caused by NameResolution
Summary: dev-python/moto-5.0.11 fails tests: FAILED test_server.py::test_s3_server_pos...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-13 04:41 UTC by Agostino Sarubbo
Modified: 2024-07-13 04:41 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,230.98 KB, application/x-xz)
2024-07-13 04:41 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 2024-07-13 04:41:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/moto-5.0.11 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-13 04:41:35 UTC
Created attachment 897513 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-13 04:41:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


            except ValueError:
E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.localhost', port=5001): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x777c15d2d240>: Failed to resolve 'foo.localhost' ([Errno -3] Try again)"))
E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='testcors.localhost', port=6789): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x711c22c7c2b0>: Failed to resolve 'testcors.localhost' ([Errno -3] Try again)"))
E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.localhost', port=5001): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x777c15d2d240>: Failed to resolve 'foo.localhost' ([Errno -3] Try again)"))
E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='testcors.localhost', port=6789): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x711c22c7c2b0>: Failed to resolve 'testcors.localhost' ([Errno -3] Try again)"))
E           urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0x711c22c7c2b0>: Failed to resolve 'testcors.localhost' ([Errno -3] Try again)
E           urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0x777c15d2d240>: Failed to resolve 'foo.localhost' ([Errno -3] Try again)
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header - requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.localhost', port=5001): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x777c15d2d240>: Failed to resolve 'foo.localhost' ([Errno -3] Try again)"))
FAILED tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins - requests.exceptions.ConnectionError: HTTPConnectionPool(host='testcors.localhost', port=6789): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPConnection object at 0x711c22c7c2b0>: Failed to resolve 'testcors.localhost' ([Errno -3] Try again)"))
[gw0] [7351/8591] PASSED tests/test_autoscaling/test_launch_configurations.py::test_invalid_launch_configuration_request_raises_error[No InstanceId, ImageId, or InstanceType parameters] 
[gw0] [7352/8591] PASSED tests/test_autoscaling/test_launch_configurations.py::test_invalid_launch_configuration_request_raises_error[ImageId without InstanceType parameter] 
[gw0] [7357/8591] PASSED tests/test_autoscaling/test_launch_configurations.py::test_invalid_launch_configuration_request_raises_error[InstanceType without ImageId parameter] 
[gw12] [4226/8591] FAILED tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header 
[gw13] [1988/8591] FAILED tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins 
[gw13] [3680/8591] PASSED tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config1-Notebook Instance Lifecycle Config does not exist] 
[gw13] [3685/8591] PASSED tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config2-Could not find model] 
[gw13] [3693/8591] PASSED tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config3-Could not find endpoint configuration] 
[gw13] [3701/8591] PASSED tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config4-Could not find endpoint] 
[gw8] [2158/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[CoreDefinitionVersionArn-123-Cores definition reference does not exist] 
[gw8] [2165/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[CoreDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/cores/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Cores definition reference does not exist] 
[gw8] [2171/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[DeviceDefinitionVersionArn-123-Devices definition reference does not exist] 
[gw8] [2176/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[DeviceDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/devices/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Devices definition reference does not exist] 
[gw8] [2183/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[FunctionDefinitionVersionArn-123-Lambda definition reference does not exist] 
[gw8] [2188/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[FunctionDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/functions/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Lambda definition reference does not exist] 
[gw8] [2197/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[ResourceDefinitionVersionArn-123-Resource definition reference does not exist] 
[gw8] [2202/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[ResourceDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/resources/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Resource definition reference does not exist] 
[gw8] [2210/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[SubscriptionDefinitionVersionArn-123-Subscription definition reference does not exist] 
[gw8] [2215/8591] PASSED tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[SubscriptionDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/subscriptions/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Subscription definition reference does not exist] 
tests/test_autoscaling/test_launch_configurations.py::test_invalid_launch_configuration_request_raises_error[ImageId without InstanceType parameter] 
tests/test_autoscaling/test_launch_configurations.py::test_invalid_launch_configuration_request_raises_error[InstanceType without ImageId parameter] 
tests/test_autoscaling/test_launch_configurations.py::test_invalid_launch_configuration_request_raises_error[No InstanceId, ImageId, or InstanceType parameters] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[CoreDefinitionVersionArn-123-Cores definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[CoreDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/cores/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Cores definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[DeviceDefinitionVersionArn-123-Devices definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[DeviceDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/devices/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Devices definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[FunctionDefinitionVersionArn-123-Lambda definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[FunctionDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/functions/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Lambda definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[ResourceDefinitionVersionArn-123-Resource definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[ResourceDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/resources/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Resource definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[SubscriptionDefinitionVersionArn-123-Subscription definition reference does not exist] 
tests/test_greengrass/test_greengrass_groups.py::test_create_group_version_with_invalid_version_arn[SubscriptionDefinitionVersionArn-arn:aws:greengrass:ap-northeast-1:944137583148:/greengrass/definition/subscriptions/fc3b3e5b-f1ce-4639-88d3-3ad897d95b2a/versions/dd0f800c-246c-4973-82cf-45b109cbd99b-Subscription definition reference does not exist] 
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config1-Notebook Instance Lifecycle Config does not exist] 
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config2-Could not find model] 
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config3-Could not find endpoint configuration] 
tests/test_sagemaker/test_sagemaker_cloudformation.py::test_sagemaker_cloudformation_notebook_instance_delete[test_config4-Could not find endpoint] 
E       socket.gaierror: [Errno -3] Try again