Bug#906448: dolfin: autopkgtest regression

Paul Gevers elbrus at debian.org
Thu Aug 30 09:02:06 BST 2018


Control: affects -1 src:openmpi

Hi all,

On Fri, 17 Aug 2018 20:40:09 +0200 Paul Gevers <elbrus at debian.org> wrote:
> With the upload of 2018.1.0.post1-8 the autpkgtest of your package
> started to fail in testing. I copied the first output below (there are
> multiple of this).

Interestingly, on 2018-08-25 testing was improved somehow and dolfin
migrated and the references in testing are passing now. However, openmpi
has a new version in unstable, and I am seeing the same errors when we
trigger the dolfin's autopkgtest with this new version.

It looks like there are missing versioned dependencies somewhere.
However, I don't rule out that this may be caused by something we need
to improve in the migration software. If you know of packages that we
should include from unstable while testing dolfin in testing with
openmpi from unstable, let me know and I can try if that helps.

> CMake Error in documented/auto-adaptive-poisson/cpp/CMakeLists.txt:
>   Imported target "dolfin" includes non-existent path
> 
> 
> "/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent"
> 
>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
> 
>   * The path was deleted, renamed, or moved to another location.
> 
>   * An install or uninstall procedure did not complete successfully.
> 
>   * The installation package was faulty and references files it does not
>   provide.

Actually, it seems these message aren't in principle causing the test to
fail. Why it fails is because these messages are written to stderr and
the test only fails because it doesn't allow that (which is extremely
good in this case). So until the autopkgtest is improved, DON'T add the
allow-stderr restriction, or the test would pass while it probably
shouldn't. Because later we see:

-- Generating done
-- Build files have been written to:
/tmp/autopkgtest-lxc.l183w429/downtmp/build.sKL/src/dolfin-demo
Scanning dependencies of target demo_bcs
Scanning dependencies of target demo_auto-adaptive-poisson
[  1%] Building CXX object
documented/bcs/cpp/CMakeFiles/demo_bcs.dir/main.cpp.o
[  2%] Building CXX object
documented/auto-adaptive-poisson/cpp/CMakeFiles/demo_auto-adaptive-poisson.dir/main.cpp.o
In file included from /usr/include/dolfin/common/dolfin_common.h:9,
                 from /usr/include/dolfin.h:6,
                 from
/tmp/autopkgtest-lxc.l183w429/downtmp/build.sKL/src/dolfin-demo/documented/auto-adaptive-poisson/cpp/main.cpp:14:
/usr/include/dolfin/common/types.h:24:10: fatal error: petscsys.h: No
such file or directory
 #include <petscsys.h>
          ^~~~~~~~~~~~
In file included from /usr/include/dolfin/common/dolfin_common.h:9,
                 from /usr/include/dolfin.h:6,
                 from
/tmp/autopkgtest-lxc.l183w429/downtmp/build.sKL/src/dolfin-demo/documented/bcs/cpp/main.cpp:25:
/usr/include/dolfin/common/types.h:24:10: fatal error: petscsys.h: No
such file or directory
 #include <petscsys.h>
          ^~~~~~~~~~~~
compilation terminated.
compilation terminated.
make[2]: ***
[documented/auto-adaptive-poisson/cpp/CMakeFiles/demo_auto-adaptive-poisson.dir/build.make:63:
documented/auto-adaptive-poisson/cpp/CMakeFiles/demo_auto-adaptive-poisson.dir/main.cpp.o]
Error 1
make[2]: *** [documented/bcs/cpp/CMakeFiles/demo_bcs.dir/build.make:63:
documented/bcs/cpp/CMakeFiles/demo_bcs.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:91:
documented/auto-adaptive-poisson/cpp/CMakeFiles/demo_auto-adaptive-poisson.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:146:
documented/bcs/cpp/CMakeFiles/demo_bcs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
running C++ demos (serial)
Test project /tmp/autopkgtest-lxc.l183w429/downtmp/build.sKL/src/dolfin-demo
No tests were found!!!
running C++ demos (MPI)
Test project /tmp/autopkgtest-lxc.l183w429/downtmp/build.sKL/src/dolfin-demo
No tests were found!!!

But it doesn't FAIL on that, exit code is 0. That doesn't look right.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180830/fc043543/attachment.sig>


More information about the debian-science-maintainers mailing list