qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Qpid > Continuous Integration
Date Sat, 19 Mar 2011 15:00:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2036/9/21/_/styles/combined.css?spaceKey=qpid&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/qpid/Continuous+Integration">Continuous
Integration</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~andrew.kennedy">Andrew
Kennedy</a>
    </h4>
        <div id="versionComment">
        <b>Comment:</b>
        expand<br />
    </div>
        <br/>
                         <h4>Changes (12)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >* *qpid-java-build* - triggered by
check-ins to subversion <br>* *qpid-java-system-tests* - nightly <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
*qpid-java-network* - nightly, from branch with network layer changes <br></td></tr>
            <tr><td class="diff-unchanged" >* *qpid-cpp-build* - triggered by
check-ins to subversion <br>* *qpid-cpp-system-tests* - nightly <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">*
*qpid-python-tests* - nightly <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
*qpid-python-tests* - nightly, full run of python test kit <br>* *qpid-release-build*
- nightly or weekly, full release <br></td></tr>
            <tr><td class="diff-changed-lines" >* <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">*qpid-release-build*</span>
<span class="diff-added-words"style="background-color: #dfd;">*qpid-interop-tests*</span>
- nightly or weekly <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-changed-lines" >The initial testing of the CI
configuration is being carried out under [Qpid Java Build|https://builds.apache.org/hudson/job/Qpid%20Java%20Build/configure]
until any issues are sorted out. <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">Currently,
failover seems to be a problem.</span> <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">*
[https://builds.apache.org/hudson/job/Qpid%20Java%20Build/ws/trunk/qpid/java/build/results/systests/TEST-org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest.testAutoAck.err]
<br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">Note
that it is possible to add builds from branches, to give increased visibility to proposed
changes, and greater confidence in their reliability due to increased testing. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">Currently
[Andrew|mailto:grkvlt@apache.org], [Rajith|mailto:rajith@apache.org] and [Robbie|mailto:robbie@apache.org]
have access to the build configurations. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">At
present, these tests run a single profile, such as _default_ or _java.0.10_. As the number
of profiles increases, it may be better to use the Hudson [matrix project|http://wiki.hudson-ci.org/display/HUDSON/Aboutncysa]
feature to paramaterise the system test build around the test profile names. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">Hudson
can be configured to provide many more features with its built-in plugins. These include:
<br> <br>* JUnit test reporting <br>* Javadoc publishing <br>* Release
artifact publishing <br>* Coverage reports <br> <br>The use of these plugins
will be investigated once the basic build and test cycle is satisfactorily configured. <br>
<br>h3. Issues <br> <br>Currently, failover seems to be a problem. <br>
<br>* [https://builds.apache.org/hudson/job/Qpid%20Java%20Build/ws/trunk/qpid/java/build/results/systests/TEST-org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest.testAutoAck.err]
<br> <br></td></tr>
            <tr><td class="diff-unchanged" >h3. Monitoring <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >I propose creation of a new mailing
list, _qpid-build@apache.org_ which would receive a copy of all output from every CI build.
Additionally, the results of failing builds should be mailed to committers that checked in
the breaking changes, and a nightly (or weekly) summary from the release <span class="diff-changed-words"><span
class="diff-added-chars"style="background-color: #dfd;">and/or interop test </span>build<span
class="diff-added-chars"style="background-color: #dfd;">s</span></span> should
be sent to the _qpid-dev_ list. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
<br>Currently [Andrew|mailto:grkvlt@apache.org], [Rajith|mailto:rajith@apache.org] and
[Robbie|mailto:robbie@apache.org] have access to the build configurations. <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="ContinuousIntegration-ContinuousIntegration"></a>Continuous
Integration</h1>

<p>Qpid uses the Apache Infrastructure CI service, which is a <del>Hudson</del><a
href="http://jenkins-ci.org/" class="external-link" rel="nofollow">Jenkins</a> installation.
See <a href="http://wiki.apache.org/general/Hudson" class="external-link" rel="nofollow">here</a>
for more details.</p>

<h2><a name="ContinuousIntegration-Implementation"></a>Implementation</h2>

<p>The implementation of CI for Qpid is being tracked as <a href="https://issues.apache.org/jira/browse/QPID-3149"
class="external-link" rel="nofollow">QPID-3149</a> and will be completed during the
0.11 development stream.</p>

<h2><a name="ContinuousIntegration-Operation"></a>Operation</h2>

<p>All <a href="https://builds.apache.org/hudson/view/M-R/view/Qpid/" class="external-link"
rel="nofollow">builds</a> are prefixed with either <em>qpid-</em> to
allow grouping together. The proposed build entries are as follows:</p>

<ul>
	<li><b>qpid-java-build</b> - triggered by check-ins to subversion</li>
	<li><b>qpid-java-system-tests</b> - nightly</li>
	<li><b>qpid-java-network</b> - nightly, from branch with network layer
changes</li>
	<li><b>qpid-cpp-build</b> - triggered by check-ins to subversion</li>
	<li><b>qpid-cpp-system-tests</b> - nightly</li>
	<li><b>qpid-python-tests</b> - nightly, full run of python test kit</li>
	<li><b>qpid-release-build</b> - nightly or weekly, full release</li>
	<li><b>qpid-interop-tests</b> - nightly or weekly</li>
</ul>


<p>The initial testing of the CI configuration is being carried out under <a href="https://builds.apache.org/hudson/job/Qpid%20Java%20Build/configure"
class="external-link" rel="nofollow">Qpid Java Build</a> until any issues are sorted
out.</p>

<p>Note that it is possible to add builds from branches, to give increased visibility
to proposed changes, and greater confidence in their reliability due to increased testing.</p>

<p>At present, these tests run a single profile, such as <em>default</em>
or <em>java.0.10</em>. As the number of profiles increases, it may be better to
use the Hudson <a href="http://wiki.hudson-ci.org/display/HUDSON/Aboutncysa" class="external-link"
rel="nofollow">matrix project</a> feature to paramaterise the system test build around
the test profile names.</p>

<p>Hudson can be configured to provide many more features with its built-in plugins.
These include:</p>

<ul>
	<li>JUnit test reporting</li>
	<li>Javadoc publishing</li>
	<li>Release artifact publishing</li>
	<li>Coverage reports</li>
</ul>


<p>The use of these plugins will be investigated once the basic build and test cycle
is satisfactorily configured.</p>

<h3><a name="ContinuousIntegration-Issues"></a>Issues</h3>

<p>Currently, failover seems to be a problem.</p>

<ul>
	<li><a href="https://builds.apache.org/hudson/job/Qpid%20Java%20Build/ws/trunk/qpid/java/build/results/systests/TEST-org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest.testAutoAck.err"
class="external-link" rel="nofollow">https://builds.apache.org/hudson/job/Qpid%20Java%20Build/ws/trunk/qpid/java/build/results/systests/TEST-org.apache.qpid.test.unit.ack.AcknowledgeAfterFailoverOnMessageTest.testAutoAck.err</a></li>
</ul>


<h3><a name="ContinuousIntegration-Monitoring"></a>Monitoring</h3>

<p>I propose creation of a new mailing list, <em>qpid-build@apache.org</em>
which would receive a copy of all output from every CI build. Additionally, the results of
failing builds should be mailed to committers that checked in the breaking changes, and a
nightly (or weekly) summary from the release and/or interop test builds should be sent to
the <em>qpid-dev</em> list.</p>

<p>Currently <a href="mailto:grkvlt@apache.org" class="external-link" rel="nofollow">Andrew</a>,
<a href="mailto:rajith@apache.org" class="external-link" rel="nofollow">Rajith</a>
and <a href="mailto:robbie@apache.org" class="external-link" rel="nofollow">Robbie</a>
have access to the build configurations.</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/qpid/Continuous+Integration">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=25204999&revisedVersion=3&originalVersion=2">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/qpid/Continuous+Integration?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message