<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:32:19 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-17064] Allow limited builds</title>
                <link>https://jira.whamcloud.com/browse/LU-17064</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It would be useful to allow Jenkins to do very limited builds for fortestonly patches with directories in the patch commit message.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;Build-Parameters: clientdistro=el7.9
Test-Parameters: fortestonly clientdistro=el7.9 serverversion=2.15.3
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Since it isn&apos;t possible to do this (it will always start all of the builds) it seems possible to have lbuild check the directives in the commit message and just &quot;&lt;tt&gt;exit 0&lt;/tt&gt;&quot; at the start of the build without actually building anything. &lt;/p&gt;

&lt;p&gt;This would also be useful for cases of patches which are based on an old parent (eg. to give an old build to a customer) that currently fail if the build support for a distro is not in the old code being built and fails the build instead of building for the available distros:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;17:19:09 + error &apos;Target 4.18-rhel8.8 was not found.&apos;
17:19:09 + local &apos;msg=Target 4.18-rhel8.8 was not found.&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="77664">LU-17064</key>
            <summary>Allow limited builds</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Aug 2023 01:23:40 +0000</created>
                <updated>Thu, 5 Oct 2023 07:59:01 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="385693" author="adilger" created="Tue, 12 Sep 2023 21:29:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt;, as a starting point, I was thinking of replacing the &quot;&lt;tt&gt;fatal 1 &quot;Target $TARGET was not found.&quot;&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;fatal 1 &quot;${LBUILD_DIR}/lbuild-$DISTROMAJ not found&quot;&lt;/tt&gt;&quot; cases in &lt;tt&gt;lbuild&lt;/tt&gt; with just an error message and &quot;&lt;tt&gt;exit 0&lt;/tt&gt;&quot;?  That would allow builds to finish without error when built on an old branch that doesn&apos;t have newer distro support, at the risk of not building some packages in rare cases.  I think that is pretty unlikely and we would notice it as soon as testing could not be run?&lt;/p&gt;

&lt;p&gt;I couldn&apos;t see where the &lt;tt&gt;lbuild&lt;/tt&gt; script had access to the Lustre sources, unless it is run in the Git tree itself?  Then I could just use &quot;&lt;tt&gt;git log -1&lt;/tt&gt;&quot; to get the commit message and look for &lt;tt&gt;Build-Parameters:&lt;/tt&gt; lines in the output?&lt;/p&gt;</comment>
                            <comment id="386630" author="gerrit" created="Thu, 21 Sep 2023 00:16:12 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52448&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52448&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17064&quot; title=&quot;Allow limited builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17064&quot;&gt;LU-17064&lt;/a&gt; build: check for Build-Parameters in commit&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1b4046f20c27794ba6915fc880440a9b27f34aa0&lt;/p&gt;</comment>
                            <comment id="386742" author="adilger" created="Thu, 21 Sep 2023 20:19:37 +0000"  >&lt;p&gt;@minh, one strange thing I noticed with my patch is that it seems the ubuntu2204 builder is not using the lbuild script from the current tree, but a separate one?  It is always doing a full build and not printing any debug messages from the patch...&lt;/p&gt;</comment>
                            <comment id="386745" author="mdiep" created="Thu, 21 Sep 2023 20:36:42 +0000"  >&lt;p&gt;Right, for ubuntu* it&apos;s just simply make debs&lt;/p&gt;</comment>
                            <comment id="386791" author="adilger" created="Fri, 22 Sep 2023 06:55:11 +0000"  >&lt;p&gt;But it still looks like the Ubuntu2204 build is running some variant &quot;&lt;tt&gt;lbuild&lt;/tt&gt;&quot;, but an old version of the script that is not the one from the build tree since there is no &quot;&lt;tt&gt;lbuild-ubuntu2204&lt;/tt&gt;&quot; or similar version in the tree at all.&lt;/p&gt;</comment>
                            <comment id="388198" author="adilger" created="Thu, 5 Oct 2023 07:59:01 +0000"  >&lt;p&gt;Charlie, Minh thought that this functionality would be better to implement directly in the Jenkins Groovy scripting, like ATM-2884 because it would allow the non-builds to skip the queue entirely, rather than waiting in the queue and assigned a builder just to find that nothing is needed.&lt;/p&gt;

&lt;p&gt;Ideally, this would also allow a &quot;trivial&quot; keyword to allow building specifically the distro/arch that is used for &lt;tt&gt;Test-Parameters: trivial&lt;/tt&gt; testing.&lt;/p&gt;

&lt;p&gt;The main goal here is to reduce the build and test time for patch series of 20 or 30 patches that contain a series of &lt;em&gt;actually&lt;/em&gt; trivial changes like code  movement and variable renaming.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i03u9r:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>