<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:03:55 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[INTPAK-214] RPM verify fails on random find cmd with /proc/PID no such file </title>
                <link>https://jira.opendaylight.org/browse/INTPAK-214</link>
                <project id="10190" key="INTPAK">integration-packaging</project>
                    <description>&lt;p&gt;I&apos;m seeing what I imagine is an intermittent, random error in a seemingly arbitrary find command in the test-rpm-deps.sh script used in the rpm-verify-full job.&lt;/p&gt;

&lt;p&gt;This code:&lt;/p&gt;
&lt;blockquote&gt;&lt;ol&gt;
	&lt;li&gt;Verify exactly 1 RPM is in the path we expect&lt;br/&gt;
set &amp;#8211; $HOME/rpmbuild/RPMS/noarch/*.rpm&lt;br/&gt;
if [ $# -eq 1 ]; then&lt;br/&gt;
 echo &quot;Found one RPM in build out dir, as expected&quot;&lt;br/&gt;
else&lt;br/&gt;
 echo &quot;Expected 1 RPM, found $#&quot;&lt;br/&gt;
 echo 1&lt;br/&gt;
fi&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;ls -l $HOME/rpmbuild/RPMS/noarch/&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;If path is globbed (/path/to/*.rpm), expand it&lt;br/&gt;
path=$(sudo find / -wholename $HOME/rpmbuild/RPMS/noarch/*.rpm)&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=releng/builder.git;a=blob;f=jjb/packaging/test-rpm-deps.sh;h=982fb5c27c564d8c12e0a0254cc406ccef895286;hb=refs/heads/master#l9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=releng/builder.git;a=blob;f=jjb/packaging/test-rpm-deps.sh;h=982fb5c27c564d8c12e0a0254cc406ccef895286;hb=refs/heads/master#l9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Creates in the log:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;+ set &amp;#8211; /home/jenkins/rpmbuild/RPMS/noarch/opendaylight-10.0.0-0.1.20181003rel2393.el7.noarch.rpm&lt;br/&gt;
+ &apos;&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39; 1 -eq 1 &amp;#39;&amp;#93;&lt;/span&gt;&apos;&lt;br/&gt;
+ echo &apos;Found one RPM in build out dir, as expected&apos;&lt;br/&gt;
Found one RPM in build out dir, as expected&lt;br/&gt;
++ sudo find / -wholename /home/jenkins/rpmbuild/RPMS/noarch/opendaylight-10.0.0-0.1.20181003rel2393.el7.noarch.rpm&lt;br/&gt;
find: &#226;&#8364;&#732;/proc/31551&#226;&#8364;&#8482;: No such file or directory&lt;br/&gt;
+ path=/home/jenkins/rpmbuild/RPMS/noarch/opendaylight-10.0.0-0.1.20181003rel2393.el7.noarch.rpm&lt;br/&gt;
Build step &apos;Execute shell&apos; marked build as failure&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/packaging-verify-full-rpm-master/1/console.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/sandbox/vex-yul-odl-jenkins-2/packaging-verify-full-rpm-master/1/console.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Which looks like it&apos;s totally unrelated to the test itself, as the RPM clearly does exist (the result of set, the value path ends up set to). I think it&apos;s something like a process terminating at an inconvenient time for find, where it looks for the process&apos; /proc/PID but doesn&apos;t find it.&lt;/p&gt;

&lt;p&gt;Maybe can rework logic to not search from root, but still give the -wholename. At least exclude /proc/.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30889">INTPAK-214</key>
            <summary>RPM verify fails on random find cmd with /proc/PID no such file </summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="3" iconUrl="https://jira.opendaylight.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="dfarrell07">Daniel Farrell</assignee>
                                    <reporter username="dfarrell07">Daniel Farrell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Oct 2018 21:09:45 +0000</created>
                <updated>Mon, 15 Oct 2018 21:10:26 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03jn3:</customfieldvalue>

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