Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing: cxx4_test_filter (10/18) - Failed #134

Open
niko-zvt opened this issue Jun 27, 2023 · 2 comments · May be fixed by #138
Open

Testing: cxx4_test_filter (10/18) - Failed #134

niko-zvt opened this issue Jun 27, 2023 · 2 comments · May be fixed by #138

Comments

@niko-zvt
Copy link

  • netcdf-cxx4 (v4.3.1)
  • Apple M2 Pro, macosx13.3.

While running the ctest command, one of the tests (10/18) throws an error.

Log:

10/18 Testing: cxx4_test_filter
10/18 Test: cxx4_test_filter
Command: "/Users/user/dev/Libs/netcdf-cxx4-4.3.1/build/cxx4/cxx4_test_filter"
Directory: /Users/user/dev/Libs/netcdf-cxx4-4.3.1/build/cxx4
"cxx4_test_filter" start time: Jun 27 20:05 MSK
Output:
----------------------------------------------------------
Setting Filter....Caught unexpected exception.
<end of output>
Test time =   0.00 sec
----------------------------------------------------------
Test Failed.
"cxx4_test_filter" end time: Jun 27 20:05 MSK
"cxx4_test_filter" time elapsed: 00:00:00
----------------------------------------------------------

ctest --rerun-failed --output-on-failure output:

Test project /Users/user/dev/Libs/netcdf-cxx4-4.3.1/build
    Start 10: cxx4_test_filter
1/1 Test #10: cxx4_test_filter .................***Failed    0.01 sec
Setting Filter....Caught unexpected exception.

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.02 sec

The following tests FAILED:
	 10 - cxx4_test_filter (Failed)
Errors while running CTest

@SylviaZiyuZhang
Copy link

I encountered the same issue with

  • Ubuntu 22.04.3 LTS
  • netcdf-cxx4 (v4.3.1)

@ZedThree
Copy link
Contributor

I think this is because the test hardcodes the use of the BZIP2 filter, which might not be available. If it just used the deflate filter, that should always be available

ZedThree added a commit to ZedThree/netcdf-cxx4 that referenced this issue Oct 19, 2023
Fixes Unidata#134

BZIP2 filter might not be available depending on how HDF5 was compiled
@ZedThree ZedThree linked a pull request Oct 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants