hpc / mpifileutils

File utilities designed for scalability and performance.
https://hpc.github.io/mpifileutils
BSD 3-Clause "New" or "Revised" License
168 stars 66 forks source link

daos: negative test case bug fixes #499

Closed dsikich closed 3 years ago

dsikich commented 3 years ago

This fixes bugs found in a test case that is currently being skippin the DAOS CI. There were a couple of regressions that need fixing. If a daos source string without a container was passed in dcp was not reporting invalid arguments were passed. It should not matter if the source/dest pool or cont UUID are upper or lower case. It was incorrectly reporting that the DAOS source and destination were the same in that case. The daos_pwrite/pread calls were not returning -1 on error.

* properly check if a source pool and source cont are passed
* allow passing in upper or lower case UUIDs for src and dst
* return -1 when daos read/write calls fail

Signed-off-by: Danielle Sikich danielle.sikich@intel.com

dsikich commented 3 years ago

@daltonbohning added a fix for when program was continuing to write to a DAOS container when it was out of space. All datamover/negative.py are passing now with these fixes.