ofi-cray / libfabric-cray

Open Fabric Interfaces
http://ofiwg.github.io/libfabric/
Other
16 stars 9 forks source link

rdm_rma tests warn about failing to close a few domains when FI_LOG_LEVEL=warn #592

Closed e-harvey closed 8 years ago

e-harvey commented 8 years ago

Closing a domain without closing the objects that hold a reference to the domain may cause this error. The domain should be closed when the last object holding a reference to the domain is closed.

e-harvey commented 8 years ago

The following tests throw "failed to fully close domain due to lingering references." warnings: rdm_rma::inject_write, rdm_rma::inject_write_retrans, rdm_rma::inject_writedata, rdm_rma::inject_writedata_retrans, rdm_tagged_sr::tinject, rdm_atomic::atomicinject.

The rdm_rma tests appear to be leaving references due to _gnix_fr_free not being called in gnix_rma.c:_gnix_rma. However, when calling _gnix_fr_free every time in gnix_rma.c:_gnix_rma some rdm_rma tests such as inject_write_retrans hangs while others such as inject_write pass with no lingering references.

sungeunchoi commented 8 years ago

These were determined to be benign, as the progress thread is still cleaning up fab reqs. #628 changed the GNIX_WARN to GNIX_INFO (to be consistent), so we don't see these any more.