• Bug#1098530: ariba: FTBFS: TestAssembly.test_assemble_with_spades fails

    From Adrian Bunk@21:1/5 to Santiago Vila on Thu Apr 10 21:50:01 2025
    On Fri, Feb 21, 2025 at 11:26:11PM +0000, Santiago Vila wrote:
    Package: src:ariba
    Version: 2.14.7+ds-7
    Severity: serious
    Tags: ftbfs trixie sid
    ...
    =================================== FAILURES ===================================
    ____________________ TestAssembly.test_assemble_with_spades ____________________

    self = <ariba.tests.assembly_test.TestAssembly testMethod=test_assemble_with_spades>

    @unittest.skipUnless(extern_progs.exe('spades'), "Spades assembler is optional and is not configured")
    def test_assemble_with_spades(self):
    '''test _assemble_with_spades'''
    reads1 = os.path.join(data_dir, 'assembly_test_assemble_with_spades_reads_1.fq')
    reads2 = os.path.join(data_dir, 'assembly_test_assemble_with_spades_reads_2.fq')
    tmp_dir = 'tmp.test_assemble_with_spades'
    tmp_log = 'tmp.test_assemble_with_spades.log'
    with open(tmp_log, 'w') as tmp_log_fh:
    print('First line', file=tmp_log_fh)
    common.rmtree(tmp_dir)
    #using spades_options=" --only-assembler" because error correction cannot determine quality offset on this
    #artificial dataset
    a = assembly.Assembly(reads1, reads2, 'not needed', 'not needed', tmp_dir, 'not_needed_for_this_test.fa',
    'not_needed_for_this_test.bam', tmp_log_fh, 'not needed',
    assembler="spades", spades_options=" --only-assembler")
    a._assemble_with_spades()
    self.assertTrue(a.assembled_ok)
    E AssertionError: False is not true

    ariba/tests/assembly_test.py:128: AssertionError ----------------------------- Captured stderr call -----------------------------
    ...

    Looking also at

    https://tracker.debian.org/pkg/spades

    Marked for autoremoval on 02 May: #1100877

    Migration status for spades (3.15.5+dfsg-8 to 4.0.0+dfsg1-2): BLOCKED: Rejected/violates migration policy/introduces a regression
    Issues preventing migration:
    ∙ ∙ autopkgtest for shovill/1.1.0-9: amd64: Regression or new test ♻ (reference ♻)
    ∙ ∙ autopkgtest for unicycler/0.5.1+dfsg-3: amd64: Regression or new test ♻ (reference ♻)

    I wonder whether spades 4.0.0+really3.15.5 might be the correct solution
    for ariba/shovill/unicycler in trixie.

    cu
    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?utf-8?Q?=C3=89tienne?= Mollier@21:1/5 to All on Thu Apr 10 22:40:01 2025
    Hi Pierre,

    I'm afraid I never managed to wrap my head around the SPAdes
    version bump to 4.0.0 in the past year, and it seems it is going
    to interfere with the availability of several tools in trixie if
    the situation keeps going.

    Adrian Bunk suggested, on 2025-04-10:
    I wonder whether spades 4.0.0+really3.15.5 might be the correct solution
    for ariba/shovill/unicycler in trixie.

    Would that work for you to rollback to 3.15.5 for trixie, and
    pursuing the upgrade effort in experimental in the meantime?

    In hope this helps,
    --
    .''`. Étienne Mollier <emollier@debian.org>
    : :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
    `. `' sent from /dev/pts/1, please excuse my verbosity
    `- on air: Ivory Tower - Blinded

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmf4K8cACgkQeTz2fo8N EdqKlg/9GOojOyV8bnzKX3Kgv5q8Zk/cej/DDAHbVQ+D0yMq+ixirVO3bsid6H4r 1Ixh6eWXMPuwvhklEE9gVOm1+XeReZ+wgnXGsCd8fzX+mylNYQ4u+xDaH0W9AoOh 0sGhSGIZLNDK2lHfsPQKPaXsl81dZFQHSIKXH33GHOVF6jUstwt3EtjzJkoPqDHU mpgOD7dMNyiV8fMZlCtj1+cBS8ROtX/uX63GnxyHUMsVf8TwGsQq00qv8L/Kc8ve o5JwzfUKy8xoQh6jhAwU3Y1CirqE/OC2eOJuvHkdFr7T5Di5O/uD2BlFRIggTOAg JDzzaKwFn1aK9BckmxFMwlsqgu6QTAjt423DAn1bm5FuOETuwvR+QKyK/ODQ6sXH pgg8c4ywnsppdDBV/FcmHhSmWNrqJXXQUOABcwFfZ1Cc0Lsd3oYqgH70d8LMbfRi jf8pMHrcKxGZiBDdZj6yZvazuZsPWOpp/9HsyFhI8c6KqNseuBDJpszJFDKAvR1O lnSavTrxOhEGyk1HFixzBQLIwtvy1aInW7273YizQopL/gspQBtrQtHfPcH0pAW7 D1gi35xaK8FPDC5o3cbSyCqz15c0UuqiEJJa8vbCzQYcHz06m49TXV+Y5MCN/g3e TSuX9irMfBISLkSGIjhMQnrB1TiGLgRreg3Hb2l6V59s
  • From =?utf-8?Q?=C3=89tienne?= Mollier@21:1/5 to All on Sat Apr 12 20:00:01 2025
    Hi Pierre,

    Pierre Gruet, on 2025-04-12:
    Le 10/04/2025 à 22:36, Étienne Mollier a écrit :
    Adrian Bunk suggested, on 2025-04-10:
    I wonder whether spades 4.0.0+really3.15.5 might be the correct solution for ariba/shovill/unicycler in trixie.

    Would that work for you to rollback to 3.15.5 for trixie, and
    pursuing the upgrade effort in experimental in the meantime?

    I have just done so! The rdeps were tested locally with ratt, I will monitor the autopkgtests and close #1098530 if everything works as expected.

    Great! Thank you for your work on this! :)

    Have a nice day, :)
    --
    .''`. Étienne Mollier <emollier@debian.org>
    : :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
    `. `' sent from /dev/pts/1, please excuse my verbosity
    `- on air: Fluctus Quadratum - Laplacian

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmf6p2IACgkQeTz2fo8N EdpvVg/+MzLuiEZLy9wCovQA8pf4K9a8W0olXspz8el158a+W9PxinUsqoJTvmE0 t8nJGFoYgW31kqMPn95Cnv3XltodcEMhq5FvcZowf1+Rlm3SGbUokSJF6yP7W9/W euqHdlDPdcOfwC6gBtghchAgviePSUDnzz6qEImON2pe4gza17qGrzQGeesyhZkR XeF1XY437zvyKSNEPF/8X2MUShpP8DqzJMkjxartvR5u1nYecb1+eJxK400sk3RS 8fggvd15k6OK3QHNcr/MtK31Sd/B/FdZBT8SivorkuORm12GFyLoKBrivS8zRxZT PI8dAD57eyYzQ0b2fdQdIQtRT7cBGOX6Pg1jOt6zSB2AKgtycvFZ2D4tu8JsgBOL mP+iO8ga28OuJn9PbNcg2pXYWewL4EroWC6D4LbiXdlUh0Le+yzV3oZW/Rm8TOUH +wM71dIiaAznTPkZOxm/xw5ugzn9nc/Z/2RdqKVsaZeJa9mkay3Hrd6tOtPVHNLZ m9XkEv4L6LWE7Xt7z9PsZuhIp7Qq/RM6WmZtYD683z30p9JAcJ+199Pzvf3FayUD NB0I8/JDp5z0/SDVlhRpLRdRQtqmXKC58LnFP0z4tW+yDuyPw+JDiVjYG6uruvcU WjfkEbvtCp13QZUQqEcRe5ozJltaHn/1WHmP