BrendelGroup / AEGeAn

Integrated toolkit for analysis and evaluation of annotated genomes
http://brendelgroup.github.io/AEGeAn
ISC License
24 stars 10 forks source link

There are 13 test failed when compiling on linux-aarch64 #262

Closed yangxingyu588 closed 9 months ago

yangxingyu588 commented 1 year ago

When l compile the software on linux-aarch64, lt compiles normally, but there are 13 failed when l run ut.

---------- coverage: platform linux, python 3.11.6-final-0 -----------
Name                     Stmts   Miss  Cover
--------------------------------------------
LocusPocus/__init__.py      30      0   100%
LocusPocus/_version.py     279    210    25%
LocusPocus/am10.py         126      0   100%
LocusPocus/cdhit.py         52      0   100%
LocusPocus/crg.py          138      0   100%
LocusPocus/download.py      25     19    24%
LocusPocus/exons.py         85      0   100%
LocusPocus/fasta.py         76      0   100%
LocusPocus/generic.py       99     42    58%
LocusPocus/genomedb.py     230     12    95%
LocusPocus/hymbase.py      231     12    95%
LocusPocus/iloci.py        114     46    60%
LocusPocus/mrnas.py        121      0   100%
LocusPocus/pdom.py          98      3    97%
LocusPocus/proteins.py      37     16    57%
LocusPocus/refseq.py       268     38    86%
LocusPocus/registry.py     126      0   100%
LocusPocus/stats.py          3      0   100%
LocusPocus/tair.py         135      0   100%
--------------------------------------------
TOTAL                     2273    398    82%

=========================== short test summary info ============================
FAILED LocusPocus/am10.py::test_annotation_am10 - AssertionError: Am10 annota...
FAILED LocusPocus/generic.py::test_all - FileNotFoundError: [Errno 2] No such...
FAILED LocusPocus/hymbase.py::test_annotation_hymbase - AssertionError: annot cleanup command failed: bash -o pipefail -c "gunzip -c testdata/demo-workdir/Cfhb/cflo_OGSv3.3.gff3.gz | grep -vf /tmp/tmppra7yqzm | grep -v '    region  ' | fidibus-uniq.py | fidibus-namedup.py | tidygff3 | fidibus-format-gff3.py --source beebase - | seq-reg.py - testdata/demo-workdir/Cfhb/Cfhb.gdna.fa | gt gff3 -sort -tidy -o testdata/demo-workdir/Cfhb/Cfhb.gff3 -force"
FAILED LocusPocus/hymbase.py::test_annotation_beebase - AssertionError: annot...
FAILED LocusPocus/iloci.py::test_intervals - FileNotFoundError: [Errno 2] No ...
FAILED LocusPocus/iloci.py::test_simple - FileNotFoundError: [Errno 2] No suc...
FAILED LocusPocus/iloci.py::test_reps - AssertionError: iLocus rep ID failed
FAILED LocusPocus/iloci.py::test_sequences - AssertionError: command failed: ...
FAILED LocusPocus/iloci.py::test_ancillary - subprocess.CalledProcessError: C...
FAILED LocusPocus/pdom.py::test_format - subprocess.CalledProcessError: Comma...
FAILED LocusPocus/refseq.py::test_annot_format - AssertionError: annot cleanu...
FAILED LocusPocus/refseq.py::test_cleanup - AssertionError: ['testdata/demo-w...
FAILED LocusPocus/tair.py::test_annot_format - AssertionError: TAIR6 annotati...
================== 13 failed, 54 passed, 7 warnings in 9.08s ===================
vpbrendel commented 9 months ago

Current code passes all tests on Fedora 39 and Ubuntu 22.04.

martin-g commented 9 months ago

The build still fails on Linux ARM64 (linux-aarch64) with:

$ ./data/scripts/github-actions-prereqs.sh
...
[print inc/core/AgnVersion.h]
[compile AgnAttributeFilterStream]
gcc: error: unrecognized command-line option ‘-m64’
make: *** [Makefile:110: obj/AgnAttributeFilterStream.o] Error 1
vpbrendel commented 9 months ago

Type 'man gcc' to view the options appropriate for your system.

martin-g commented 9 months ago

I'm working on a PR!