xtensor-zarr icon indicating copy to clipboard operation
xtensor-zarr copied to clipboard

Various fixes and improvements

Open dzenanz opened this issue 3 years ago • 3 comments

The error was:

CMake Error at C:/Libs/xtl-vs19/xtlConfig.cmake:26 (message):
  File or directory C://include referenced by variable
  xtensor_zarr_INCLUDE_DIRS does not exist !
Call Stack (most recent call first):
  C:/Libs/xtensor-zarr-vs19/xtensor-zarrConfig.cmake:49 (set_and_check)
  CMakeLists.txt:6 (find_package)

dzenanz avatar Dec 14 '21 19:12 dzenanz

@JohanMabille or @davidbrochart, can you comment on CI failure?

/usr/share/miniconda/envs/xtensor-zarr/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: warning: libnsl.so.1, needed by /usr/share/miniconda/envs/xtensor-zarr/lib/libxerces-c-3.2.so, not found (try using -rpath or -rpath-link)
/usr/share/miniconda/envs/xtensor-zarr/bin/../lib/gcc/x86_64-conda-linux-gnu/11.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: /usr/share/miniconda/envs/xtensor-zarr/lib/libpq.so.5: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
test/CMakeFiles/test_xtensor_zarr.dir/build.make:198: recipe for target 'test/test_xtensor_zarr' failed

I have different test failures in a local build:

[==========] Running 12 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 10 tests from xzarr_hierarchy
[ RUN      ] xzarr_hierarchy.read_v2
unknown file: error: C++ exception with description "Unkown compressor type: gzip" thrown in the test body.
[  FAILED  ] xzarr_hierarchy.read_v2 (5 ms)
[ RUN      ] xzarr_hierarchy.read_array
[       OK ] xzarr_hierarchy.read_array (8 ms)
[ RUN      ] xzarr_hierarchy.write_array
unknown file: error: C++ exception with description "Unkown compressor type: gzip" thrown in the test body.
[  FAILED  ] xzarr_hierarchy.write_array (4 ms)
[ RUN      ] xzarr_hierarchy.create_group
[       OK ] xzarr_hierarchy.create_group (4 ms)
[ RUN      ] xzarr_hierarchy.create_node
[       OK ] xzarr_hierarchy.create_node (7 ms)
[ RUN      ] xzarr_hierarchy.explore
C:\Libs\xtensor-zarr\test\test_zarr.cpp(112): error: Expected equality of these values:
  nodes
    Which is: "{\"arthur\\\\dent\":\"array\",\"marvin\":\"explicit_group\",\"marvin\\\\android\":\"array\",\"marvin\\\\paranoid\":\"explicit_group\",\"tricia\\\\mcmillan\":\"explicit_group\"}"
  "{\"arthur\":\"implicit_group\",\"arthur/dent\":\"array\",\"marvin\":\"explicit_group\",\"marvin/android\":\"array\",\"marvin/paranoid\":\"explicit_group\",\"tricia\":\"implicit_group\",\"tricia/mcmillan\":\"explicit_group\"}"
[  FAILED  ] xzarr_hierarchy.explore (7 ms)
[ RUN      ] xzarr_hierarchy.store_erase
unknown file: error: C++ exception with description "The process cannot access the file because it is being used by another process.
: 'store1\key1'" thrown in the test body.
[  FAILED  ] xzarr_hierarchy.store_erase (4 ms)
[ RUN      ] xzarr_hierarchy.store_erase_prefix
[       OK ] xzarr_hierarchy.store_erase_prefix (12 ms)
[ RUN      ] xzarr_hierarchy.write_v2
unknown file: error: C++ exception with description "Unkown compressor type: gzip" thrown in the test body.
[  FAILED  ] xzarr_hierarchy.write_v2 (3 ms)
[ RUN      ] xzarr_hierarchy.array_default_params
[       OK ] xzarr_hierarchy.array_default_params (2 ms)
[----------] 10 tests from xzarr_hierarchy (64 ms total)

[----------] 2 tests from gdal
[ RUN      ] gdal.write_read_v2_array_gdal
unknown file: error: C++ exception with description "Unkown compressor type: gzip" thrown in the test body.
[  FAILED  ] gdal.write_read_v2_array_gdal (3 ms)
[ RUN      ] gdal.write_read_v3_array_gdal
unknown file: error: C++ exception with description "Unkown compressor type: gzip" thrown in the test body.
[  FAILED  ] gdal.write_read_v3_array_gdal (2 ms)
[----------] 2 tests from gdal (6 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 2 test suites ran. (72 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 7 tests, listed below:
[  FAILED  ] xzarr_hierarchy.read_v2
[  FAILED  ] xzarr_hierarchy.write_array
[  FAILED  ] xzarr_hierarchy.explore
[  FAILED  ] xzarr_hierarchy.store_erase
[  FAILED  ] xzarr_hierarchy.write_v2
[  FAILED  ] gdal.write_read_v2_array_gdal
[  FAILED  ] gdal.write_read_v3_array_gdal

 7 FAILED TESTS

C:\Libs\xtensor-zarr-vs19\test\Debug\test_xtensor_zarr.exe (process 40980) exited with code 1.

I am stuck on pretty basic stuff, so help is greatly appreciated.

dzenanz avatar Jan 17 '22 22:01 dzenanz

==> Removing Homebrew installation...
/usr/local/share/info/dir: Permission denied
/usr/local/share/info/dir: Permission denied
...
/usr/local/share/info/dir: Permission denied

This seems to be a waste of time.

dzenanz avatar Jan 17 '22 22:01 dzenanz

So who has write access to this repository to merge these pull requests ?

litxiaoyao avatar Aug 15 '23 08:08 litxiaoyao