Le mer. 21 juil. 2021 à 17:18, Andreas Tille <andr...@an3as.eu> a écrit :

> Hi Shruti,
>
> On Wed, Jul 21, 2021 at 01:32:35PM +0530, Shruti Sridhar wrote:
> >
> > I am working on writing autopkgtests for logol [1] and the test passes in
> > my chroot but fails the pipeline
>
> Hmmm, this
>
>
> + JAVA_OPTS=' -Xms512m -Xmx4096m'
> + java -Xms512m -Xmx1024m
> -Dlogol.install=/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src
> -Dlogol.conf=/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/prolog/logol.properties
> -Dlog4j.configuration=file:///tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/log4j.properties
> -classpath
> /tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/biojava.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/bytecode:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/mail.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/activation.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/xalan.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/xercesImpl.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/xml-apis.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/serializer.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/commons-configuration.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/LogolExec.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/commons-cli.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/commons-collections.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/commons-lang.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/commons-logging.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/log4j-1.2.jar:/tmp/autopkgtest-lxc.kjfgq_8m/downtmp/build.yfB/src/lib/antlr.jar
> org.irisa.genouest.logol.Logol -g 1799.logol -s 1799.fasta -dna
> Error: Could not find or load main class org.irisa.genouest.logol.Logol
> Caused by: java.lang.ClassNotFoundException: org.irisa.genouest.logol.Logol
> autopkgtest [06:49:18]: test run-unit-test: -----------------------]
>

Main jar seems not found in classpath.
The classnotfound error relates to main program jar file. Though it appears
in logolexec.jar file which is in your classpath, so should be fine....
As tmp dirs are used here, wonder if jar file found where expected...



> looks tricky.  Olivier, do you have some idea?
>
> > along with blhc and reprotest.
> >
> > I tried fixing blhc like we did earlier with the Makefile patch but I
> don’t
> > know where to begin in this kind of package.
>
> I at least added hardeing options to d/rules.  Now it would be needed to
> investigate the build system, where those default variables are ignored
> (since my change did not really helped).  If you ask me: Excluding the
> blhc test from CI (as well as reprotest) is the most straigthforward way
> to get CI sensibly working for us.  Sometimes we simply live with some
> non-optimal situation.
>
> > Could you point me in the right direction on how I can go about fixing
> > this?
>
> If you really want to I would recommend follow the lintian warnings
> about the executables that are lacking the options and check where these
> are built inside the source tree.  This should bring you close to the
> point in the build system where a patch is needed.  But as I tried to
> express: Having an autopkgtest (which should be brought into a working
> state - seems you spotted some issue) is great.  blhc is in my eyes
> optional and reprotest nice to have but sometimes you need some experts
> help here.  If its easy we should try to fix it but it seems to be
> non-trivial here.
>
> Kind regards
>
>     Andreas.
>
> > [1] https://salsa.debian.org/med-team/logol
> > ᐧ
>
> --
> http://fam-tille.de
>

Reply via email to