Bug#906448: dolfin: autopkgtest regression

2018-08-30 Thread Paul Gevers
Control: affects -1 src:openmpi

Hi all,

On Fri, 17 Aug 2018 20:40:09 +0200 Paul Gevers  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 
  ^~~~
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 
  ^~~~
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



signature.asc
Description: OpenPGP digital signature


Bug#906448: dolfin: autopkgtest regression

2018-08-17 Thread Paul Gevers
Source: dolfin
Version: 2018.1.0.post1-8
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: regression

Dear maintainers,

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).

Currently this regression is contributing to the delay of the migration
to testing [1]. Could you please investigate the situation and fix it?
If needed, please change the bug's severity as appropriate.

Interestingly the autopkgtest in unstable runs just fine. This probably
means that the autopkgtest needs some dependency that is available in
unstable, but not in testing. And as the version isn't declared, it
fails. If you don't find this important enough to fix, please close this
bug and just wait until whatever is needed is available in testing.

More information about this bug and the reason for filing it can be
found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=dolfin

https://ci.debian.net/data/autopkgtest/testing/amd64/d/dolfin/832507/log.gz

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.



signature.asc
Description: OpenPGP digital signature