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

make distcheck fails in nczarr_test/run_scalar.sh #2545

Closed
edwardhartnett opened this issue Nov 4, 2022 · 1 comment
Closed

make distcheck fails in nczarr_test/run_scalar.sh #2545

edwardhartnett opened this issue Nov 4, 2022 · 1 comment

Comments

@edwardhartnett
Copy link
Contributor

There is some problem with file ref_scalar.cdl.

There is a file ref_scalar.cdl in nczarr_test, and it is included in EXTRA_DIST, but it is generated by ncgen?

Here's the output of the failure:

+ testcase file
+ zext=file
+ echo *** Test: scalar write/read
*** Test: scalar write/read
+ fileargs tmp_scalar_zarr mode=zarr,file
+ f=tmp_scalar_zarr
+ frag=mode=zarr,file
+ test xmode=zarr,file = x
+ file=tmp_scalar_zarr.file
+ fileurl=file://tmp_scalar_zarr.file#mode=zarr,file
+ zarrurl=file://tmp_scalar_zarr.file#mode=zarr,file
+ zarrfile=tmp_scalar_zarr.file
+ fileargs tmp_scalar_nczarr mode=nczarr,file
+ f=tmp_scalar_nczarr
+ frag=mode=nczarr,file
+ test xmode=nczarr,file = x
+ file=tmp_scalar_nczarr.file
+ fileurl=file://tmp_scalar_nczarr.file#mode=nczarr,file
+ nczarrurl=file://tmp_scalar_nczarr.file#mode=nczarr,file
+ nczarrfile=tmp_scalar_nczarr.file
+ deletemap file tmp_scalar_zarr.file
+ rm -fr tmp_scalar_zarr.file
+ deletemap file tmp_scalar_nczarr.file
+ rm -fr tmp_scalar_nczarr.file
+ echo *** create pure zarr file
*** create pure zarr file
+ /home/ed/netcdf-c/netcdf-c-4.9.1-development/_build/sub/ncgen/ncgen -4 -b -o file://tmp_scalar_zarr.file#mode=zarr,file /home/ed/netcdf-c/netcdf-c-4.9.1-development/nczarr_test/ref_scalar.cdl
+ echo *** create nczarr file
*** create nczarr file
+ /home/ed/netcdf-c/netcdf-c-4.9.1-development/_build/sub/ncgen/ncgen -4 -b -o file://tmp_scalar_nczarr.file#mode=nczarr,file /home/ed/netcdf-c/netcdf-c-4.9.1-development/nczarr_test/ref_scalar.cdl
+ echo *** read purezarr
*** read purezarr
+ /home/ed/netcdf-c/netcdf-c-4.9.1-development/_build/sub/ncdump/ncdump -n ref_scalar file://tmp_scalar_zarr.file#mode=zarr,file
+ /home/ed/netcdf-c/netcdf-c-4.9.1-development/_build/sub/nczarr_test/zmapio -h file://tmp_scalar_zarr.file#mode=zarr,file
Default type: ubyte
Default action: objdump
+ echo *** read nczarr
*** read nczarr
+ /home/ed/netcdf-c/netcdf-c-4.9.1-development/_build/sub/ncdump/ncdump -n ref_scalar file://tmp_scalar_nczarr.file#mode=nczarr,file
+ /home/ed/netcdf-c/netcdf-c-4.9.1-development/_build/sub/nczarr_test/zmapio -h file://tmp_scalar_nczarr.file#mode=nczarr,file
Default type: ubyte
Default action: objdump
+ echo *** verify
*** verify
+ diff -bw ref_scalar.cdl tmp_scalar_nczarr_file.cdl
diff: ref_scalar.cdl: No such file or directory
FAIL run_scalar.sh (exit status: 2)

I don't understand what is happening here...

DennisHeimbigner added a commit to DennisHeimbigner/netcdf-c that referenced this issue Nov 4, 2022
re: Issue Unidata#2545
re: Issue Unidata#2544

1. Test nczarr_test/run_scalar.sh was incorrectly accessing ref_scalar.cdl.
2. Disable dap4 testing until fixed for netcdf-java.
@edwardhartnett
Copy link
Contributor Author

This has been fixed. Thanks @DennisHeimbigner !!

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

No branches or pull requests

1 participant