PIDVarATestSetUp fails in trunk
01 September 2014
[ RUN ] PIDVarATestSetUp.TestSetUpAndTearDown rm: cannot remove `/afs/phas.gla.ac.uk/user/j/jnugent/private/PhD_Year_1/Coding/maus/merge/files/PID/test_test/.__afsE39E': Device or resource busy rm: cannot remove `/afs/phas.gla.ac.uk/user/j/jnugent/private/PhD_Year_1/Coding/maus/merge/files/PID/test_test/.__afs7E3B': Device or resource busy tests/cpp_unit/Recon/Global/PIDVarATest.cc:50: Failure Value of: 0 Expected: system(rmdirCmd.c_str()) Which is: 256 [ FAILED ] PIDVarATestSetUp.TestSetUpAndTearDown (19 ms)
Possibly related to #1492
Updated by Rajaram, Durga almost 9 years ago
John -- can I trouble you to try the latest trunk? r766
If it still fails, let me know and I'll try to replicate an afs/nfs mount to reproduce and fix.
Celeste - FYI, I added a TFile::Close to the PIDBase destructor - it was being opened in the constructor, but not closed
and I'm not sure if that's the (or one of the reasons) there was a stubborn file handle
Updated by Nugent, John almost 9 years ago
thanks for the fix, the installation now runs all test without complaint.