Ubuntu packages for libjhdf4-java+libjhdf5-java and h5py are conflicting and causing weird crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Critical
|
Lars Butler |
Bug Description
I am currently developing the main disaggregation task (bug # 860443). (At the time this bug was filed, this code has not yet landed in master). Part of this task makes a call to the DisaggregationC
Some Python code was recently added which requires the python-h5py Ubuntu package. Once this code landed in master, I'm getting the following errors when I run the test suite:
$ ./run_tests -v
Test multiple add entry calls ... ok
test_add_
test_flush (tests.
test_flush_geometry (tests.
Verify that :py:function:
Test that :py:function:
Given the test data, make sure that ... ok
Test the proper behavior of ... ok
Test the proper behavior of ... ok
test_get_
Test that the ... ok
test_get_
test_parse_
test_parse_
test_parse_
Test serialization of a single simple fault source with an ... ok
Similar to test_serialize, except the test input data includes a ... ok
For each model in the 'admin' schema, test for proper db routing ... ok
For each model in the 'admin' schema, test for proper db routing ... ok
For each model in the 'eqcat' schema, test for proper db routing ... ok
For each model in the 'eqcat' schema, test for proper db routing ... ok
For each model in the 'hzrdi' schema, test for proper db routing ... ok
For each model in the 'hzrdi' schema, test for proper db routing ... ok
For each model in the 'hzrdr' schema, test for proper db routing ... ok
For each model in the 'hzrdr' schema, test for proper db routing ... ok
For each model in the 'oqmif' schema, test for proper db routing ... ok
For each model in the 'oqmif' schema, test for proper db routing ... ok
For each model in the 'riski' schema, test for proper db routing ... ok
For each model in the 'riski' schema, test for proper db routing ... ok
For each model in the 'riskr' schema, test for proper db routing ... ok
For each model in the 'riskr' schema, test for proper db routing ... ok
For each model in the 'uiapi' schema, test for proper db routing ... ok
For each model in the 'uiapi' schema, test for proper db routing ... ok
The deterministic calculator is triggered. ... ok
test_loads_
The hazard subsystem is able to trigger multiple computations. ... ok
test_simple_
The hazard subsystem stores the computed gmfs in kvs. ... ok
test_the_
test_the_
test_transforms
test_when_
test_when_
Exercise the deterministic risk job and make sure it runs end-to-end. ... ok
Exercises the function ... ok
Exercises the function ... ok
Test construction of a Double[] (Java array) from a list of floats. ... ok
Test the core function of the main disaggregation task. ... HDF5: infinite loop closing library
D,
If I completely remove the tests for the Python HDF5 code (tests/
Through a little more investigation, I found out that I can produce this error by simply importing `h5py` and running the tests which call the DisaggregationC
This works:
$ (export DJANGO_
..
-------
Ran 2 tests in 12.008s
OK
If I simply add an `import h5py` to this file (disaggregation
$ (export DJANGO_
.HDF5: infinite loop closing library
D,
Changed in openquake: | |
importance: | Undecided → Critical |
Changed in openquake: | |
milestone: | none → 0.4.5 |
assignee: | nobody → Lars Butler (lars-butler) |
Changed in openquake: | |
milestone: | 0.4.5 → 0.4.6 |
Changed in openquake: | |
status: | In Progress → Fix Committed |
al-maisan has been able to reproduce this error on this Ubuntu machine. Only Ubuntu systems are affected.