Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364156 - Problems getting the "prereq" eclipse -- removed prematurely
Summary: Problems getting the "prereq" eclipse -- removed prematurely
Status: RESOLVED FIXED
Alias: None
Product: Orbit
Classification: Tools
Component: releng (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Williams CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 09:19 EST by David Williams CLA
Modified: 2011-11-19 19:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2011-11-18 09:19:08 EST
+++ This bug was initially created as a clone of Bug #364151 +++

<quote>
A. the file was removed from prereqscache by our "cleanup" scripts, I'm assuming, but it should not have been. It is likely not being marked as "accessed" correctly so the cleanup script thinks it is no longer in use. 
</quote>

I confirmed that the file was "prematurely" cleaned up on 11/17 approximately midnight

http://build.eclipse.org:9777/dashboard/tab/build/detail/cleanup-artifacts-B/20111117000942

Its set up so that, supposedly, prereqs that haven't been used for 30 days get removed ... so, that part of script that should "touch" the file everytime it is used is probably not working right.
Comment 1 David Williams CLA 2011-11-19 19:53:03 EST
Well, this is embarrassing  ... I had put in the "touch" tasks in our ant scripts (so we could automate removal of old things, never used) and could not figure out why they weren't working ... I spent a few hours assuming it was an ant quirk ... then discovered I'd simply never "hooked up" the ant tasks to run! 

So, now they do. Using "stat <filename>" shows both the modification and changed times are changed when a build is ran (access time isn't ... but there's many problems using access time ... it either doesn't change enough, or changes too much, depending on how the file systems are setup). 

$ stat eclipse-SDK-3.7.1-linux-gtk.tar.gz 
  File: `eclipse-SDK-3.7.1-linux-gtk.tar.gz'
  Size: 182296293       Blocks: 356408     IO Block: 32768  regular file
Device: 14h/20d Inode: 74637810    Links: 1
Access: (0664/-rw-rw-r--)  Uid: (55006/orbitBuild)   Gid: ( 8439/tools.orbit)
Access: 2011-11-19 18:28:23.000000000 -0500
Modify: 2011-11-19 19:36:39.000000000 -0500
Change: 2011-11-19 19:36:39.000000000 -0500