--- Begin Message ---
Source: damo
Version: 2.7.5-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20250414 ftbfs-trixie
Hi,
During a rebuild of all packages in testing (trixie), your package failed
to build on i386.
Relevant part (hopefully):
> make[1]: Entering directory '/build/reproducible-path/damo-2.7.5'
> pytest -v
> ============================= test session starts
> ==============================
> platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 --
> /usr/bin/python3
> cachedir: .pytest_cache
> rootdir: /build/reproducible-path/damo-2.7.5
> configfile: pyproject.toml
> plugins: typeguard-4.4.2
> collecting ... collected 46 items
>
> tests/unit/test_damo_records.py::TestDamon::test_filter_by_address PASSED [
> 2%]
> tests/unit/test_damo_records.py::TestDamon::test_parse_file_permission_str
> PASSED [ 4%]
> tests/unit/test_damo_records.py::TestDamon::test_parse_sort_bytes_ranges_input
> PASSED [ 6%]
> tests/unit/test_damo_records.py::TestDamon::test_record_from_kvpairs PASSED [
> 8%]
> tests/unit/test_damo_report_access.py::TestDamoShow::test_format_template
> PASSED [ 10%]
> tests/unit/test_damo_report_access.py::TestDamoShow::test_rescale PASSED [
> 13%]
> tests/unit/test_damo_report_access.py::TestDamoShow::test_sorted_access_pattern
> PASSED [ 15%]
> tests/unit/test_damo_scheme_dbgfs_conversion.py::TestDamoSchemeDbgfsConversion::test_conversion
> FAILED [ 17%]
> tests/unit/test_damo_schemes_input.py::TestDamoSchemesInput::test_conversion_from_singleline_to_json
> PASSED [ 19%]
> tests/unit/test_damo_schemes_input.py::TestDamoSchemesInput::test_schemes_option_to_damos
> PASSED [ 21%]
> tests/unit/test_damon.py::TestDamon::test_damon_age PASSED [
> 23%]
> tests/unit/test_damon.py::TestDamon::test_damon_intervals PASSED [
> 26%]
> tests/unit/test_damon.py::TestDamon::test_damon_nr_accesses PASSED [
> 28%]
> tests/unit/test_damon.py::TestDamon::test_damon_nr_regions_range PASSED [
> 30%]
> tests/unit/test_damon.py::TestDamon::test_damon_region PASSED [
> 32%]
> tests/unit/test_damon.py::TestDamon::test_damos_access_pattern PASSED [
> 34%]
> tests/unit/test_damon.py::TestDamon::test_damos_action_validity PASSED [
> 36%]
> tests/unit/test_damon.py::TestDamon::test_damos_default_immutable PASSED [
> 39%]
> tests/unit/test_damon.py::TestDamon::test_damos_eq PASSED [
> 41%]
> tests/unit/test_damon.py::TestDamon::test_damos_quotas PASSED [
> 43%]
> tests/unit/test_damon.py::TestDamon::test_damos_watermarks PASSED [
> 45%]
> tests/unit/test_damon.py::TestDamon::test_kvpairs_transition FAILED [
> 47%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_convert_damos_filter_v1_to_v2
> PASSED [ 50%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_damon_ctxs_for PASSED [
> 52%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_damon_intervals_for PASSED
> [ 54%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_damon_nr_regions_range_for
> PASSED [ 56%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_damos_filter_format_v2
> PASSED [ 58%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_damos_options_to_filters
> PASSED [ 60%]
> tests/unit/test_damon_args.py::TestDamonArgs::test_merge_ranges PASSED [
> 63%]
> tests/unit/test_damon_dbgfs.py::TestDamonDbgfs::test_debugfs_output_to_damos
> PASSED [ 65%]
> tests/unit/test_damon_dbgfs.py::TestDamonDbgfs::test_files_content_to_kdamonds_io
> PASSED [ 67%]
> tests/unit/test_damon_dbgfs.py::TestDamonDbgfs::test_nr_kdamonds PASSED [
> 69%]
> tests/unit/test_damon_sysfs.py::TestDamonSysfs::test_json_kdamonds_staging
> PASSED [ 71%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_format_bp PASSED [
> 73%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_format_nr PASSED [
> 76%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_format_permil PASSED [
> 78%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_format_ratio PASSED [
> 80%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_format_time FAILED [
> 82%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_bool PASSED [
> 84%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_bp PASSED [
> 86%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_bytes FAILED [
> 89%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_nr PASSED [
> 91%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_percent PASSED [
> 93%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_permil PASSED [
> 95%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_ratio PASSED [
> 97%]
> tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_time PASSED
> [100%]
>
> =================================== FAILURES
> ===================================
> ________________ TestDamoSchemeDbgfsConversion.test_conversion
> _________________
>
> self = <test_damo_scheme_dbgfs_conversion.TestDamoSchemeDbgfsConversion
> testMethod=test_conversion>
>
> def test_conversion(self):
> _damo_deprecated.avoid_crashing_single_line_scheme_for_testing =
> True
> _damo_deprecated.avoid_crashing_v1_v3_schemes_for_testing = True
> inputs = {
> "darc1.damos": '''
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action>
> <limit_sz> <limit_ms>
>
> 4K max min min 5s max pageout 500M 1s''',
> "darc2.damos": '''
> # For scheme version 2 (refer to comment of debugfs_scheme() in damo)
>
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action> \
> # <limit_sz> <limit_ms> <weight_sz> <weight_nr_accesses> <weight_age>
>
> 4K max min min 5s max pageout 500M 1s 0 3 7''',
> "ethp.damos": '''
> # format is: <min/max size> <min/max frequency (0-100)> <min/max age>
> <action>
>
> min max 5 max min max hugepage
> 2M max min min 7s max nohugepage''',
> "pdarc1-1.damos": '''
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action>
> <limit_sz> <limit_ms>
>
> 4K max min min 5s max pageout 1G 1s''',
> "pdarc1-2.damos": '''
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action>
> <limit_sz> <limit_ms>
>
> 4K max min min 5s max pageout 5G 1s''',
> "pdarc1-3.damos": '''
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action>
> <limit_sz> <limit_ms>
>
> 4K max min min 5s max pageout 10G 1s''',
> "pdarc2-1.damos": '''
> # For scheme version 2 (refer to comment of debugfs_scheme() in damo)
>
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action> \
> # <limit_sz> <limit_ms> <weight_sz> <weight_nr_accesses> <weight_age>
>
> 4K max min min 5s max pageout 1G 1s 0 3 7''',
> "pdarc2-2.damos": '''
> # For scheme version 2 (refer to comment of debugfs_scheme() in damo)
>
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action> \
> # <limit_sz> <limit_ms> <weight_sz> <weight_nr_accesses> <weight_age>
>
> 4K max min min 5s max pageout 5G 1s 0 3 7''',
> "pdarc2-3.damos": '''
> # For scheme version 2 (refer to comment of debugfs_scheme() in damo)
>
> # format is:
> # <min/max size> <min/max frequency (0-100)> <min/max age> <action> \
> # <limit_sz> <limit_ms> <weight_sz> <weight_nr_accesses> <weight_age>
>
> 4K max min min 5s max pageout 10G 1s 0 3 7''',
> "pprcl.damos": '''
> # format is: <min/max size> <min/max frequency (0-100)> <min/max age>
> <action>
>
> 4K max min min 5s max pageout''',
> "prcl.damos": '''
> # format is: <min/max size> <min/max frequency (0-100)> <min/max age>
> <action>
>
> 4K max min min 5s max pageout'''
> }
> expects = {
> "darc1.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "darc1.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t524288000\t1000",
> "darc1.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t524288000\t1000\t0\t0\t0",
> "darc1.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t524288000\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "darc1.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t524288000\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "darc2.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "darc2.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t524288000\t1000",
> "darc2.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t524288000\t1000\t0\t3\t7",
> "darc2.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t524288000\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "darc2.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t524288000\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "ethp.damos.v0":
> "0\t18446744073709551615\t1\t3689348814741910528\t0\t184467440737095\t3\n2097152\t18446744073709551615\t0\t0\t70\t184467440737095\t4",
> "ethp.damos.v1":
> "0\t18446744073709551615\t1\t3689348814741910528\t0\t184467440737095\t3\t0\t18446744073709551615\n2097152\t18446744073709551615\t0\t0\t70\t184467440737095\t4\t0\t18446744073709551615",
> "ethp.damos.v2":
> "0\t18446744073709551615\t1\t3689348814741910528\t0\t184467440737095\t3\t0\t18446744073709551615\t0\t0\t0\n2097152\t18446744073709551615\t0\t0\t70\t184467440737095\t4\t0\t18446744073709551615\t0\t0\t0",
> "ethp.damos.v3":
> "0\t18446744073709551615\t1\t3689348814741910528\t0\t184467440737095\t3\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0\n2097152\t18446744073709551615\t0\t0\t70\t184467440737095\t4\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0",
> "ethp.damos.v4":
> "0\t18446744073709551615\t1\t3689348814741910528\t0\t184467440737095\t3\t0\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0\n2097152\t18446744073709551615\t0\t0\t70\t184467440737095\t4\t0\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc1-1.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pdarc1-1.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t1073741824\t1000",
> "pdarc1-1.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t1073741824\t1000\t0\t0\t0",
> "pdarc1-1.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t1073741824\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc1-1.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t1073741824\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc1-2.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pdarc1-2.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t5368709120\t1000",
> "pdarc1-2.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t5368709120\t1000\t0\t0\t0",
> "pdarc1-2.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t5368709120\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc1-2.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t5368709120\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc1-3.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pdarc1-3.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t10737418240\t1000",
> "pdarc1-3.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t10737418240\t1000\t0\t0\t0",
> "pdarc1-3.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t10737418240\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc1-3.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t10737418240\t1000\t0\t0\t0\t0\t0\t0\t0\t0",
> "pdarc2-1.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pdarc2-1.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t1073741824\t1000",
> "pdarc2-1.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t1073741824\t1000\t0\t3\t7",
> "pdarc2-1.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t1073741824\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "pdarc2-1.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t1073741824\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "pdarc2-2.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pdarc2-2.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t5368709120\t1000",
> "pdarc2-2.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t5368709120\t1000\t0\t3\t7",
> "pdarc2-2.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t5368709120\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "pdarc2-2.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t5368709120\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "pdarc2-3.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pdarc2-3.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t10737418240\t1000",
> "pdarc2-3.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t10737418240\t1000\t0\t3\t7",
> "pdarc2-3.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t10737418240\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "pdarc2-3.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t10737418240\t1000\t0\t3\t7\t0\t0\t0\t0\t0",
> "pprcl.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "pprcl.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t18446744073709551615",
> "pprcl.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t18446744073709551615\t0\t0\t0",
> "pprcl.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0",
> "pprcl.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0",
> "prcl.damos.v0":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2",
> "prcl.damos.v1":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t18446744073709551615",
> "prcl.damos.v2":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t18446744073709551615\t0\t0\t0",
> "prcl.damos.v3":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0",
> "prcl.damos.v4":
> "4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2\t0\t0\t18446744073709551615\t0\t0\t0\t0\t0\t0\t0\t0"
> }
> intervals = _damon.DamonIntervals('5ms', '100ms', '1s')
> for input_name, input_scheme in inputs.items():
> for version in [0, 4]:
> damos_list, err =
> _damo_deprecated.damo_single_line_schemes_to_damos(
> input_scheme)
> self.assertEqual(err, None)
> lines = []
> for damos in damos_list:
>
> lines.append(_damon_dbgfs.damos_to_debugfs_input(damos,
> intervals, False if version == 0 else True))
> > self.assertEqual('\n'.join(lines),
> expects['%s.v%d' % (input_name, version)])
> E AssertionError:
> '4096\t4294967295\t0\t0\t50\t42949\t2' !=
> '4096\t18446744073709551615\t0\t0\t50\t184467440737095\t2'
> E - 4096 4294967295 0 0 50
> 42949 2
> E + 4096 18446744073709551615 0 0
> 50 184467440737095 2
>
> tests/unit/test_damo_scheme_dbgfs_conversion.py:152: AssertionError
> ----------------------------- Captured stderr call
> -----------------------------
>
> WARNING: single line scheme input is deprecated.
> The support will be removed by 2023-Q2.
> Please use json format or --damo_* options
> Please report your usecase to Github issues[1], s...@kernel.org,
> da...@lists.linux.dev and/or linux...@kvack.org if you depend on those.
>
> [1] https://github.com/damonitor/damo/issues
>
>
> WARNING: 9, 12, or 17 fields single line scheme input is deprecated.
> The support will be removed by 2023-Q2.
>
> Please report your usecase to Github issues[1], s...@kernel.org,
> da...@lists.linux.dev and/or linux...@kvack.org if you depend on those.
>
> [1] https://github.com/damonitor/damo/issues
>
> ______________________ TestDamon.test_kvpairs_transition
> _______________________
>
> self = <test_damon.TestDamon testMethod=test_kvpairs_transition>
>
> def test_kvpairs_transition(self):
> target = _damon.DamonTarget(1234, [_damon.DamonRegion(10, 20)])
> target_kvpairs = target.to_kvpairs()
> self.assertEqual(type(target_kvpairs), collections.OrderedDict)
> self.assertEqual(list(target_kvpairs.keys()),
> ['pid', 'regions'])
> self.assertEqual(target,
> _damon.DamonTarget.from_kvpairs(target_kvpairs))
>
> damos = _damon.Damos(
> _damon.DamosAccessPattern([0, 10], [5, 8],
> _damon.unit_percent,
> [54, 88], _damon.unit_usec),
> 'pageout', None,
> None,
> _damon.DamosQuotas(100, 1024, 1000, [80, 76, 24]),
> _damon.DamosWatermarks('free_mem_rate', 5000000, 800, 500,
> 200),
> [_damon.DamosFilter('memcg', True, memcg_path='/foo/bar'),
> _damon.DamosFilter('anon', False)],
> None, None)
> damos_kvpairs = damos.to_kvpairs()
> self.assertEqual(type(damos_kvpairs), collections.OrderedDict)
> self.assertEqual(list(damos_kvpairs.keys()),
> ['action', 'access_pattern', 'apply_interval_us', 'quotas',
> 'watermarks', 'filters', 'stats'])
> self.assertEqual(list(damos_kvpairs['stats'].keys()),
> ['nr_tried', 'sz_tried', 'nr_applied', 'sz_applied',
> 'sz_ops_filter_passed', 'qt_exceeds'])
> > self.assertEqual(damos, _damon.Damos.from_kvpairs(damos_kvpairs))
> E AssertionError: actio[418 chars]B passed filters
> E quota exceeded 0 times
> E tried regions (0 B) != actio[418 chars]B passed filters
> E quota exceeded 0 times
> E tried regions (0 B)
>
> tests/unit/test_damon.py:44: AssertionError
> _______________________ TestDamoFmtStr.test_format_time
> ________________________
>
> self = <test_fmt_str.TestDamoFmtStr testMethod=test_format_time>
>
> def test_format_time(self):
> usec_ns = 1000
> msec_ns = 1000 * usec_ns
> sec_ns = 1000 * msec_ns
> minute_ns = 60 * sec_ns
> hour_ns = 60 * minute_ns
> day_ns = 24 * hour_ns
> > _test_damo_common.test_input_expects_funcs(self,
> [lambda x: _damo_fmt_str.format_time_ns_exact(x, False),
> lambda x: _damo_fmt_str.format_time_ns(x, False)],
> {
> 123: ['123 ns', '123 ns'],
> 123456: ['123 us 456 ns', '123.456 us'],
> 123000: ['123 us', '123 us'],
> 123456789: ['123 ms 456 us 789 ns', '123.457 ms'],
> 123000000: ['123 ms', '123 ms'],
> 123456789123:
> ['2 m 3 s 456 ms 789 us 123 ns', '2 m 3.457 s'],
> 123000000000: ['2 m 3 s', '2 m 3 s'],
> 1 * minute_ns: ['1 m', '1 m'],
> 1 * minute_ns + 59 * sec_ns: ['1 m 59 s', '1 m 59 s'],
> 1 * minute_ns + 59 * sec_ns + 123 * msec_ns:
> ['1 m 59 s 123 ms', '1 m 59.123 s'],
> 2 * hour_ns + 1 * minute_ns + 59 * sec_ns + 123 * msec_ns:
> ['2 h 1 m 59 s 123 ms', '2 h 1 m 59.123 s'],
> 2 * hour_ns: ['2 h', '2 h'],
> 3 * day_ns + 2 * hour_ns + 1 * minute_ns +
> 59 * sec_ns + 123 * msec_ns:
> ['3 d 2 h 1 m 59 s 123 ms', '74 h 1 m 59.123 s'],
> 3 * day_ns + 2 * hour_ns: ['3 d 2 h', '74 h'],
> 1234 * day_ns + 2 * hour_ns: ['1,234 d 2 h', '29618 h'],
> _damo_fmt_str.ulong_max: ['max', 'max'],
> })
>
> tests/unit/test_fmt_str.py:40:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/unit/_test_damo_common.py:14: in test_input_expects_funcs
> test_input_expects(testcase, functions[idx], {input_: expect})
> tests/unit/_test_damo_common.py:9: in test_input_expects
> testcase.assertEqual(function(input_), input_expects[input_])
> E AssertionError: 'max' != '2 m 3 s 456 ms 789 us 123 ns'
> E - max
> E + 2 m 3 s 456 ms 789 us 123 ns
> ______________________ TestDamoFmtStr.test_text_to_bytes
> _______________________
>
> self = <test_fmt_str.TestDamoFmtStr testMethod=test_text_to_bytes>
>
> def test_text_to_bytes(self):
> > _test_damo_common.test_input_expects(self,
> > _damo_fmt_str.text_to_bytes,
> {
> '123': 123,
> '1,234': 1234,
> '123 B': 123,
> '2 K': 2048,
> '2 KB': 2048,
> '2 KiB': 2048,
> '2 M': 2 * 1 << 20,
> '2 MB': 2 * 1 << 20,
> '2 MiB': 2 * 1 << 20,
> '2 G': 2 * 1 << 30,
> '2 GB': 2 * 1 << 30,
> '1,234.457 G': int(1234.457 * (1 << 30)),
> '1,234.457 GiB': int(1234.457 * (1 << 30)),
> '1,234.457': 1234.457,
> '2 GiB': 2 * 1 << 30,
> '2 T': 2 * 1 << 40,
> '2 TB': 2 * 1 << 40,
> '2 TiB': 2 * 1 << 40,
> '2 P': 2 * 1 << 50,
> '2 PB': 2 * 1 << 50,
> '2 PiB': 2 * 1 << 50,
> '2.0 PiB': 2 * 1 << 50,
> '16384.000 PiB': (1 << 64) - 1,
> '2.0 EiB': 2 * 1 << 60,
> '2.0 EB': 2 * 1 << 60,
> '123': 123,
> '123.456': 123.456,
> 123: 123,
> 123.456: 123.456,
> })
>
> tests/unit/test_fmt_str.py:233:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/unit/_test_damo_common.py:9: in test_input_expects
> testcase.assertEqual(function(input_), input_expects[input_])
> E AssertionError: 4294967295 != 1325488110829
> =========================== short test summary info
> ============================
> FAILED
> tests/unit/test_damo_scheme_dbgfs_conversion.py::TestDamoSchemeDbgfsConversion::test_conversion
> FAILED tests/unit/test_damon.py::TestDamon::test_kvpairs_transition -
> Asserti...
> FAILED tests/unit/test_fmt_str.py::TestDamoFmtStr::test_format_time -
> Asserti...
> FAILED tests/unit/test_fmt_str.py::TestDamoFmtStr::test_text_to_bytes -
> Asser...
> ========================= 4 failed, 42 passed in 0.27s
> =========================
> make[1]: *** [debian/rules:43: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2025/04/14/damo_2.7.5-1_testing-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---