OPENDAP/bes

bescmd test failures on ubuntu

captainkirk99 opened this issue · 3 comments

I get this when I do:

autoreconf -i && CXXFLAGS="-fpermissive -Wno-deprecated" ./configure --with-hdf4=/usr/local/hdf-4.2.15_fPIC --with-hdf5=/usr/local/hdf5-1.10.7 --with-hdfeos2=/usr/local/hdfeos_fPIC --prefix=/usr/local/bes-3.20.7 --enable-developer && make -j && sudo make install && sudo make -j check

This is on the branch that includes the --enable-developer fix (#444 )

## ----------------------------------------------- ##
## bes 3.20.7 test suite: bes/dap/tests testsuite. ##
## ----------------------------------------------- ##
  1: BESCMD $abs_srcdir/bescmd/agg_array_dds_one_ce.bescmd ok
  2: BESCMD $abs_srcdir/bescmd/agg_array_dods_one_ce.bescmd FAILED (testsuite.at:8)
  3: BESCMD $abs_srcdir/bescmd/function_result_unwrap_dds.bescmd ok
  4: BESCMD $abs_srcdir/bescmd/function_result_unwrap_dods.bescmd FAILED (testsuite.at:12)
  5: BESCMD $abs_srcdir/bescmd/function_result_unwrap_dap.bescmd expected failure (testsuite.at:13)
  6: BESCMD $abs_srcdir/bescmd/dap4_ce_function-01.bescmd expected failure (testsuite.at:15)
  7: BESCMD $abs_srcdir/bescmd/fnoc.das.bescmd       ok
  8: BESCMD $abs_srcdir/bescmd/fnoc.ddx.bescmd       ok
  9: BESCMD $abs_srcdir/bescmd/fnoc.dmr.bescmd       ok

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 9 tests were run,
4 failed (2 expected failures).
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `dap/tests/testsuite.log' and all information you think might help:

   To: <support@opendap.org>
   Subject: [bes 3.20.7] testsuite: 2 4 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `dap/tests/testsuite.dir'.

Do I have bes running somewhere that I don't know about?

If the bescmdln tests are running there must be a BES running. The Travis build runs the tests by starting the bes:
make -j7 && make install && besctl start && make check -j7 && besctl stop

So code that passes CI/CD should not fail these tests. Travis uses Ubuntu and CentOS.