Project

General

Profile

Bug #1548

PIDVarATestSetUp fails in trunk

Added by Rogers, Chris almost 9 years ago. Updated almost 9 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
Global Reconstruction
Target version:
Start date:
01 September 2014
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

From #1497

[ 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


Related issues

Related to MAUS - Bug #1492: Cpp unit test failure in trunkOpenRajaram, Durga23 June 2014

Actions
Related to MAUS - Feature #1497: Require to set production threshold per volumeClosedRogers, Chris25 June 2014

Actions
#1

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

#2

Updated by Nugent, John almost 9 years ago

Hi Durga,

thanks for the fix, the installation now runs all test without complaint.

Cheers,
John

Also available in: Atom PDF