Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 2004_02.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: February 2004 Archives</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/2004_01.html" title="January 2004" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/2004_03.html" title="March 2004" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25                <h2 id="banner-description">Searchable status reports and work log</h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/2004_01.html">&laquo; January 2004</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/2004_03.html">March 2004 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">February 27, 2004</h2>
44                      <a id="a000145"></a>
45                      <div class="entry" id="entry-145">
46                         <h3 class="entry-header">Hok's merge</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <p>Assisting with Hok's merging of his FX -> 2.4 stuff.</p>
50                               
51                               <p class="entry-footer">
52                                  <span class="post-footers">Posted by  at 11:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000145.html">Permalink</a>
53                                  
54                                  
55                               </p>
56                            </div>
57                         </div>
58                      </div>
59                      
60                      
61
62                      <h2 class="date-header">February 24, 2004</h2>
63                      <a id="a000144"></a>
64                      <div class="entry" id="entry-144">
65                         <h3 class="entry-header">Builds, Releases and Merging</h3>
66                         <div class="entry-content">
67                            <div class="entry-body">
68                               <p>Lots of merging and building with 2 releases today. Still working through problems with us_2340 <-> china_2340 merging. Had to merge flmFiles.h from 2.3 -> us_2340 to pick up some definintions. Also had to build mksf.exe because some changes were coming from China and some from here at the same time. Merging the .exe is not possible in such situations so after insuring that all sources were merged I rebuilt the .exe</p>
69
70 <ul>
71
72 <li>Built and released 2.2.2.1</li>
73
74 <li>Completed merge of 2.2 -> 2.3</li>
75
76 <li>Built and released 2.3.0.5</li>
77
78 <li>Completed merge of 2.3 -> 2.4</li>
79
80 <li>Finished <a href="http://sonsweb.salira.com/WebSAM.html">WebSAM Testing</a> and entered <a href="http://sonsweb.salira.com/WebSAM_Testing.html">bugs</a> into Clearquest</li>
81
82 </ul>
83                               
84                               <p class="entry-footer">
85                                  <span class="post-footers">Posted by  at  3:54 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000144.html">Permalink</a>
86                                  
87                                  
88                               </p>
89                            </div>
90                         </div>
91                      </div>
92                      
93                      
94
95                      <h2 class="date-header">February 19, 2004</h2>
96                      <a id="a000141"></a>
97                      <div class="entry" id="entry-141">
98                         <h3 class="entry-header">build_view bug</h3>
99                         <div class="entry-content">
100                            <div class="entry-body">
101                               <p>Fixed bug in build_view:</p>
102
103 <p>Fixed problem counting errors in output. This is a common problem: How do you distinguish between real errors and file elements or variable that contain the string "error". The approach was:</p>
104    
105 <tt>
106 errors=$(grep -i error $card.build.log | grep -v "Errors: 0" | grep -vc "cli_errors.c")
107 </tt>
108    
109 <p>which looks for errors in general, weeds out the "Errors: 0" that the NP complier puts out and then makes an exception for the file element named cli_errors.c. Well with onu2311 comes new output that contains the string "error" but is not an error. Notably:</p>
110    
111 <tt>
112 dmt_main.c: In function `reportErrorPort':<br>
113 dmt_main.c:274: warning: implicit declaration of function `resetPortErrorCounts'
114 </tt>
115    
116 <p>For now we will make an exceptions for "ErrorPort" and "PortError" but this is not an ideal solution to the problem in general.</p>
117                               
118                               <p class="entry-footer">
119                                  <span class="post-footers">Posted by  at 10:54 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000141.html">Permalink</a>
120                                  
121                                  
122                               </p>
123                            </div>
124                         </div>
125                      </div>
126                      
127                      
128
129                      <h2 class="date-header">February 18, 2004</h2>
130                      <a id="a000140"></a>
131                      <div class="entry" id="entry-140">
132                         <h3 class="entry-header">WebSAM Testing</h3>
133                         <div class="entry-content">
134                            <div class="entry-body">
135                               <p>More WebSAM Testing. Almost done...</p>
136                               
137                               <p class="entry-footer">
138                                  <span class="post-footers">Posted by  at  5:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000140.html">Permalink</a>
139                                  
140                                  
141                               </p>
142                            </div>
143                         </div>
144                      </div>
145                      
146                      
147
148                      <h2 class="date-header">February 13, 2004</h2>
149                      <a id="a000136"></a>
150                      <div class="entry" id="entry-136">
151                         <h3 class="entry-header">2.3.0.4 and more testing</h3>
152                         <div class="entry-content">
153                            <div class="entry-body">
154                               <p>Was trying to get all of my WebSAM testing completed but was not able to. Got kicked onto another test system and that one had problems. Luckily Asad and Jeff helped fix things up for me. Got a lot done but may need to do more tomorrow.</p>
155
156 <h3>2.3.0.4 releaseed</h3>
157
158 <p>2.3.0.4 bring in the FX branch into the 2.3 release line. It also has fairly major functionality identified by bug ID 3605 (287 elements changed!) and a new card, onu2311.</p>
159
160 <p>Please let me know when you guys and gals make a new card! While updating the makefile will indeed insure that the new card is build when one types make, I use scripts and processes that rely on the definition of <i>cards</i> defined in /Tools/adm/etc/cards and need to update that file when a new card appears. Thanks.</p>
161
162 <p>Regarding the FX branch: The FX branch was a temporary branch for engineers to work on until 2.3 stablized. As such, with it's successful merge I plan on <font color="red"><b>destroying</b></font> both us_fx and china_fx branches. A destroy means that <i>the branch, element versions on that branches,  any labels on those element versions and merge arrows to and from the FX branches will <b>disappear</b></i>. It will be as if suddenly a bunch of new FX related code got checked into the 2.3 release line. Since the FX branch was indeed temporary I don't see any problem with destroying it though. Let me know if you have any objection to this.</p>
163
164 <p>Before I destroy the FX branches however Hok has to check in his code and merge it to 2.4.</p>
165                               
166                               <p class="entry-footer">
167                                  <span class="post-footers">Posted by  at  8:57 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000136.html">Permalink</a>
168                                  
169                                  
170                               </p>
171                            </div>
172                         </div>
173                      </div>
174                      
175                      
176
177                      <h2 class="date-header">February 12, 2004</h2>
178                      <a id="a000131"></a>
179                      <div class="entry" id="entry-131">
180                         <h3 class="entry-header">Trigger bug, Testing, FX Merge complete!</h3>
181                         <div class="entry-content">
182                            <div class="entry-body">
183                               <ul>
184
185 <li>Fixed bug in CheckinPostop.pl trigger. Seems we need to have a total of 4, count 'em, 4 "\" to equate to one "\" in Windows. Needed to change code to use "@\\\\salira" to indicate the salira vob.</li>
186
187 <li>Performed more testing of WebSAM. Didn't get very far because I encountered some sort of hardware problem that Asad got me out of (partitially). Still seem to have some misbehaving cards. Don't seem to have a PTC card in this system nor any ONUs. Must look into this more tomorrow.</li>
188
189 <li>Fixed bug in trigger for real this tiem. It was not as indicated above. We did not need extra "\"'s rather we needed to remove the "2> /dev/null" redirection as that is a Unix'ism and ActiveState Perl, which is the Perl the Clearcase is invoking, doesn't like that syntax!</li>
190
191 <li>Completed the FX merge!</li>
192
193 </ul>
194                               
195                               <p class="entry-footer">
196                                  <span class="post-footers">Posted by  at  5:34 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000131.html">Permalink</a>
197                                  
198                                  
199                               </p>
200                            </div>
201                         </div>
202                      </div>
203                      
204                      
205
206                      <h2 class="date-header">February 10, 2004</h2>
207                      <a id="a000130"></a>
208                      <div class="entry" id="entry-130">
209                         <h3 class="entry-header">Fixing code</h3>
210                         <div class="entry-content">
211                            <div class="entry-body">
212                               <ul>
213
214 <li>Fixed bug in build script that incorrectly passes status back up to calling script. This caused build to report success when build actually failed</li>
215
216 <li>Fixed CheckInPostop script to check to see if label already exists instead of creating it everytime. This should reduce some nonsense error messages</li>
217
218 </ul>
219                               
220                               <p class="entry-footer">
221                                  <span class="post-footers">Posted by  at  4:55 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000130.html">Permalink</a>
222                                  
223                                  
224                               </p>
225                            </div>
226                         </div>
227                      </div>
228                      
229                      
230
231                      <h2 class="date-header">February  9, 2004</h2>
232                      <a id="a000129"></a>
233                      <div class="entry" id="entry-129">
234                         <h3 class="entry-header">2.3.0.3 built - build bug</h3>
235                         <div class="entry-content">
236                            <div class="entry-body">
237                               <p>Built 2.3.0.3. Not sure if it's officially done yet in that there may be some problems with the ONU2310 FPGA image.</p>
238
239 <p>Meantime I've been trying to figure out why sometimes the build process says all is OK when there are build errors. Turns out to be a shell problem with tee. When building I'm doing:</p>
240
241 <pre>
242 $ make $card.sf 2>&1 | tee -a $teefile > $card.build.log
243 </pre>
244
245 <p>Seems this tee thing messes up the return code from make. This can be demonstrated simply by:</p>
246
247 <pre>
248 $ ls nonexistance_file 2>&1 | tee -a /tmp/ls.log > /tmp/ls2.log; echo $?
249 0
250 </pre>
251
252 <p>Need to figure out how to fix this...</p>
253
254 <p>Merged NeoPON.ccp from 2.2 -> 2.3 by drawing merge arrow. This was after Zhiyi OKed this merge.</p>
255
256 <p>Worked out remaining merge issues on other branches. These were largely "can't check in identical file" type problems.</p>
257
258 <p>Attempted an FX -> 2.3 merge. Only like 40 elements to merge but some manual merging was required. Due to 2.3.0.3 build for KDDI this was put on hold. Need to merge this then allow Hok to check in before destroying this branch.</p>
259                               
260                               <p class="entry-footer">
261                                  <span class="post-footers">Posted by  at  5:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000129.html">Permalink</a>
262                                  
263                                  
264                               </p>
265                            </div>
266                         </div>
267                      </div>
268                      
269                      
270
271                      <h2 class="date-header">February  6, 2004</h2>
272                      <a id="a000119"></a>
273                      <div class="entry" id="entry-119">
274                         <h3 class="entry-header">CI Trigger Bug</h3>
275                         <div class="entry-content">
276                            <div class="entry-body">
277                               <p>Fixed bug in CheckInPost.pl. This bug was caused by an element having a space character in it (e.g. a directory named "source code"). The checkin trigger had the following line:</p>
278
279 <pre>
280 $result = system ("cleartool mklabel -replace $bugid $pname");
281 </pre>
282
283 <p>This line assumes that $pname does not contain a space character. The fix was:</p>
284
285 <pre>
286 $result = system ("cleartool mklabel -replace $bugid \"$pname\"");
287 </pre>
288
289 <p>The \"'s surround $pname and thus protect it.</p>
290                               
291                               <p class="entry-footer">
292                                  <span class="post-footers">Posted by  at 11:13 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000119.html">Permalink</a>
293                                  
294                                  
295                               </p>
296                            </div>
297                         </div>
298                      </div>
299                      
300                      
301
302                      <h2 class="date-header">February  5, 2004</h2>
303                      <a id="a000118"></a>
304                      <div class="entry" id="entry-118">
305                         <h3 class="entry-header">2.3 KDDI release</h3>
306                         <div class="entry-content">
307                            <div class="entry-body">
308                               <ul>
309
310 <li>Built 2.3.0.2</li>
311
312 <li>Created 2.2.2.1</li>
313
314 </ul>
315                               
316                               <p class="entry-footer">
317                                  <span class="post-footers">Posted by  at  5:06 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000118.html">Permalink</a>
318                                  
319                                  
320                               </p>
321                            </div>
322                         </div>
323                      </div>
324                      
325                      
326
327                      <h2 class="date-header">February  4, 2004</h2>
328                      <a id="a000117"></a>
329                      <div class="entry" id="entry-117">
330                         <h3 class="entry-header">2.3 merging/New 2340 branch</h3>
331                         <div class="entry-content">
332                            <div class="entry-body">
333                               <ul>
334
335 <li>Worked on 2.3 merge problems. NeoPON.ccp came in merged but the auto merged failed due to a link problem with onu2330. Zhiyi is working on this for 2.3.0.2</li>
336
337 <li>Worked with Hong Bin to get FPGA files visible</li>
338
339 <li>Changed includeable config specs to handle new files created by other site</li>
340
341 <li>Setup us_2340/china_2340 branches, views and ctmerge jobs.</li>
342 </ul>
343                               
344                               <p class="entry-footer">
345                                  <span class="post-footers">Posted by  at  6:13 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000117.html">Permalink</a>
346                                  
347                                  
348                               </p>
349                            </div>
350                         </div>
351                      </div>
352                      
353                      
354
355                      <h2 class="date-header">February  2, 2004</h2>
356                      <a id="a000116"></a>
357                      <div class="entry" id="entry-116">
358                         <h3 class="entry-header">2.3 merge issues</h3>
359                         <div class="entry-content">
360                            <div class="entry-body">
361                               <ul>
362
363 <li>Resolved 2.3 merge issues</li>
364 <li>More WebSAM testing...</li>
365
366 </ul>
367                               
368                               <p class="entry-footer">
369                                  <span class="post-footers">Posted by  at  5:18 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000116.html">Permalink</a>
370                                  
371                                  
372                               </p>
373                            </div>
374                         </div>
375                      </div>
376                      
377                   </div>
378                </div>
379             </div>
380          </div>
381       </div>
382    </div>
383 </body>
384 </html>