🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.ports.powerpc
Article #20

Bug#1152709: macs FTBFS on ppc64el: test failures

#20
From: Adrian Bunk
Date: Sat, 31 Oct 2026 14:50
228 lines
12860 bytes
Source: macs
Version: 3.0.5-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc@lists.debian.org
User: debian-powerpc@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
Technical Details
Message-ID: <NUiz7-91us-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Adrian Bunk <bunk@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.ports.powerpc
Subject: Bug#1152709: macs FTBFS on ppc64el: test failures
Date: Sat, 31 Oct 2026 15:50:02 +0100
Message-ID: <NUiz7-91us-3@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sat Oct 31 14:47:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.699
Reply-To: Adrian Bunk <bunk@debian.org>, 1152709@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-powerpc@lists.debian.org, debian-med-packaging@lists.alioth.debian.org
X-Debian-Pr-Message: report 1152709
X-Debian-Pr-Package: src:macs
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: macs
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-User: bunk
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999937
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 228
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 31 Oct 2026 16:45:05 +0200
X-Original-Message-ID: <179345790523.4129231.12696715427874629864.reportbug@localhost>