Hello,

On 2022-12-07 10:02, olivier sallou wrote:> Is it really failing ? [1] link only shows failure due to max execution
time in CI and job was killed by CI.

seqan2 indeed builds (it takes many hours on single CPU on barriere.d.o), but fails most of its tests with the following:

a bytes-like object is required, not 'str' <class 'TypeError'>

I gave a quick glance at 'app_test_yara':

$ /usr/bin/python3 "/home/merkys/seqan2-2.4.0+dfsg/apps/yara/tests/run_tests.py" "/home/merkys/seqan2-2.4.0+dfsg" "/home/merkys/seqan2-2.4.0+dfsg/obj-x86_64-linux-gnu"
Executing test for Yara
==============================

/home/merkys/seqan2-2.4.0+dfsg/obj-x86_64-linux-gnu/bin/yara_indexer /home/merkys/seqan2-2.4.0+dfsg/apps/yara/tests/input/adeno-genome.fa -o /tmp/tmpb51ofmfz/adeno-genome OK Error when trying to compare /home/merkys/seqan2-2.4.0+dfsg/apps/yara/tests/gold/adeno-reads_1.t1.sam to /tmp/tmpb51ofmfz/adeno-reads_1.t1.sam: a bytes-like object is required, not 'str' <class 'TypeError'> /home/merkys/seqan2-2.4.0+dfsg/obj-x86_64-linux-gnu/bin/yara_mapper /home/merkys/seqan2-2.4.0+dfsg/apps/yara/tests/gold/adeno-genome /home/merkys/seqan2-2.4.0+dfsg/apps/yara/tests/input/adeno-reads_1.fa -o /tmp/tmpb51ofmfz/adeno-reads_1.t1.sam --threads 1 FAILED
DELETING TEMP DIR /tmp/tmpb51ofmfz
==============================
     total tests: 2
    failed tests: 1
successful tests: 1
==============================

It seems that one of the required output files is not produced. Any idea why?

Andrius
[1]https://salsa.debian.org/med-team/seqan2/-/jobs/3622896

Reply via email to