DAOS-11171 test: add dfuse mtime unit tests
Test-tag: dfuse,pr dfuse,daily_regression dfuse_unit
- Change dfuse time granularity to 1 (nanosecond)
- Add dfuse unit mtime unit tests
- Adjust dfuse_test to run with or without metadata tests
- Add metadata tests to ftest/daos_test/dfuse.py
Signed-off-by: Dalton Bohning [email protected]
Required-githooks: true
Bug-tracker data: Ticket title is 'dfuse: add mtime unit test' Status is 'In Review' Job should run at elevated priority (2) https://daosio.atlassian.net/browse/DAOS-11171
Test stage Build on Leap 15 with Intel-C and TARGET_PREFIX completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/5/execution/node/343/log
Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/5/execution/node/289/log
Test stage Build RPM on Leap 15 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/5/execution/node/340/log
Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/5/execution/node/299/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/7/execution/node/167/log
Merged this with master and I've enabled the metadata tests in all cases so we can see the results.
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/8/execution/node/146/log
The test failures are a dfs issue, when setattr is called it first calls stat, then it applies the changes. For truncate it does not then re-sample the remote mtime value.
https://github.com/daos-stack/daos/blob/master/src/client/dfs/dfs.c#L4758-L4763
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/9/execution/node/144/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/10/execution/node/148/log
Test stage Functional Hardware Large completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-9778/11/display/redirect
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/12/execution/node/146/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/13/execution/node/145/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/14/execution/node/145/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/15/execution/node/144/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/16/execution/node/144/log
Test stage checkpatch completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-9778/17/execution/node/145/log