Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000530.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml" />
11
12    <title>Status for Andrew DeFaria: Resuming</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/000529.html" title="CIT Building" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000531.html" title="Remove Empty Branch Trigger" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000529.html">&laquo; CIT Building</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000531.html">Remove Empty Branch Trigger &raquo;</a>
44                      </p>
45
46                      <a id="a000530"></a>
47                      <div class="entry" id="entry-530">
48                         <h3 class="entry-header">Resuming</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <p>I haven't been keeping this up lately but I've decided to resume my status even if I don't use this as my actual status report.</p>
52
53 <p>First I'll try to catch up by summarizing what I've been working on lately. Mostly I've been working on this CIT (Continuous Integration and Test) Perl script. CIT is basically an controlling script that calls other build scripts in use here. The idea was to have this script continually build the software, if it needs to build. A primative form of build avoidance is implemented in that a cleartool update is done and if no files are updated in a particular component then that component will not be built.</p>
54
55 <p>Some of its characteristics include:</p>
56
57 <ul>
58   <li>Can run in one time mode as well as in -cit mode (continuous mode)</li>
59
60   <li>Works off of a config, which specifics defaults for the various parameters which can be overriden on the command line</li>
61
62   <li>If -cit is specified, the script goes into <i>daemon mode</i>.
63
64   <li>Script checks to see if you are in the necessary chrooted environment for building (a requirement)</li>
65
66   <li>Added code in cit mode to eliminate the logfiles created if nothing was built</li>
67
68   <li>At key points in a build a build_status.log file is updated so status can be displayed on a web page</li>
69
70   <li>After a successful build a series of tests are run. Continuous build is not too continuous if the testing hangs! And tests have been known to hang! So the script now forks the tests then sets an overall alarm (default 2 hours) for tests to complete. If they don't then a QUIT signal is sent so that the JREs can try to dump their stacks. After a small wait for that a TERM signal is send to all children fo the tests and again we wait. Finally a KILL signal is sent and an appropriate email is then sent out saying that the tests have timed out</li>
71
72   <li>Corresponding PHP script was written to show the status of the cit</li>
73 </ul>
74                            </div>
75                            <div id="more" class="entry-more">
76                               
77                            </div>
78                         </div>
79                         <p class="entry-footer">
80                            <span class="post-footers">Posted by  on March 27, 2006  5:42 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000530.html">Permalink</a>
81                         </p>
82                      </div>
83
84                      
85
86                      
87                   </div>
88                </div>
89             </div>
90          </div>
91       </div>
92    </div>
93 </body>
94 </html>