[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1005036: deepdiff: autopkgtest failure on armhf and i386



Source: deepdiff
Version: 5.6.0-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: fails-always

Dear maintainer(s),

You recently added an autopkgtest to your package deepdiff, great. However, it fails on armhf and i386. Currently this failure is blocking the migration to testing [1]. Can you please investigate the situation and fix it?

I copied some of the output at the bottom of this report. It seems that the reference in the test is expecting the test to run on a 64 bit system.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=deepdiff

https://ci.debian.net/data/autopkgtest/testing/i386/d/deepdiff/18967210/log.gz

=== python3.9 ===
============================= test session starts ==============================
platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.9n6crap7/downtmp/autopkgtest_tmp
collected 645 items

tests/test_anyset.py ..... [ 0%] tests/test_cache.py ss.... [ 1%] tests/test_command.py ....................... [ 5%] tests/test_delta.py .................................................... [ 13%] ....F............................ [ 18%] tests/test_diff_math.py .... [ 19%] tests/test_diff_numpy.py ............ [ 20%] tests/test_diff_other.py ......... [ 22%] tests/test_diff_text.py ................................................ [ 29%] ....................................................sss................. [ 40%] ............... [ 43%] tests/test_diff_tree.py .............s [ 45%] tests/test_distance.py ...................................... [ 51%] tests/test_hash.py ..................................................... [ 59%] ........................... [ 63%] tests/test_helper.py ................................... [ 69%] tests/test_ignore_order.py ............................................. [ 76%] .................. [ 78%] tests/test_lfucache.py .... [ 79%] tests/test_model.py ..................... [ 82%] tests/test_operators.py .... [ 83%] tests/test_path.py ............ [ 85%] tests/test_search.py ................................................... [ 93%] .......... [ 94%] tests/test_serialization.py .................................. [100%]

=================================== FAILURES =================================== _ TestNumpyDelta.test_numpy_delta_cases[delta_numpy7_arrays_of_different_sizes] _

self = <tests.test_delta.TestNumpyDelta object at 0xf52c5a00>
t1 = array([1, 2, 3, 4]), t2 = array([ 5,  6,  7,  8,  9, 10])
deepdiff_kwargs = {}, to_delta_kwargs = {}
expected_delta_dict = {'_numpy_paths': {'root': 'int64'}, 'iterable_item_added': {'root[4]': 9, 'root[5]': 10}, 'values_changed': {'root[0]': {'new_value': 5}, 'root[1]': {'new_value': 6}, 'root[2]': {'new_value': 7}, 'root[3]': {'new_value': 8}}}
expected_result = 't2'

    @pytest.mark.parametrize(**DELTA_NUMPY_TEST_PARAMS)
def test_numpy_delta_cases(self, t1, t2, deepdiff_kwargs, to_delta_kwargs, expected_delta_dict, expected_result):
        diff = DeepDiff(t1, t2, **deepdiff_kwargs)
        delta_dict = diff._to_delta_dict(**to_delta_kwargs)
        if expected_delta_dict:
          assert expected_delta_dict == delta_dict
E AssertionError: assert {'_numpy_path...w_value': 8}}} == {'_numpy_path...w_value': 8}}}
E             Omitting 2 identical items, use -vv to show
E             Differing items:
E {'_numpy_paths': {'root': 'int64'}} != {'_numpy_paths': {'root': 'int32'}}
E             Use -v to get the full diff

tests/test_delta.py:991: AssertionError
=========================== short test summary info ============================ FAILED tests/test_delta.py::TestNumpyDelta::test_numpy_delta_cases[delta_numpy7_arrays_of_different_sizes] =================== 1 failed, 638 passed, 6 skipped in 5.08s ===================
autopkgtest [09:10:54]: test unittests

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: