Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942327 - sci-libs/tokenizers-0.20.1 fails tests: FAILED test_trainers.py::TestUnigram::test_continuing_prefix_trainer_mistmatch - Exception: No such file or directory (os error 2)
Summary: sci-libs/tokenizers-0.20.1 fails tests: FAILED test_trainers.py::TestUnigram:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-10-27 10:00 UTC by Agostino Sarubbo
Modified: 2024-10-27 13:07 UTC (History)
0 users

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


Attachments
build.log (build.log,511.63 KB, text/plain)
2024-10-27 10:00 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-10-27 10:00:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/tokenizers-0.20.1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-27 10:00:01 UTC
Created attachment 906986 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-27 10:00:02 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       Exception: No such file or directory (os error 2)
E           requests.exceptions.ConnectionError: HTTPSConnectionPool(host='norvig.com', port=443): Max retries exceeded with url: /big.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ad9be25dcd0>: Failed to resolve 'norvig.com' ([Errno -3] Temporary failure in name resolution)"))
E           requests.exceptions.ConnectionError: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /models.huggingface.co/bert/bert-base-uncased-vocab.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ae9d0e72180>: Failed to resolve 's3.amazonaws.com' ([Errno -3] Temporary failure in name resolution)"))
ERROR tests/bindings/test_models.py::TestWordPiece::test_instantiate - requests.exceptions.ConnectionError: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /models.huggingface.co/bert/bert-base-uncased-vocab.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ae9d0e72180>: Failed to resolve 's3.amazonaws.com' ([Errno -3] Temporary failure in name resolution)"))
ERROR tests/documentation/test_tutorial_train_from_iterators.py::TestTrainFromIterators::test_gzip - requests.exceptions.ConnectionError: HTTPSConnectionPool(host='norvig.com', port=443): Max retries exceeded with url: /big.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ad9be25dcd0>: Failed to resolve 'norvig.com' ([Errno -3] Temporary failure in name resolution)"))
E           urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='norvig.com', port=443): Max retries exceeded with url: /big.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ad9be25dcd0>: Failed to resolve 'norvig.com' ([Errno -3] Temporary failure in name resolution)"))
E           urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='s3.amazonaws.com', port=443): Max retries exceeded with url: /models.huggingface.co/bert/bert-base-uncased-vocab.txt (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7ae9d0e72180>: Failed to resolve 's3.amazonaws.com' ([Errno -3] Temporary failure in name resolution)"))
E           urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7ad9be25dcd0>: Failed to resolve 'norvig.com' ([Errno -3] Temporary failure in name resolution)
E           urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x7ae9d0e72180>: Failed to resolve 's3.amazonaws.com' ([Errno -3] Temporary failure in name resolution)
            except ValueError:
FAILED tests/bindings/test_trainers.py::TestUnigram::test_continuing_prefix_trainer_mistmatch - Exception: No such file or directory (os error 2)
tests/bindings/test_trainers.py::TestUnigram::test_continuing_prefix_trainer_mistmatch FAILED [114/128]
E       socket.gaierror: [Errno -3] Temporary failure in name resolution
Comment 3 Larry the Git Cow gentoo-dev 2024-10-27 13:07:58 UTC
The bug has been closed via the following commit(s):

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

commit ea954079af6a11a5d5451daeec5652fed1b2c72b
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-10-27 13:06:59 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-10-27 13:07:36 +0000

    sci-libs/tokenizers: drop other network tests
    
    Closes: https://bugs.gentoo.org/942327
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 sci-libs/tokenizers/tokenizers-0.20.1.ebuild | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)