<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:59:31 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-13232] sanity test 160j fails with &apos;read changelog failed&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-13232</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test_160j fails with &apos;read changelog failed&apos; for PPC client testing 100% of the time. &lt;/p&gt;

&lt;p&gt;Looking at a recent failure at &lt;a href=&quot;https://testing.whamcloud.com/test_sets/d3720002-4a27-11ea-b69a-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/d3720002-4a27-11ea-b69a-52540065bddc&lt;/a&gt;, the actual error is a problem with the input to cat&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;Registered 1 changelog users: &apos;cl3&apos;
total: 2 create in 0.00 seconds: 1052.66 ops/second
cat: -: Invalid argument
 sanity test_160j: @@@@@@ FAIL: read changelog failed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6121:error()
  = /usr/lib64/lustre/tests/sanity.sh:14350:test_160j()
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The code that is failing in sanity test 160j is&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
14341         # read changelog
14342         cat &amp;lt;&amp;amp;4 &amp;gt;/dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; || error &lt;span class=&quot;code-quote&quot;&gt;&quot;read changelog failed&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking at the client1 (vm12) console log, we see&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;[ 5314.374481] Lustre: DEBUG MARKER: == sanity test 160j: client can be umounted while its chanangelog is being used ===================== 01:24:59 (1581125099)
[ 5314.494530] Lustre: DEBUG MARKER: mkdir -p /mnt/lustre2
[ 5314.506580] Lustre: DEBUG MARKER: mount -t lustre -o user_xattr,flock trevis-10vm12@tcp:/lustre /mnt/lustre2
[ 5314.555637] Lustre: Mounted lustre-client
[ 5315.555507] Lustre: 10940:0:(llog_cat.c:808:llog_cat_process_common()) lustre-MDT0000-mdc-c0000000b5687800: invalid record in catalog [0x5:0x0:0xa]:0: rc = -22
[ 5315.555690] LustreError: 10940:0:(mdc_changelog.c:295:chlg_load()) lustre-MDT0000-mdc-c0000000b5687800: fail to process llog: rc = -22
[ 5315.600825] Lustre: Unmounted lustre-client
[ 5315.777197] Lustre: DEBUG MARKER: /usr/sbin/lctl mark  sanity test_160j: @@@@@@ FAIL: read changelog failed 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;sanity test 160j started failing for PPC clients as soon as it was first introduced/landed on 27 SEPT 2019.&lt;/p&gt;

&lt;p&gt;Logs for more PPC client sanity test 160j failures are at&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/717d4832-1dba-11ea-80b4-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/717d4832-1dba-11ea-80b4-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/5e7bd63a-f7af-11e9-b62b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/5e7bd63a-f7af-11e9-b62b-52540065bddc&lt;/a&gt;&lt;/p&gt;</description>
                <environment>PPC clients</environment>
        <key id="58050">LU-13232</key>
            <summary>sanity test 160j fails with &apos;read changelog failed&apos;</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jamesanunez">James Nunez</assignee>
                                    <reporter username="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>ppc</label>
                    </labels>
                <created>Mon, 10 Feb 2020 22:17:01 +0000</created>
                <updated>Thu, 20 Feb 2020 13:16:06 +0000</updated>
                            <resolved>Thu, 20 Feb 2020 13:16:06 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="263183" author="adilger" created="Wed, 12 Feb 2020 17:47:13 +0000"  >&lt;p&gt;This looks like it may be the root cause of many later failures. This test unmounts the client, then fails (likely because of unexpected output), then doesn&apos;t remount the client again. All of the later failures are because there is no Lustre client mounted. &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;== sanity test 160j: client can be umounted  while its chanangelog is being used
CMD: trevis-77vm7.trevis.whamcloud.com mount -t lustre -o user_xattr,flock trevis-10vm12@tcp:/lustre /mnt/lustre2
:
cat: -: Invalid argument
sanity test_160j: @@@@@@ FAIL: read changelog failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="263184" author="adilger" created="Wed, 12 Feb 2020 17:56:05 +0000"  >&lt;p&gt;Looking at the test itself, this is pretty clear:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
         # umount the first lustre mount
         umount $MOUNT
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This should have &lt;tt&gt;stack_trap&lt;/tt&gt; calls to undo the various changes in the test, like mount the client, unmount client2, close the file descriptors, etc. rather than doing this manually at the end of the test. I suspect with a simple patch to clean up after this failure that many of the following failures will go away also. &lt;/p&gt;</comment>
                            <comment id="263185" author="gerrit" created="Wed, 12 Feb 2020 19:04:27 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37550&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37550&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13232&quot; title=&quot;sanity test 160j fails with &amp;#39;read changelog failed&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13232&quot;&gt;&lt;del&gt;LU-13232&lt;/del&gt;&lt;/a&gt; tests: add stack_trap to clean up snaity 160j&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9bfbb05901029b637a9b12262eeff181b8d70348&lt;/p&gt;</comment>
                            <comment id="263657" author="gerrit" created="Thu, 20 Feb 2020 07:15:21 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37550/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37550/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13232&quot; title=&quot;sanity test 160j fails with &amp;#39;read changelog failed&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13232&quot;&gt;&lt;del&gt;LU-13232&lt;/del&gt;&lt;/a&gt; tests: add stack_trap to clean up sanity 160j&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4891c873184ad2fc3e90abc769456166998cace3&lt;/p&gt;</comment>
                            <comment id="263694" author="pjones" created="Thu, 20 Feb 2020 13:16:06 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                    <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|i00tjr:</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>