[Debian-med-packaging] Bug#1152709: macs FTBFS on ppc64el: test failures
Adrian Bunk
bunk at debian.org
Sat Oct 31 14:45:05 GMT 2026
Source: macs
Version: 3.0.5-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc at lists.debian.org
User: debian-powerpc at lists.debian.org
Usertags: ppc64el
https://buildd.debian.org/status/logs.php?pkg=macs&arch=ppc64el
...
=================================== FAILURES ===================================
_______________ test_call_summits_keeps_right_edge_candidate[0] ________________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_call_summits_keeps_right_0')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fff959842b0>
start = 0
@pytest.mark.parametrize("start", [0, 1, 5, 9, 10, 1000])
def test_call_summits_keeps_right_edge_candidate(tmp_path, monkeypatch,
start):
"""Regression test for the padding-coordinate mismatch in issue #747."""
signal = make_two_summit_profile()
track = make_petrack_from_profile(signal, start)
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
caller = CallerFromAlignments(track, None, ctrl_d_s=[],
ctrl_scaling_factor_s=[], lambda_bg=1.0)
try:
peaks = caller.call_peaks(["f"], [2.0], min_length=50,
max_gap=100, call_summits=True)
finally:
caller.destroy()
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> assert len(relative_summits) == 2
E assert 1 == 2
E + where 1 = len([236])
test/test_CallPeakUnit.py:198: AssertionError
_______________ test_call_summits_keeps_right_edge_candidate[1] ________________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_call_summits_keeps_right_1')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fffa1a8c3b0>
start = 1
@pytest.mark.parametrize("start", [0, 1, 5, 9, 10, 1000])
def test_call_summits_keeps_right_edge_candidate(tmp_path, monkeypatch,
start):
"""Regression test for the padding-coordinate mismatch in issue #747."""
signal = make_two_summit_profile()
track = make_petrack_from_profile(signal, start)
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
caller = CallerFromAlignments(track, None, ctrl_d_s=[],
ctrl_scaling_factor_s=[], lambda_bg=1.0)
try:
peaks = caller.call_peaks(["f"], [2.0], min_length=50,
max_gap=100, call_summits=True)
finally:
caller.destroy()
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> assert len(relative_summits) == 2
E assert 1 == 2
E + where 1 = len([236])
test/test_CallPeakUnit.py:198: AssertionError
_______________ test_call_summits_keeps_right_edge_candidate[5] ________________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_call_summits_keeps_right_2')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fff95c046b0>
start = 5
@pytest.mark.parametrize("start", [0, 1, 5, 9, 10, 1000])
def test_call_summits_keeps_right_edge_candidate(tmp_path, monkeypatch,
start):
"""Regression test for the padding-coordinate mismatch in issue #747."""
signal = make_two_summit_profile()
track = make_petrack_from_profile(signal, start)
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
caller = CallerFromAlignments(track, None, ctrl_d_s=[],
ctrl_scaling_factor_s=[], lambda_bg=1.0)
try:
peaks = caller.call_peaks(["f"], [2.0], min_length=50,
max_gap=100, call_summits=True)
finally:
caller.destroy()
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> assert len(relative_summits) == 2
E assert 1 == 2
E + where 1 = len([236])
test/test_CallPeakUnit.py:198: AssertionError
_______________ test_call_summits_keeps_right_edge_candidate[9] ________________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_call_summits_keeps_right_3')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fff95c04af0>
start = 9
@pytest.mark.parametrize("start", [0, 1, 5, 9, 10, 1000])
def test_call_summits_keeps_right_edge_candidate(tmp_path, monkeypatch,
start):
"""Regression test for the padding-coordinate mismatch in issue #747."""
signal = make_two_summit_profile()
track = make_petrack_from_profile(signal, start)
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
caller = CallerFromAlignments(track, None, ctrl_d_s=[],
ctrl_scaling_factor_s=[], lambda_bg=1.0)
try:
peaks = caller.call_peaks(["f"], [2.0], min_length=50,
max_gap=100, call_summits=True)
finally:
caller.destroy()
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> assert len(relative_summits) == 2
E assert 1 == 2
E + where 1 = len([236])
test/test_CallPeakUnit.py:198: AssertionError
_______________ test_call_summits_keeps_right_edge_candidate[10] _______________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_call_summits_keeps_right_4')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fff95c16250>
start = 10
@pytest.mark.parametrize("start", [0, 1, 5, 9, 10, 1000])
def test_call_summits_keeps_right_edge_candidate(tmp_path, monkeypatch,
start):
"""Regression test for the padding-coordinate mismatch in issue #747."""
signal = make_two_summit_profile()
track = make_petrack_from_profile(signal, start)
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
caller = CallerFromAlignments(track, None, ctrl_d_s=[],
ctrl_scaling_factor_s=[], lambda_bg=1.0)
try:
peaks = caller.call_peaks(["f"], [2.0], min_length=50,
max_gap=100, call_summits=True)
finally:
caller.destroy()
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> assert len(relative_summits) == 2
E assert 1 == 2
E + where 1 = len([236])
test/test_CallPeakUnit.py:198: AssertionError
______________ test_call_summits_keeps_right_edge_candidate[1000] ______________
tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_call_summits_keeps_right_5')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fff95c16950>
start = 1000
@pytest.mark.parametrize("start", [0, 1, 5, 9, 10, 1000])
def test_call_summits_keeps_right_edge_candidate(tmp_path, monkeypatch,
start):
"""Regression test for the padding-coordinate mismatch in issue #747."""
signal = make_two_summit_profile()
track = make_petrack_from_profile(signal, start)
monkeypatch.setattr(tempfile, "tempdir", str(tmp_path))
caller = CallerFromAlignments(track, None, ctrl_d_s=[],
ctrl_scaling_factor_s=[], lambda_bg=1.0)
try:
peaks = caller.call_peaks(["f"], [2.0], min_length=50,
max_gap=100, call_summits=True)
finally:
caller.destroy()
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> assert len(relative_summits) == 2
E assert 1 == 2
E + where 1 = len([236])
test/test_CallPeakUnit.py:198: AssertionError
________ Test_ScoreTrackII.test_call_summits_keeps_right_edge_candidate ________
self = <test_ScoreTrack.Test_ScoreTrackII testMethod=test_call_summits_keeps_right_edge_candidate>
def test_call_summits_keeps_right_edge_candidate(self):
"""ScoreTrackII uses the same corrected coordinates as callpeak."""
signal = make_two_summit_profile()
for start in (0, 1, 5, 9, 10, 1000):
score_track = make_score_track_from_profile(signal, start)
peaks = score_track.call_peaks(cutoff=2, min_length=50,
max_gap=100,
call_summits=True)
rows = peaks.peaks[b"chrSynthetic"]
relative_summits = [row["summit"] - start for row in rows]
> self.assertEqual(len(relative_summits), 2)
E AssertionError: 1 != 2
test/test_ScoreTrack.py:293: AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/anndata/_core/extensions.py:10
/usr/lib/python3/dist-packages/anndata/_core/extensions.py:10: DeprecationWarning: The decorator_name argument is deprecated and will be removed in the future.
register_anndata_namespace = make_register_namespace_decorator(
../../../../../../usr/lib/python3/dist-packages/anndata/_core/extensions.py:10
/usr/lib/python3/dist-packages/anndata/_core/extensions.py:10: DeprecationWarning: The docstring_style argument is deprecated and will be removed in the future.
register_anndata_namespace = make_register_namespace_decorator(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_CallPeakUnit.py::test_call_summits_keeps_right_edge_candidate[0]
FAILED test/test_CallPeakUnit.py::test_call_summits_keeps_right_edge_candidate[1]
FAILED test/test_CallPeakUnit.py::test_call_summits_keeps_right_edge_candidate[5]
FAILED test/test_CallPeakUnit.py::test_call_summits_keeps_right_edge_candidate[9]
FAILED test/test_CallPeakUnit.py::test_call_summits_keeps_right_edge_candidate[10]
FAILED test/test_CallPeakUnit.py::test_call_summits_keeps_right_edge_candidate[1000]
FAILED test/test_ScoreTrack.py::Test_ScoreTrackII::test_call_summits_keeps_right_edge_candidate
============ 7 failed, 110 passed, 4 skipped, 2 warnings in 31.46s =============
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/macs-3.0.5/.pybuild/cpython3_3.14_MACS3/build; python3.14 -m pytest test
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=8 returned exit code 13
make[1]: *** [debian/rules:42: override_dh_auto_test] Error 25
More information about the Debian-med-packaging
mailing list