Skip to content

relay io zfp tests fail with hdf5 2.0 #1500

@cyrush

Description

@cyrush

Looks like there are hdf5 handle resource leaks, could be in conduit or could be in h5zzfp.

  [ RUN      ] conduit_relay_io_hdf5.conduit_hdf5_write_read_zfp_1d
  [D:\a\conduit\conduit\src\tests\relay\t_relay_io_hdf5.cpp : 2353]
   hdf5 options:
  hdf5_library_version: "v2.0.0"
  libver: "v108"
  messages: "quiet"
  compact_storage: 
    enabled: "true"
    threshold: 1024
  chunking: 
    enabled: "true"
    threshold: 2000000
    chunk_size: 1000000
    compression: 
      method: "gzip"
      level: 5
      zfp: 
        mode: "rate"
        rate: 4.0
        acc: 0.0
        prec: 11
        minbits: 1
        maxbits: 16658
        maxprec: 64
        minexp: -1074
  
  =====================================
  zfp rate mode comparison
  =====================================
  [orig]
  
  vals_sin_double: [17.6994999914612, 17.8082113124768, 17.9169185310634, ..., 17.590788665014, 17.6994999933937]
  vals_sin_int: [17, 17, 17, ..., 17, 17]
  
  [roundtrip]
  
  vals_sin_double: [17.6994999893941, 17.8082113130949, 17.9169185315259, ..., 17.5907886642963, 17.6994999945164]
  vals_sin_int: [17, 17, 17, ..., 17, 17]
  
  [diff]
  
  children: 
    diff: 
      vals_sin_double: 
        value: [-2.06706829430914e-09, 6.1810467855139e-10, 4.62438976001067e-10, ..., -7.17736980959671e-10, 1.12271436591982e-09]
        errors: 
          - "data_array::diff: data item(s) mismatch; see 'value' section"
        valid: "false"
      vals_sin_int: 
        value: [0, 0, 0, ..., 0, 0]
        errors: 
          - "data_array::diff: data item(s) mismatch; see 'value' section"
        valid: "false"
  valid: "false"
  
  min/max of Diffs
   vals_sin_double: -8.20566725678873e-09 6.31530383543577e-09
   vals_sin_int: -2 0
  HDF5-DIAG: Error detected in HDF5 (2.0.0):
    #000: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5I.c line 856 in H5Iget_name(): invalid identifier
      major: Object ID
      minor: Inappropriate type
    #001: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1742 in H5VL_vol_object(): can't retrieve object for ID
      major: Virtual Object Layer
      minor: Can't get value
    #002: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1778 in H5VL_vol_object_verify(): not a named datatype
      major: Invalid arguments to routine
      minor: Inappropriate type
  HDF5-DIAG: Error detected in HDF5 (2.0.0):
    #000: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5I.c line 856 in H5Iget_name(): invalid identifier
      major: Object ID
      minor: Inappropriate type
    #001: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1742 in H5VL_vol_object(): can't retrieve object for ID
      major: Virtual Object Layer
      minor: Can't get value
    #002: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1778 in H5VL_vol_object_verify(): not a named datatype
      major: Invalid arguments to routine
      minor: Inappropriate type
  
  _unnamed_0: 
    valid: "true"
    ref_count: 1
    id: 216172782113784683
    type: "datatype"
  _unnamed_1: 
    valid: "true"
    ref_count: 1
    id: 216172782113784687
    type: "datatype"
  
D:\a\conduit\conduit\src\tests\relay\t_relay_io_hdf5.cpp(2410): error : Expected equality of these values: [D:\a\conduit\conduit\build\RUN_TESTS.vcxproj]
    check_h5_open_ids()
      Which is: 2
    DO_NO_HARM
      Which is: 0
  
  [  FAILED  ] conduit_relay_io_hdf5.conduit_hdf5_write_read_zfp_1d (3 ms)
  [ RUN      ] conduit_relay_io_hdf5.conduit_hdf5_ZZZZ_final_handle_check
  HDF5-DIAG: Error detected in HDF5 (2.0.0):
    #000: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5I.c line 856 in H5Iget_name(): invalid identifier
      major: Object ID
      minor: Inappropriate type
    #001: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1742 in H5VL_vol_object(): can't retrieve object for ID
      major: Virtual Object Layer
      minor: Can't get value
    #002: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1778 in H5VL_vol_object_verify(): not a named datatype
      major: Invalid arguments to routine
      minor: Inappropriate type
  HDF5-DIAG: Error detected in HDF5 (2.0.0):
    #000: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5I.c line 856 in H5Iget_name(): invalid identifier
      major: Object ID
      minor: Inappropriate type
    #001: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1742 in H5VL_vol_object(): can't retrieve object for ID
      major: Virtual Object Layer
      minor: Can't get value
    #002: D:\a\conduit\conduit\source\hdf5-2.0.0\src\H5VLint.c line 1778 in H5VL_vol_object_verify(): not a named datatype
      major: Invalid arguments to routine
      minor: Inappropriate type
  
  _unnamed_0: 
    valid: "true"
    ref_count: 1
    id: 216172782113784683
    type: "datatype"
  _unnamed_1: 
    valid: "true"
    ref_count: 1
    id: 216172782113784687
    type: "datatype"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions