Details

    • Type: Bug
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fileout_netcdf
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Datause-18.3.6 (Review)

      Description

      ## ---------------------------------------------- ##
      ## bes 3.19.1 test suite: bes.conf besstandalone. ##
      ## ---------------------------------------------- ##
        1: BESCMD $abs_srcdir/bescmd/simpleT00.0.bescmd    ok
        2: BESCMD $abs_srcdir/bescmd/simpleT00.1.bescmd    ok
        3: BESCMD $abs_srcdir/bescmd/simpleT00.2.bescmd    ok
        4: BESCMD $abs_srcdir/bescmd/simpleT00.3.bescmd    ok
        5: BESCMD $abs_srcdir/bescmd/simpleT00.4.bescmd    ok
        6: BESCMD $abs_srcdir/bescmd/simpleT00.5.bescmd    ok
        7: BESCMD $abs_srcdir/bescmd/simpleT00.6.bescmd    ok
        8: BESCMD $abs_srcdir/bescmd/simpleT00.7.bescmd    ok
        9: BESCMD $abs_srcdir/bescmd/arrayT.0.bescmd       ok
       10: BESCMD $abs_srcdir/bescmd/arrayT.1.bescmd       ok
       11: BESCMD $abs_srcdir/bescmd/arrayT.2.bescmd       FAILED (fonc_handler_test.at:24)
       12: BESCMD $abs_srcdir/bescmd/arrayT.3.bescmd       FAILED (fonc_handler_test.at:25)
       13: BESCMD $abs_srcdir/bescmd/arrayT01.0.bescmd     ok
       14: BESCMD $abs_srcdir/bescmd/arrayT01.1.bescmd     ok
       15: BESCMD $abs_srcdir/bescmd/arrayT01.2.bescmd     FAILED (fonc_handler_test.at:29)
       16: BESCMD $abs_srcdir/bescmd/arrayT01.3.bescmd     FAILED (fonc_handler_test.at:30)
       17: BESCMD $abs_srcdir/bescmd/cedar.0.bescmd        ok
       18: BESCMD $abs_srcdir/bescmd/cedar.1.bescmd        ok
       19: BESCMD $abs_srcdir/bescmd/cedar.2.bescmd        FAILED (fonc_handler_test.at:34)
       20: BESCMD $abs_srcdir/bescmd/cedar.3.bescmd        FAILED (fonc_handler_test.at:35)
       21: BESCMD $abs_srcdir/bescmd/fits.0.bescmd         ok
       22: BESCMD $abs_srcdir/bescmd/fits.1.bescmd         ok
       23: BESCMD $abs_srcdir/bescmd/fits.2.bescmd         FAILED (fonc_handler_test.at:39)
       24: BESCMD $abs_srcdir/bescmd/fits.3.bescmd         FAILED (fonc_handler_test.at:40)
       25: BESCMD $abs_srcdir/bescmd/gridT.0.bescmd        ok
       26: BESCMD $abs_srcdir/bescmd/gridT.1.bescmd        ok
       27: BESCMD $abs_srcdir/bescmd/gridT.2.bescmd        FAILED (fonc_handler_test.at:44)
       28: BESCMD $abs_srcdir/bescmd/gridT.3.bescmd        FAILED (fonc_handler_test.at:45)
       29: BESCMD $abs_srcdir/bescmd/namesT.0.bescmd       ok
       30: BESCMD $abs_srcdir/bescmd/namesT.1.bescmd       ok
       31: BESCMD $abs_srcdir/bescmd/namesT.2.bescmd       FAILED (fonc_handler_test.at:49)
       32: BESCMD $abs_srcdir/bescmd/namesT.3.bescmd       FAILED (fonc_handler_test.at:50)
       33: BESCMD $abs_srcdir/bescmd/structT00.0.bescmd    ok
       34: BESCMD $abs_srcdir/bescmd/structT00.1.bescmd    ok
       35: BESCMD $abs_srcdir/bescmd/structT00.2.bescmd    ok
       36: BESCMD $abs_srcdir/bescmd/structT00.3.bescmd    ok
       37: BESCMD $abs_srcdir/bescmd/structT01.0.bescmd    ok
       38: BESCMD $abs_srcdir/bescmd/structT01.1.bescmd    ok
       39: BESCMD $abs_srcdir/bescmd/structT01.2.bescmd    FAILED (fonc_handler_test.at:59)
       40: BESCMD $abs_srcdir/bescmd/structT01.3.bescmd    FAILED (fonc_handler_test.at:60)
       41: BESCMD $abs_srcdir/bescmd/structT02.0.bescmd    ok
       42: BESCMD $abs_srcdir/bescmd/structT02.1.bescmd    ok
       43: BESCMD $abs_srcdir/bescmd/structT02.2.bescmd    ok
       44: BESCMD $abs_srcdir/bescmd/structT02.3.bescmd    ok
       45: BESCMD $abs_srcdir/bescmd/fnoc.0.bescmd         ok
       46: BESCMD $abs_srcdir/bescmd/fnoc.1.bescmd         FAILED (fonc_handler_test.at:77)
       47: BESCMD $abs_srcdir/bescmd/fnoc.2.bescmd         FAILED (fonc_handler_test.at:78)
       48: BESCMD $abs_srcdir/bescmd/t_string.0.bescmd     ok
       49: BESCMD $abs_srcdir/bescmd/t_string.1.bescmd     FAILED (fonc_handler_test.at:83)
       50: BESCMD $abs_srcdir/bescmd/t_string.2.bescmd     FAILED (fonc_handler_test.at:84)
       51: BESCMD $abs_srcdir/bescmd/hdf4.0.bescmd         ok
       52: BESCMD $abs_srcdir/bescmd/hdf4.1.bescmd         ok
       53: BESCMD $abs_srcdir/bescmd/hdf4.2.bescmd         FAILED (fonc_handler_test.at:90)
       54: BESCMD $abs_srcdir/bescmd/hdf4.3.bescmd         FAILED (fonc_handler_test.at:91)
       55: BESCMD $abs_srcdir/bescmd/hdf4_constraint.0.bescmd ok
       56: BESCMD $abs_srcdir/bescmd/hdf4_constraint.1.bescmd ok
       57: BESCMD $abs_srcdir/bescmd/hdf4_constraint.2.bescmd FAILED (fonc_handler_test.at:95)
       58: BESCMD $abs_srcdir/bescmd/hdf4_constraint.3.bescmd FAILED (fonc_handler_test.at:96)
       59: BESCMD $abs_srcdir/bescmd/function_result_unwrap.bescmd ok
       60: BESCMD $abs_srcdir/bescmd/gridT.4.bescmd        FAILED (fonc_handler_test.at:101)
       61: BESCMD $abs_srcdir/bescmd/gridT.5.bescmd        FAILED (fonc_handler_test.at:102)
       62: BESCMD $abs_srcdir/bescmd/gridT.6.bescmd        FAILED (fonc_handler_test.at:103)
       63: BESCMD $abs_srcdir/bescmd/gridT.7.bescmd        FAILED (fonc_handler_test.at:104)
       64: BESCMD $abs_srcdir/bescmd/gridT.8.bescmd        FAILED (fonc_handler_test.at:106)
       65: BESCMD $abs_srcdir/bescmd/gridT.9.bescmd        FAILED (fonc_handler_test.at:107)
       66: BESCMD $abs_srcdir/bescmd/gridT.10.bescmd       FAILED (fonc_handler_test.at:108)
       67: BESCMD $abs_srcdir/bescmd/gridT.11.bescmd       FAILED (fonc_handler_test.at:109)
      
      ## ------------- ##
      ## Test results. ##
      ## ------------- ##
      
      ERROR: All 67 tests were run,
      30 failed unexpectedly.
      ## ---------------------------------- ##
      ## fonc_handler_test.log was created. ##
      ## ---------------------------------- ##
      
      Please send `modules/fileout_netcdf/tests/fonc_handler_test.log' and all information you think might help:
      
         To: <support@opendap.org>
         Subject: [bes 3.19.1] fonc_handler_test: 11 12 15 16 19 20 23 24 27 28 31 32 39 40 46 47 49 50 53 54 57 58 60 61 62 63 64 65 66 67 failed
      
      

      These errors all seem to happen at:

      void FONcArray::convert(vector<string> embed)
      {
          FONcBaseType::convert(embed);
          _varname = FONcUtils::gen_name(embed, _varname, _orig_varname);
      
          BESDEBUG("fonc", "FONcArray::convert() - converting array " << _varname << endl);
      
          d_array_type = FONcUtils::get_nc_type(d_a->var());
          d_ndims = d_a->dimensions();
          d_actual_ndims = d_ndims; //replace this with _a->dimensions(); below TODO
          if (d_array_type == NC_CHAR) {
              // if we have array of strings then we need to add the string length
              // dimension, so add one more to ndims
              d_ndims++;
          }
      
          d_dim_ids.reserve(d_ndims);
          d_dim_sizes.reserve(d_ndims);
      
          Array::Dim_iter di = d_a->dim_begin();
          Array::Dim_iter de = d_a->dim_end();
          int dimnum = 0;
          for (; di != de; di++) {
              int size = d_a->dimension_size(di, true);
              d_dim_sizes[dimnum] = size;
              d_nelements *= size;
      
              // Set COMPRESSION CHUNK SIZE for each dimension.
              d_chunksizes.push_back(size <= MAX_CHUNK_SIZE ? size: MAX_CHUNK_SIZE);
      
              BESDEBUG("fonc", "FONcArray::convert() - dim num: " << dimnum << ", dim size: " << size << ", chunk size: " << d_chunksizes[dimnum] << endl);
              BESDEBUG("fonc2", *this << endl);
      
              // See if this dimension has already been defined. If it has the
              // same name and same size as another dimension, then it is a
              // shared dimension. Create it only once and share the FONcDim
              FONcDim *use_dim = find_dim(embed, d_a->dimension_name(di), size);
              d_dims.push_back(use_dim);
              dimnum++;
          }
      ...
      

      On this line: d_dim_sizes[dimnum] = size;

      Debug this using: -c bes.conf -i bescmd/arrayT.2.bescmd

        Attachments

          Activity

            People

            • Assignee:
              jimg James Gallagher
              Reporter:
              jimg James Gallagher
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified