[MOAB-dev] buildbot failure in moab-netcdf: failed test

Grindeanu, Iulian R. iulian at mcs.anl.gov
Thu Mar 27 09:57:52 CDT 2014


 the mesh files are not part of distribution if they are not in EXTRA_DIST variable in Makefile.am in the mesh folder
these tests are using (incorrectly) MESHDIR variable
for example:
test/dagmc/dagmc_simple_test.cpp
#ifdef MESHDIR
static const char input_file[] = STRINGIFY(MESHDIR) "/dagmc/test_geom.h5m";
#else
static const char input_file[] = STRINGIFY(MESHDIR) "/dagmc/test_geom.h5m";
#endif

I just noticed another problem with iGeom test file, it is missing too a reference.

iGeom and dagmc need to be added in SUBDIRS variable in MeshFiles/unittest/Makefile.am
And Makefile.am files need to be added to MeshFiles/unittest/iGeom and dagmc folders, with EXTRA_DIST variables in them
________________________________
From: Vijay S. Mahadevan [vijay.m at gmail.com]
Sent: Thursday, March 27, 2014 9:41 AM
To: Grindeanu, Iulian R.; Paul Wilson
Cc: moab-dev at mcs.anl.gov
Subject: Re: [MOAB-dev] buildbot failure in moab-netcdf: failed test

Iuian, Does this need any changes in the test files to use MESHDIR variable like in the others to abstract out the actual location of the mesh files ?

Paul, please verify if the latest merge passed all tests on your end for an out-of-source build.

Vijay


On Thu, Mar 27, 2014 at 9:00 AM, Grindeanu, Iulian R. <iulian at mcs.anl.gov<mailto:iulian at mcs.anl.gov>> wrote:
this particular error was caused by reliance on building with hdf5
these tests, that load an hdf5 file, need to be launched only when building with hdf5
Some of the configurations in buildbot test moab without hdf5
(moab-netcdf, moab-bare) etc
example is this
if HDF5_FILE
  TESTS += mbfacet_test \
        gttool_test \
        cropvol_test \
        mergemesh_test \
        mbground_test \
        lloyd_smoother_test
endif
in test/Makefile.am

distcheck fails because it is an out of source build, and the mesh files that are loaded need to be included in the distribution  (EXTRA_DIST variable in Makefile.am in mesh files directory)
________________________________
From: moab-dev-bounces at mcs.anl.gov<mailto:moab-dev-bounces at mcs.anl.gov> [moab-dev-bounces at mcs.anl.gov<mailto:moab-dev-bounces at mcs.anl.gov>] on behalf of moab-dev at mcs.anl.gov<mailto:moab-dev at mcs.anl.gov> [moab-dev at mcs.anl.gov<mailto:moab-dev at mcs.anl.gov>]
Sent: Thursday, March 27, 2014 1:08 AM
To: moab-dev at mcs.anl.gov<mailto:moab-dev at mcs.anl.gov>
Subject: [MOAB-dev] buildbot failure in moab-netcdf: failed test

Fathom<http://gnep.mcs.anl.gov:8010/>: moab-netcdf<http://gnep.mcs.anl.gov:8010/builders/moab-netcdf> build #309<http://gnep.mcs.anl.gov:8010/builders/moab-netcdf/builds/309>
Results:        failed test
Buildslave:     gnep
Revision:       None
Reason: The Nightly scheduler named 'moab-netcdf' triggered this build
Log Excerpt

dagmc_pointinvol_test.cpp:39:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:39: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:51:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:51: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:59:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:59: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:81:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:81: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:103:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:103: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:125:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:125: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:147:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:147: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:169:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:169: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:191:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:191: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:221:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:221: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:251:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:251: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:281:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:281: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:311:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:311: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:341:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:341: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:371:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:371: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp:401:25: warning: integer constant is so large that it is unsigned
dagmc_pointinvol_test.cpp:401: warning: this decimal constant is unsigned only in ISO C90
dagmc_pointinvol_test.cpp: In function ‘void dagmc_point_in()’:
dagmc_pointinvol_test.cpp:52: warning: unused variable ‘rval’
dagmc_pointinvol_test.cpp: In function ‘void dagmc_setup_test()’:
dagmc_pointinvol_test.cpp:38: warning: ‘vol’ may be used uninitialized in this function
mv -f .deps/dagmc_pointinvol_test-dagmc_pointinvol_test.Tpo .deps/dagmc_pointinvol_test-dagmc_pointinvol_test.Po
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -O2 -DNDEBUG  -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align  -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -O2 -DNDEBUG -L/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib -lnetcdf -L/home/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc -lhdf5_hl -lhdf5 -L/home/fathom/3rdparty/zlib/zlib-1.2.4/gcc -lz      -o dagmc_pointinvol_test dagmc_pointinvol_test-dagmc_pointinvol_test.o ../../src/libMOAB.la ../../tools/dagmc/DagMC.lo -lm
libtool: link: g++ -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -O2 -DNDEBUG -Wall -pipe -pedantic -Wno-long-long -Wextra -Wcast-align -Wpointer-arith -Wformat -Wformat-security -Wshadow -Wunused-parameter -O2 -DNDEBUG -o dagmc_pointinvol_test dagmc_pointinvol_test-dagmc_pointinvol_test.o ../../tools/dagmc/DagMC.o  -L/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib -L/home/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc/lib -L/home/fathom/3rdparty/zlib/zlib-1.2.4/gcc/lib -L/home/fathom/3rdparty/szip/szip-2.1/gcc/lib -L/home/fathom/3rdparty/hdf5/hdf5-1.8.3/serial/gcc -L/usr/lib/mpich/lib/ -L/home/fathom/3rdparty/zlib/zlib-1.2.4/gcc ../../src/.libs/libMOAB.a /home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib/libnetcdf.so /usr/lib/libhdf5_hl.so /usr/lib/libhdf5.so -lpthread -lz -lm -Wl,-rpath -Wl,/home/fathom/3rdparty/netcdf/netcdf-4.0.1/serial/gcc/lib -Wl,-rpath -Wl,/home/fathom/3rdpart
 y/netcdf/netcdf-4.0.1/serial/gcc/lib
 ...make  check-TESTS
make[4]: Entering directory `/disks/itaps-buildslave/moab-netcdf/build/test/dagmc'
make[5]: Entering directory `/disks/itaps-buildslave/moab-
netcdf/build/test/dagmc'
?[0;31mFAIL?[m: dagmc_simple_test
?[0;31mFAIL?[m: dagmc_rayfire_test
?[0;31mFAIL?[m: dagmc_pointinvol_test
?[0;31m=============================
3 of 3 tests failed
See test/dagmc/test-suite.log
=============================
?[mmake[5]: *** [test-suite.log] Error 1


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20140327/3e0cb100/attachment-0001.html>


More information about the moab-dev mailing list