Hi, Pelle.
No, I told you wrong. We can't use the FTP location as it doesn't play well with the FileCache class used to download the files.
I've actually fixed this up for you so here are the URLs to use in your TestCase:
http://www.lcsim.org/test/hps-java/HPSTestRunTracker2014GeometryTrackerRecon-bottom.slcio
http://www.lcsim.org/test/hps-java/HPSTestRunTracker2014GeometryTrackerRecon-top.slcio
In the future, this is the actual NFS location where the test case files should be copied:
/nfs/slac/g/lcd/mc/prj/www/lcsim/test/hps-java
And that dir corresponds to this directory on the web:
http://www.lcsim.org/test/hps-java/
The dir permissions should allow you to write files there.
Your two files should be writable if you want to overwrite them as you develop.
When you are pretty certain that you won't change the input anymore, let me know and I'll set them to read-only.
(In the future, you can do that yourself as any files you copy there would be owned by you.)
***BTW, you can't use symlinks from an HTTP address. You must actually copy a file to that location.***
Sorry about the confusion! My fault...
--Jeremy
-----Original Message-----
From: Hansson Adrian, Per Ola
Sent: Tuesday, September 30, 2014 4:44 PM
To: McCormick, Jeremy I.
Cc: Omar Moreno; hps-software
Subject: Re: test case directory
Can create now. Other issue:
ls /nfs/slac/g/hps/hps_data/hps_java_test_case_data
ConditionsTest.slcio
EcalReadoutSimTest.slcio
EtSystemTest.evio
HPSTestRunTracker2014GeometryTrackerRecon-bottom.slcio
HPSTestRunTracker2014GeometryTrackerRecon-top.slcio
MCFilteredReconTest.slcio
MCReconTest.slcio
MockDataReconTest.slcio
TestRunEvioToLcioTest.evio
but when I go to "http://www.lcsim.org/test/hps-java/" my files are not there...
Do I have the wrong directory?
On Sep 30, 2014, at 3:53 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Try now....
-----Original Message-----
From: Hansson Adrian, Per Ola
Sent: Tuesday, September 30, 2014 3:50 PM
To: McCormick, Jeremy I.
Cc: Omar Moreno; hps-software
Subject: Re: test case directory
On Sep 30, 2014, at 11:56 AM, McCormick, Jeremy I. <[log in to unmask]> wrote:
Hi,
I think the directory for HPS Java test case files should be writable now.
/nfs/slac/g/hps/hps_data/hps_java_test_case_data
Can you try it and let me know?
I cannot create a file in that directory.
/pelle
Please name your input data file exactly the same as your test case,
e.g. if your test case is called MyTestCase and you have an input LCIO
file for it, then name it MyTestCase.slcio. This is so we can know at a glance exactly which data files are being used by which test cases.
Also, you should remove write permissions on the file after you have copied it there using 'chmod 444'
so that the file is readable by anyone but cannot be overwritten
unless you explicitly execute 'rm' on it and override this. That is
so we don't inadvertantly clobber test case data that is required by the Hudson builds.
Let me know if you have any questions about this...
--Jeremy
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1
|