Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 261022

Summary: Crontab on emft.eclipse.org is broken
Product: [Tools] GEF Reporter: Anthony Hunter <ahunter.eclipse>
Component: RelEngAssignee: Nick Boldt <nboldt>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.4   
Target Milestone: 3.5.0 (Galileo) M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2009-01-14 09:55:45 EST
Somehow the crontab is missing some fields, the GEF builds did not run last night. The output is below. I am rerunning the two builds again manually.

/home/www-data/cron_logs<897> >> cat update_tags.sh.gef.34M.txt
[18:20:11] Error: options file not set.

usage:
/home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh OPTIONS_FILE
/home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh OPTIONS_FILE -buildType S -buildAlias 1.2.0M4
/home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh OPTIONS_FILE -debug 2 2>&1 | tee /tmp/update_tags_log_`date +%Y%m%d_%H%M%S`.txt

Optional flags:
  -debug {0|1|2}
  -buildType {I|M|S|R}
  -buildAlias 1.2.0M4
        -- override flag(s) in OPTIONS_FILE's EXECUTE_ON_MAP_CHANGE method (eg., for Milestones)
  -noExecuteOnMapChange, -noexec
        -- disable running OPTIONS_FILE's EXECUTE_ON_MAP_CHANGE script

Where OPTIONS_FILE is the absolute path to the config file containing the variables required by this script.
See also https://radical.raleigh.ibm.com/daisy/main/19753
/home/www-data/cron_logs<898> >> cat update_tags.sh.gef.35I.txt
[18:50:08] Error: options file not set.

usage:
/home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh OPTIONS_FILE
/home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh OPTIONS_FILE -buildType S -buildAlias 1.2.0M4
/home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/update_tags.sh OPTIONS_FILE -debug 2 2>&1 | tee /tmp/update_tags_log_`date +%Y%m%d_%H%M%S`.txt

Optional flags:
  -debug {0|1|2}
  -buildType {I|M|S|R}
  -buildAlias 1.2.0M4
        -- override flag(s) in OPTIONS_FILE's EXECUTE_ON_MAP_CHANGE method (eg., for Milestones)
  -noExecuteOnMapChange, -noexec
        -- disable running OPTIONS_FILE's EXECUTE_ON_MAP_CHANGE script

Where OPTIONS_FILE is the absolute path to the config file containing the variables required by this script.
See also https://radical.raleigh.ibm.com/daisy/main/19753
Comment 1 Anthony Hunter CLA 2009-01-14 10:02:51 EST
The issue is that the crontab contains /home/www-data/modeling-releng-common/tools/org.eclipse.releng.tools.tagandrelease/gef.HEAD.options.txxt

txxt should be txt.

I have no idea why this was done.

Nick, can you fix the crontab file in CVS and update emft.eclipse.org?
Comment 2 Nick Boldt CLA 2009-01-14 12:42:42 EST
> txxt should be txt.
> Nick, can you fix the crontab file in CVS and update emft.eclipse.org?

Smells like a bad global string replacement done at some point. Apologies, it's
fixed now.