Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925216 - sci-libs/datasets-2.16.0 fails tests
Summary: sci-libs/datasets-2.16.0 fails tests
Status: RESOLVED OBSOLETE
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-02-22 07:40 UTC by Agostino Sarubbo
Modified: 2024-02-22 08:23 UTC (History)
0 users

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


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

Issue: sci-libs/datasets-2.16.0 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-02-22 07:40:05 UTC
Created attachment 885665 [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-02-22 07:40:05 UTC
Error(s) that match a know pattern:


E       AssertionError: '65edc6b6d425a8e9' != '9f364fe298fb286a'
E       AssertionError: {'a': [1000000000]} != {'a': [datetime.timedelta(seconds=1)]}
E       AssertionError: {'a': [1577836800000000000]} != {'a': [datetime.datetime(2020, 1, 1, 0, 0)]}
E       AssertionError: 'd3e33b9c3ffd93a0' != '8ae5103f86d90ca1'
E                       AssertionError: Lists differ: [{'fi[128 chars]atasets-2.16.0/temp/tmp9hzkmqnn/cache-d0fcbda38f485b60.arrow'}] != [{'fi[128 chars]atasets-2.16.0/temp/tmp9hzkmqnn/cache-b5c1daee567958c0.arrow'}]
E                           AssertionError: Lists differ: [{'fi[37 chars]atasets-2.16.0/temp/tmpidqrey2o/cache-ec11746a6a777f61.arrow'}] != [{'fi[37 chars]atasets-2.16.0/temp/tmpidqrey2o/cache-53a2fd211e435c1e.arrow'}]
E       AttributeError: 'Engine' object has no attribute 'cursor'
E           datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
E           ImportError: Using URI string without sqlalchemy installed.
E       NameError: name 'log' is not defined
E       TypeError: Couldn't cast array of type
FAILED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_pandas_timedelta - AssertionError: {'a': [1000000000]} != {'a': [datetime.timedelta(seconds=1)]}
FAILED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_pandas_timestamp - AssertionError: {'a': [1577836800000000000]} != {'a': [datetime.datetime(20...
FAILED tests/io/test_sql.py::test_dataset_from_sql_features[features1] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_from_sql_features[features2] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_from_sql_features[features3] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_from_sql_features[features4] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_from_sql_features[None] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_from_sql_keep_in_memory[False] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_from_sql_keep_in_memory[True] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_to_sql - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_to_sql_invalidproc - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/io/test_sql.py::test_dataset_to_sql_multiproc - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_on_disk - AssertionError: Lists differ: [{'fi[128 chars]atasets-2.16.0/temp/tmp9hzkmq...
FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_on_disk - AssertionError: Lists differ: [{'fi[37 chars]atasets-2.16.0/temp/tmpidqrey2...
FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_sql_in_memory - ImportError: Using URI string without sqlalchemy installed.
FAILED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_sql_on_disk - ImportError: Using URI string without sqlalchemy installed.
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_con_type[engine] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_con_type[string] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features1] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features2] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features3] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features4] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_features[None] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_keep_in_memory[False] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_arrow_dataset.py::test_dataset_from_sql_keep_in_memory[True] - datasets.exceptions.DatasetGenerationError: An error occurred while generat...
FAILED tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_module - NameError: name 'log' is not defined
FAILED tests/test_fingerprint.py::HashingTest::test_hash_torch_generator - NameError: name 'log' is not defined
FAILED tests/test_fingerprint.py::HashingTest::test_hash_torch_tensor - NameError: name 'log' is not defined
FAILED tests/test_fingerprint.py::HashingTest::test_set_doesnt_depend_on_order - NameError: name 'log' is not defined
FAILED tests/test_fingerprint.py::HashingTest::test_set_stable - NameError: name 'log' is not defined
FAILED tests/test_fingerprint.py::RecurseHashTest::test_hash_ignores_line_definition_of_function - AssertionError: 'd3e33b9c3ffd93a0' != '8ae5103f86d90ca1'
FAILED tests/test_fingerprint.py::RecurseHashTest::test_hash_ipython_function - AssertionError: '65edc6b6d425a8e9' != '9f364fe298fb286a'
FAILED tests/test_table.py::test_cast_sliced_fixed_size_array_to_features - TypeError: Couldn't cast array of type
sed: can't read die: No such file or directory
  /usr/lib/python3.11/site-packages/huggingface_hub/repocard.py:105: UserWarning: Repo card metadata block was not found. Setting CardData to empty.
    warnings.warn("Repo card metadata block was not found. Setting CardData to empty.")