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

Two build time test errors in connection with hdf5 #494

Closed
tillea opened this issue Dec 8, 2020 · 4 comments · Fixed by #496
Closed

Two build time test errors in connection with hdf5 #494

tillea opened this issue Dec 8, 2020 · 4 comments · Fixed by #496
Labels
category: bug errors in the code or code behavior

Comments

@tillea
Copy link

tillea commented Dec 8, 2020

Bug when building under Debian

There was a bug which essentially boils down to

======================================================================
FAIL: test_link_h5py_dataset_h5dataio_input (tests.unit.test_io_hdf5_h5tools.H5IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_hdmf/build/tests/unit/test_io_hdf5_h5tools.py", line 688, in test_link_h5py_dataset_h5dataio_input
    self.assertTrue(isinstance(self.f.get('test_softlink', getlink=True), SoftLink))
AssertionError: False is not true

======================================================================
FAIL: test_link_h5py_dataset_input (tests.unit.test_io_hdf5_h5tools.H5IOTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_hdmf/build/tests/unit/test_io_hdf5_h5tools.py", line 671, in test_link_h5py_dataset_input
    self.assertTrue(isinstance(self.f.get('test_softlink', getlink=True), SoftLink))
AssertionError: False is not true

----------------------------------------------------------------------
Ran 748 tests in 3.146s

FAILED (failures=2, skipped=3, expected failures=1)

Steps to Reproduce

I was able to reproduce this under Debian sid.

Environment

Python Executable: Python
Python Version: Python 39
Operating System: Debian GNU Linux
HDMF Version: 2.2.0

Kind regards, Andreas.

@tillea tillea added the category: bug errors in the code or code behavior label Dec 8, 2020
@rly
Copy link
Contributor

rly commented Dec 8, 2020

Thanks for the bug report. I am finally able to reproduce the bug.

Oddly, running the test stochastically results in either zero, two, or three errors related to hdf5 links. I'll see if I can track down the source of the errors.

@tillea
Copy link
Author

tillea commented Dec 8, 2020 via email

@rly
Copy link
Contributor

rly commented Dec 8, 2020

This should be handled now with #496. Thanks for the issue ticket!

@tillea
Copy link
Author

tillea commented Dec 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: bug errors in the code or code behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants