<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="rss.css" type="text/css"?>
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:xhtml="http://www.w3.org/1999/xhtml" xml:lang="ja-JP">
	<channel rdf:about="http://yoichi.geiin.org/d/index.rdf">
	<title>Yoichi's diary(without comments)</title>
	<link>http://yoichi.geiin.org/d/</link>
	<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/" />
	<description></description>
	<dc:creator>Yoichi NAKAYAMA</dc:creator>
	<dc:rights>Copyright 2012 Yoichi NAKAYAMA &lt;yoichi-geiin-tdiary@geiin.org&gt;, copyright of comments by respective authors</dc:rights>
	<items><rdf:Seq>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120515#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120513#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120512#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120420#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120417#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120408#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120407#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120401#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120406#p01"/>
<rdf:li rdf:resource="http://yoichi.geiin.org/d/?date=20120406#p02"/>
</rdf:Seq></items>
</channel>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120515#p01">
<link>http://yoichi.geiin.org/d/?date=20120515#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120515#p01" />
<dc:date>2012-05-15T12:34:32+09:00</dc:date>
<title>Warnings Plugin</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<dc:subject>jenkins</dc:subject>
<description>MSBuild parser においてエラーは High Priority としてカウントしてくれることを確認。エラーで止めると Publisher まで到達しないので、エラーを無視して Job としては成功するようにしておく必要がある。 警告が増加したら通知するような仕組みはないんかな（グラフを見えるところに置いとけという話かも）</description>
<content:encoded><![CDATA[<h3><a href="https://wiki.jenkins-ci.org/display/JENKINS/Warnings+Plugin">Warnings Plugin</a></h3><p>MSBuild parser においてエラーは High Priority としてカウントしてくれることを確認。エラーで止めると Publisher まで到達しないので、エラーを無視して Job としては成功するようにしておく必要がある。
</p><p>警告が増加したら通知するような仕組みはないんかな（グラフを見えるところに置いとけという話かも）</p>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120513#p01">
<link>http://yoichi.geiin.org/d/?date=20120513#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120513#p01" />
<dc:date>2012-05-14T07:56:26+09:00</dc:date>
<title>結婚式</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>いとこの結婚式のため単身帰省。すばらしい天気で気持ち良い青空の下、幸せいっぱいのお二人でした。</description>
<content:encoded><![CDATA[<h3>結婚式</h3><p>いとこの結婚式のため単身帰省。すばらしい天気で気持ち良い青空の下、幸せいっぱいのお二人でした。</p>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120512#p01">
<link>http://yoichi.geiin.org/d/?date=20120512#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120512#p01" />
<dc:date>2012-05-14T07:53:36+09:00</dc:date>
<title>花火</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>花園公園の打ち上げ花火を見た。風が強くて寒かった。</description>
<content:encoded><![CDATA[<h3>花火</h3><p>花園公園の打ち上げ花火を見た。風が強くて寒かった。</p>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120420#p01">
<link>http://yoichi.geiin.org/d/?date=20120420#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120420#p01" />
<dc:date>2012-04-20T03:13:54+09:00</dc:date>
<title>Clang Scan-Build Plugin</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<dc:subject>jenkins</dc:subject>
<description>Clang Scan-Build Pluginを試してみた。元々xcode用のプラグインのようだがpublisher は使えるだろうということで。対象にしたのはpupnp。 結論だけだが、scan-build実行時にpluginで決め打ちされてる出力先を指定をしてやればレポートを収集してくれた。 シェルスクリプトとして以下の内容を設定した:  rm -rf clangScanBuildReports ./bootstrap scan-build ./configure --enable-debug --enable-ipv6 scan-build -o clangScanBuildReports make clean all</description>
<content:encoded><![CDATA[<h3>Clang Scan-Build Plugin</h3><a href="https://wiki.jenkins-ci.org/display/JENKINS/Clang+Scan-Build+Plugin">Clang Scan-Build Plugin</a>を試してみた。元々xcode用のプラグインのようだがpublisher は使えるだろうということで。対象にしたのはpupnp。
結論だけだが、scan-build実行時にpluginで決め打ちされてる出力先を指定をしてやればレポートを収集してくれた。
シェルスクリプトとして以下の内容を設定した:
<pre>
rm -rf clangScanBuildReports
./bootstrap
scan-build ./configure --enable-debug --enable-ipv6
scan-build -o clangScanBuildReports make clean all
</pre>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120417#p01">
<link>http://yoichi.geiin.org/d/?date=20120417#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120417#p01" />
<dc:date>2012-04-17T07:37:51+09:00</dc:date>
<title>Jenkinsのマルチ構成を試してみた。の続き</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>いろいろひっかかったのでメモ  制御用ジョブがマスターノードで実行される  Matrix Tie Parent Pluginを入れて解決  svn のクリーンチェックアウトのエミュレートを選択するとビルド用の作業コピーが毎回チェックアウトされる  特定スレーブで制御用ジョブとビルドジョブを両方実行してる場合に起こる 制御ジョブのチェックアウト時にビルドジョブ用のワークスペースを削除してしまうため JENKINS-11993: matrix flyweight and configuration builds have &quot;overlapping&quot; workspace directoriesとして報告されてる   制御用ジョブでSCMからチェックアウトする。  ビルド走ってる裏でこれによるディスクアクセスが発生→ビルド時間が伸びる flyweight jobは同時実行数の制約外なので抑止できない 何か回避策はありませんか？   軸毎にSCMからチェックアウトする。  JENKINS-4960: Use same SCM checkout for all matrix entriesで改..</description>
<content:encoded><![CDATA[<h3>Jenkinsのマルチ構成を試してみた。の続き</h3>いろいろひっかかったのでメモ
<ul>
<li>制御用ジョブがマスターノードで実行される
<ul>
<li><a href="https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Tie+Parent+Plugin">Matrix Tie Parent Plugin</a>を入れて解決</li>
</ul></li>
<li>svn のクリーンチェックアウトのエミュレートを選択するとビルド用の作業コピーが毎回チェックアウトされる
<ul>
<li>特定スレーブで制御用ジョブとビルドジョブを両方実行してる場合に起こる</li>
<li>制御ジョブのチェックアウト時にビルドジョブ用のワークスペースを削除してしまうため</li>
<li><a href="https://issues.jenkins-ci.org/browse/JENKINS-11993">JENKINS-11993: matrix flyweight and configuration builds have "overlapping" workspace directories</a>として報告されてる</li>
</ul>
</li>
<li>制御用ジョブでSCMからチェックアウトする。
<ul>
<li>ビルド走ってる裏でこれによるディスクアクセスが発生→ビルド時間が伸びる</li>
<li>flyweight jobは同時実行数の制約外なので抑止できない</li>
<li>何か回避策はありませんか？</li>
</ul>
</li>
<li>軸毎にSCMからチェックアウトする。
<ul>
<li><a href="https://issues.jenkins-ci.org/browse/JENKINS-4960">JENKINS-4960: Use same SCM checkout for all matrix entries</a>で改善されそうだが試してない</li>
<li>もしこれが制御ジョブでチェックアウトしたものを使いまわすのなら上述のflyweight jobの問題は残存する</li>
</ul>
</li>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120408#p01">
<link>http://yoichi.geiin.org/d/?date=20120408#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120408#p01" />
<dc:date>2012-04-10T08:15:56+09:00</dc:date>
<title>万博公園</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>家族でお花見。広場で何かのイベントをやっていて焼き牡蠣食した。</description>
<content:encoded><![CDATA[<h3>万博公園</h3><p>家族でお花見。広場で何かのイベントをやっていて焼き牡蠣食した。</p>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120407#p01">
<link>http://yoichi.geiin.org/d/?date=20120407#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120407#p01" />
<dc:date>2012-04-08T09:42:14+09:00</dc:date>
<title>お花見</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>桜ノ宮で同僚とか元同僚とか集合してお花見。</description>
<content:encoded><![CDATA[<h3>お花見</h3><p>桜ノ宮で同僚とか元同僚とか集合してお花見。</p>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120401#p01">
<link>http://yoichi.geiin.org/d/?date=20120401#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120401#p01" />
<dc:date>2012-04-08T09:31:27+09:00</dc:date>
<title>カーネル/VM勉強会@関西 其の参</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>行ってきた。</description>
<content:encoded><![CDATA[<h3><a href="https://sites.google.com/site/kernelvm/ima-made-no-matome/kaneru-vm-mian-qiang-hui-guan-xi-qino-can">カーネル/VM勉強会@関西 其の参</a></h3><p>行ってきた。</p>]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120406#p01">
<link>http://yoichi.geiin.org/d/?date=20120406#p01</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120406#p01" />
<dc:date>2012-04-07T11:17:16+09:00</dc:date>
<title>scan-build (LLVM) を試してみた。</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>Ubuntu環境にて pupnpのbranch-1.6.x を対象にして試した。まずは clang で普通にビルドして成功するのを確認  % CC=clang ./configure % make clean all  つづいて解析  % make clean % ./configure % scan-buld -k make  もしくは以下のようにしてもいい  % make clean % scan-build ./configure % scan-build make  すると、CC=/usr/share/clang/scan-build/ccc-analyzerしてビルドしつつ解析を行い結果を集計してくれて、最後に  scan-build: 19 bugs found. scan-build: Run 'scan-view /tmp/scan-build-2012-04-06-2' to examine bug reports.  と表示される。実際に scan-view を実行すると web server を起動の上でブラウザを起動して結果を表示してくれる。 結果の表示例と..</description>
<content:encoded><![CDATA[<h3>scan-build (LLVM) を試してみた。</h3>Ubuntu環境にて <a href="http://pupnp.sourceforge.net/">pupnp</a>のbranch-1.6.x を対象にして試した。まずは clang で普通にビルドして成功するのを確認
<pre>
% CC=clang ./configure
% make clean all
</pre>
つづいて解析
<pre>
% make clean
% ./configure
% scan-buld -k make
</pre>
もしくは以下のようにしてもいい
<pre>
% make clean
% scan-build ./configure
% scan-build make
</pre>
すると、CC=/usr/share/clang/scan-build/ccc-analyzerしてビルドしつつ解析を行い結果を集計してくれて、最後に
<pre>
scan-build: 19 bugs found.
scan-build: Run 'scan-view /tmp/scan-build-2012-04-06-2' to examine bug reports.
</pre>
と表示される。実際に scan-view を実行すると web server を起動の上でブラウザを起動して結果を表示してくれる。<br/>
結果の表示例としては<a href="http://clang-analyzer.llvm.org/scan-build.html">scan-build: running the analyzer from the command line</a>にちらっとスクリーンショットが載っているが、コード中にインラインで説明が入り問題に至るコードパスを示してくれる("scan-build results" でググると具体的な解析結果の例がいろいろ見つかります)。<br/>
あとは変更すべきかどうか、変更するならどう変更するべきかをじっくり考えて（必要ならテストプログラム書いて）、変更して、テスト（scan-build でビルド成功して警告減ってること、テストプログラムで問題解消してることを確認）して、<a href="http://pupnp.git.sourceforge.net/git/gitweb.cgi?p=pupnp/pupnp;a=commitdiff;h=a383cbb8e20545222880f064a5b27c15abbf9280">コミット</a>。<br/>
解析させるまでの手順が簡単なのと、結果をわかりやすく表示してくれるのがいいね。]]></content:encoded>
</item>
<item rdf:about="http://yoichi.geiin.org/d/?date=20120406#p02">
<link>http://yoichi.geiin.org/d/?date=20120406#p02</link>
<xhtml:link xhtml:rel="alternate" xhtml:media="handheld" xhtml:type="text/html" xhtml:href="http://yoichi.geiin.org/d/?date=20120406#p02" />
<dc:date>2012-04-07T11:06:56+09:00</dc:date>
<title>Jenkinsのマルチ構成を試してみた。</title>
<dc:creator>Yoichi NAKAYAMA</dc:creator>
<description>Building a matrix projectを参照して試した。注意点は  プロジェクト作成時にマルチ構成を選んでおく必要がある 既存のマルチ構成でないプロジェクトに対する設定変更では移行できない スレーブノードを固定する設定の場所が通常のプロジェクトと違う  ターゲットにしたのはVisual Studioのソリューションで、スレーブノード固定で複数のソリューション構成をビルドするもの。  よかったこと  これまで構成毎にプロジェクト作っていたのがプロジェクト一つになるのでプロジェクト数が抑えられる ひとつのプロジェクトにまとまるので同じ対象の別構成ということが見やすくなる(どれか一つでもコケると親玉は赤色になる。中を見るとそれぞれの成功失敗が見れる)  問題点  構成毎にスケジュールすることができない</description>
<content:encoded><![CDATA[<h3>Jenkinsのマルチ構成を試してみた。</h3><a href="https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project">Building a matrix project</a>を参照して試した。注意点は
<ul>
<li>プロジェクト作成時にマルチ構成を選んでおく必要がある</li>
<li>既存のマルチ構成でないプロジェクトに対する設定変更では移行できない</li>
<li>スレーブノードを固定する設定の場所が通常のプロジェクトと違う</li>
</ul>
ターゲットにしたのはVisual Studioのソリューションで、スレーブノード固定で複数のソリューション構成をビルドするもの。
<ul>
<li>よかったこと</li>
<ul>
<li>これまで構成毎にプロジェクト作っていたのがプロジェクト一つになるのでプロジェクト数が抑えられる</li>
<li>ひとつのプロジェクトにまとまるので同じ対象の別構成ということが見やすくなる(どれか一つでもコケると親玉は赤色になる。中を見るとそれぞれの成功失敗が見れる)</li>
</ul>
<li>問題点</li>
<ul>
<li>構成毎にスケジュールすることができない</li>
</ul>
</ul>]]></content:encoded>
</item>
</rdf:RDF>

