[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IMP-dev] tests failures with UsageException: (Re: IMP 2.6.2 release)



Hi,

I am running into a few failures in the test cases provided.

[tru@optiplex7020 ninja-imp-2.6.2-CGAL-openmpi-1.10.2-disable-dlopen]$ module li
Currently Loaded Modulefiles:
  1) ninja-1.7.1                     5) libTAU-1.0.1
  2) Python-2.7.11                   6) CGAL-4.8
  3) doxygen-1.8.6                   7) modeller/9.16-python2.x
  4) openmpi-1.10.2-disable-dlopen

CentOS-7
openmpi self rebuild with --disable-dlopen

imp 2.6.2 built with:
#!/bin/bash
module purge

module add \
Python-2.7.11 \
doxygen-1.8.6 \
ninja-1.7.1 \
openmpi-1.10.2-disable-dlopen \
libTAU-1.0.1 \
CGAL-4.8 \
modeller/9.16-python2.x

module li

cmake ../imp-2.6.2  -DCMAKE_BUILD_TYPE=Release \
-G Ninja \
-DCMAKE_MAKE_PROGRAM=/isb2016/ninja-1.7.1/ninja \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_CXX_COMPILER=mpicxx \
-DIMP_MAX_CHECKS=NONE \
-DCMAKE_INSTALL_PREFIX=/isb2016/imp-2.6.2 \
-DCMAKE_INCLUDE_PATH="/isb2016/Python-2.7.11;/isb2016/Python-2.7.11/include;/isb
2016/CGAL-4.8/include" \
-DCMAKE_LIBRARY_PATH="/isb2016/libTAU-1.0.1/lib;/isb2016/Python-2.7.11/lib;/isb2
016/CGAL-4.8/lib" \
-DPYTHON_LIBRARY=/isb2016/Python-2.7.11/lib \
-DPYTHON_INCLUDE_DIR="/isb2016/Python-2.7.11;/isb2016/Python-2.7.11/include/pyth
on2.7" \
-DLIBTAU_INCLUDE_DIR="/isb2016/libTAU-1.0.1"
ninja 
ninja -j1 test 2>&1 |tee ninja.test.log

Failed tests reported from the log
The following tests FAILED:
        373 - IMP.atom-expensive_test_bd.py (Failed)
        764 - IMP.pmi-expensive_test_cross_link_ms_restraint.py (Failed)
        796 - IMP.EMageFit-expensive_test_domino_modeling.py (Failed)
        797 - IMP.EMageFit-expensive_test_mc_modeling.py (Failed)
Errors while running CTest
ninja: build stopped: subcommand failed.

I have re-run all the failed test manually with:
...
find ../imp-2.6.2/ -name expensive_test_mc_modeling.py
./setup_environment.sh  python ../imp-2.6.2/modules/EMageFit/test/expensive_test_mc_modeling.py  2>&1 | tee IMP.EMageFit-expensive_test_mc_modeling.py.log
...

[tru@optiplex7020 ninja-imp-2.6.2-CGAL-openmpi-1.10.2-disable-dlopen]$      grep ^UsageException IMP*.log
IMP.atom-expensive_test_bd.py.log:UsageException: Method IMP::core::SingletonRestraint::SingletonRestraint(IMP::SingletonScore*, IMP::Particle*, std::string) is deprecated. WARNING: Use the index-based constructor instead.
IMP.atom-expensive_test_bd.py.log:UsageException: Method IMP::core::SingletonRestraint::SingletonRestraint(IMP::SingletonScore*, IMP::Particle*, std::string) is deprecated. WARNING: Use the index-based constructor instead.
IMP.EMageFit-expensive_test_domino_modeling.py.log:UsageException: Method IMP::core::PairRestraint::PairRestraint(IMP::PairScore*, const ParticlePair&, std::string) is deprecated. WARNING: Use the index-based constructor instead.
IMP.EMageFit-expensive_test_mc_modeling.py.log:UsageException: Method IMP::core::PairRestraint::PairRestraint(IMP::PairScore*, const ParticlePair&, std::string) is deprecated. WARNING: Use the index-based constructor instead.
IMP.pmi-expensive_test_cross_link_ms_restraint.py.log:UsageException: Object <class 'IMP.pmi.restraints.crosslinking.ISDCrossLinkMS'> is deprecated. Use IMP.pmi.restraints.crosslinking.CrossLinkingMassSpectrometryRestraint instead.
IMP.pmi-expensive_test_cross_link_ms_restraint.py.log:UsageException: Object <class 'IMP.pmi.restraints.crosslinking.ISDCrossLinkMS'> is deprecated. Use IMP.pmi.restraints.crosslinking.CrossLinkingMassSpectrometryRestraint instead.

Thanks,

Tru
-- 
Dr Tru Huynh          | http://www.pasteur.fr/research/bis           
">mailto: | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France