Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932263 - [guru] dev-embedded/idf-component-manager-1.5.2 fails tests: FAILED test_validator.py::TestManifestValidator::test_validate_tags_invalid_length - AssertionError: assert 1 == 2
Summary: [guru] dev-embedded/idf-component-manager-1.5.2 fails tests: FAILED test_vali...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: David Roman
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-05-20 08:28 UTC by Agostino Sarubbo
Modified: 2024-09-10 14:56 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,237.29 KB, text/plain)
2024-05-20 08:28 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-05-20 08:28:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/idf-component-manager-1.5.2 fails tests.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-20 08:28:39 UTC
Created attachment 893473 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-20 08:28:40 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


            except ValueError:
        except UnicodeError:
E               ConnectionRefusedError: [Errno 111] Connection refused
E           idf_component_tools.registry.api_client_errors.NetworkConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/components/example/cmp/versions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7319e2601c90>: Failed to establish a new connection: [Errno 111] Connection refused'))
E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/components/example/cmp/versions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7319e2601c90>: Failed to establish a new connection: [Errno 111] Connection refused'))
E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/components/example/cmp/versions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7319e2601c90>: Failed to establish a new connection: [Errno 111] Connection refused'))
E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7319e2601c90>: Failed to establish a new connection: [Errno 111] Connection refused
E       AssertionError: assert 'ec2dcddbc9340dd9f363da95df2ea99a6c6408f701ce62dfbf66743e3489031d' == '7169f4c78d49021379e0df0e288440ab2df1cf694119b56d5c5bac22ef7833ab'
E       AssertionError: assert 'http://localhost:5000/api/' == 'https://example.com/api/'
E       AssertionError: assert ('http://localhost:5000/api/', None) == ('http://example.com/api/', None)
E       AssertionError: assert ('http://localhost:5000/api/', None) == ('http://example.com/api/', ['http://example.com'])
E       AssertionError: assert ('http://localhost:5000/api/', None) == ('https://components.espressif.com/api/', ['https://components-file.espressif.com/'])
E       AssertionError: assert ('http://localhost:5000/api/', None) == (None, ['http://example.com', 'https://test.com'])
E       AssertionError: assert ('http://localhost:5000/api/', None) == (None, ['http://example.com/'])
E       AssertionError: assert ('https://registry.com/api/', None) == ('http://localhost:5000/api/', None)
E       AssertionError: assert (None, ['https://storage.com/', 'https://test.com/']) == ('http://localhost:5000/api/', ['https://storage.com/', 'https://test.com/'])
E       AssertionError: assert (None, ['https://storage.com/']) == ('http://localhost:5000/api/', ['https://storage.com/'])
E       AssertionError: assert 1 == 2
E       AssertionError: assert False
FAILED tests/manifest/test_validator.py::TestManifestValidator::test_validate_links_wrong_git - AssertionError: assert 1 == 2
FAILED tests/manifest/test_validator.py::TestManifestValidator::test_validate_links_wrong_url - AssertionError: assert 1 == 2
FAILED tests/manifest/test_validator.py::TestManifestValidator::test_validate_tags_invalid_length - AssertionError: assert 1 == 2
FAILED tests/manifest/test_validator.py::TestManifestValidator::test_validate_tags_invalid_symbols - AssertionError: assert 1 == 2
FAILED tests/test_api_client.py::TestAPIClient::test_no_registry_url_error - idf_component_tools.registry.api_client_errors.NetworkConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/components/example/cmp/versions (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7319e2601c90>: Failed to establish a new connection: [Errno 111] Connection refused'))
FAILED tests/test_component_manager.py::test_create_example_component_not_exist - vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('tests/fixtures/vcr_cassettes/test_create_example_component_not_exist.yaml') in your current record mode (<RecordMode.ONCE: 'once'>).
FAILED tests/test_config.py::test_component_registry_url_multiple_storage_env - AssertionError: assert (None, ['https://storage.com/', 'https://test.com/']) == ('http://localhost:5000/api/', ['https://storage.com/', 'https://test.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[None-urls1] - AssertionError: assert ('http://localhost:5000/api/', None) == ('https://components.espressif.com/api/', ['https://components-file.espressif.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile0-urls0] - AssertionError: assert ('http://localhost:5000/api/', None) == ('https://components.espressif.com/api/', ['https://components-file.espressif.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile2-urls2] - AssertionError: assert ('http://localhost:5000/api/', None) == ('https://components.espressif.com/api/', ['https://components-file.espressif.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile3-urls3] - AssertionError: assert ('http://localhost:5000/api/', None) == ('https://components.espressif.com/api/', ['https://components-file.espressif.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile4-urls4] - AssertionError: assert ('http://localhost:5000/api/', None) == ('https://components.espressif.com/api/', ['https://components-file.espressif.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile5-urls5] - AssertionError: assert ('http://localhost:5000/api/', None) == ('http://example.com/api/', None)
FAILED tests/test_config.py::test_component_registry_url_profile[profile6-urls6] - AssertionError: assert ('http://localhost:5000/api/', None) == (None, ['http://example.com/'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile7-urls7] - AssertionError: assert ('http://localhost:5000/api/', None) == ('http://example.com/api/', ['http://example.com'])
FAILED tests/test_config.py::test_component_registry_url_profile[profile8-urls8] - AssertionError: assert ('http://localhost:5000/api/', None) == (None, ['http://example.com', 'https://test.com'])
FAILED tests/test_config.py::test_component_registry_url_registry_api_env - AssertionError: assert ('https://registry.com/api/', None) == ('http://localhost:5000/api/', None)
FAILED tests/test_config.py::test_component_registry_url_storage_env - AssertionError: assert (None, ['https://storage.com/']) == ('http://localhost:5000/api/', ['https://storage.com/'])
FAILED tests/test_lock.py::TestLockManager::test_change_manifest_file_dependencies_rules - assert not True
FAILED tests/test_lock.py::TestLockManager::test_lock_dump_with_solution - AssertionError: assert False
FAILED tests/test_manifest_common_cases.py::test_manifest_hash - AssertionError: assert 'ec2dcddbc9340dd9f363da95df2ea99a6c6408f701ce62dfbf66743e3489031d' == '7169f4c78d49021379e0df0e288440ab2df1cf694119b56d5c5bac22ef7833ab'
FAILED tests/test_service_details.py::test_get_component_registry_url_with_profile - AssertionError: assert 'http://localhost:5000/api/' == 'https://example.com/api/'
FAILED tests/test_service_details.py::test_service_details_success - AssertionError: assert 'http://localhost:5000/api/' == 'https://example.com/api/'
tests/manifest/test_validator.py::TestManifestValidator::test_validate_links_wrong_git FAILED [114/481]
tests/manifest/test_validator.py::TestManifestValidator::test_validate_links_wrong_url FAILED [113/481]
tests/manifest/test_validator.py::TestManifestValidator::test_validate_tags_invalid_length FAILED [ 79/481]
tests/manifest/test_validator.py::TestManifestValidator::test_validate_tags_invalid_symbols FAILED [ 80/481]
tests/test_api_client.py::TestAPIClient::test_no_registry_url_error FAILED [192/481]
tests/test_component_manager.py::test_create_example_component_not_exist FAILED [237/481]
tests/test_config.py::test_component_registry_url_multiple_storage_env FAILED [249/481]
tests/test_config.py::test_component_registry_url_profile[None-urls1] FAILED [253/481]
tests/test_config.py::test_component_registry_url_profile[profile0-urls0] FAILED [252/481]
tests/test_config.py::test_component_registry_url_profile[profile2-urls2] FAILED [254/481]
tests/test_config.py::test_component_registry_url_profile[profile3-urls3] FAILED [255/481]
tests/test_config.py::test_component_registry_url_profile[profile4-urls4] FAILED [256/481]
tests/test_config.py::test_component_registry_url_profile[profile5-urls5] FAILED [257/481]
tests/test_config.py::test_component_registry_url_profile[profile6-urls6] FAILED [258/481]
tests/test_config.py::test_component_registry_url_profile[profile7-urls7] FAILED [259/481]
tests/test_config.py::test_component_registry_url_profile[profile8-urls8] FAILED [260/481]
tests/test_config.py::test_component_registry_url_registry_api_env FAILED [250/481]
tests/test_config.py::test_component_registry_url_storage_env FAILED  [248/481]
tests/test_core_utils.py::test_create_example_name_error[/namespace/component:example] PASSED [273/481]
tests/test_core_utils.py::test_create_example_name_error[namespace/test/component:example] PASSED [272/481]
tests/test_core_utils.py::test_create_example_name_error[t@st/component:example] PASSED [274/481]
tests/test_core_utils.py::test_create_example_name_error[test/component/example] PASSED [276/481]
tests/test_core_utils.py::test_create_example_name_error[test:component:example] PASSED [275/481]
tests/test_core_utils.py::test_parse_example_spec_version_error[test/cmp>=1.0.0.1:sample_project->=1.0.0.1] PASSED [269/481]
tests/test_core_utils.py::test_parse_example_spec_version_error[test/component>=1.2.2<=1.2.3:example->=1.2.2<=1.2.3] PASSED [271/481]
tests/test_core_utils.py::test_parse_example_spec_version_error[test>=1.1.1/component:example->=1.1.1/component] PASSED [270/481]
tests/test_lock.py::TestLockManager::test_change_manifest_file_dependencies_rules FAILED [327/481]
tests/test_lock.py::TestLockManager::test_lock_dump_with_solution FAILED [319/481]
tests/test_manifest_common_cases.py::test_manifest_hash FAILED        [333/481]
tests/test_service_details.py::test_get_component_registry_url_with_profile FAILED [394/481]
tests/test_service_details.py::test_service_details_success FAILED    [389/481]
        :param Exception error: An error encountered during the request, or
Comment 3 Larry the Git Cow gentoo-dev 2024-09-10 14:56:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ee19df6572676d7872f6d579ea7c61f0c3d73b3

commit 8ee19df6572676d7872f6d579ea7c61f0c3d73b3
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2024-09-10 14:55:36 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2024-09-10 14:55:57 +0000

    dev-embedded/idf-component-manager: drop 1.5.3
    
    Closes: https://bugs.gentoo.org/932263
    Signed-off-by: David Roman <davidroman96@gmail.com>

 dev-embedded/idf-component-manager/Manifest        |  1 -
 .../idf-component-manager-1.5.3.ebuild             | 49 ----------------------
 2 files changed, 50 deletions(-)