<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:43:23 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-11381] sanity-flr test 201 hangs</title>
                <link>https://jira.whamcloud.com/browse/LU-11381</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Test 201 was added to sanity-flr with the patch &lt;a href=&quot;https://review.whamcloud.com/#/c/29097/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/29097/&lt;/a&gt;. In that same patch test 201 was added to the ALWAYS_EXCEPT list. Bobijam says test 201 is &#8220;&#8230; a data mover watcher example monitoring FLR file change and resync the changed file and will not quit the loop.&#8221; &lt;/p&gt;

&lt;p&gt;The last thing seen in the test log is &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-flr test 201: FLR data mover =============================================================== 21:23:44 (1536960224)
CMD: trevis-47vm12 /usr/sbin/lctl --device lustre-MDT0000 changelog_register -n
Starting client: trevis-47vm9.trevis.whamcloud.com:  -o user_xattr,flock trevis-47vm12@tcp:/lustre /mnt/lustre2
CMD: trevis-47vm9.trevis.whamcloud.com mkdir -p /mnt/lustre2
CMD: trevis-47vm9.trevis.whamcloud.com mount -t lustre -o user_xattr,flock trevis-47vm12@tcp:/lustre /mnt/lustre2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;There&apos;s nothing obviously wrong in the console logs. &lt;/p&gt;

&lt;p&gt;The code for test 201 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;
2098 test_201() {
2099         local delay=${RESYNC_DELAY:-5}
2100 
2101         MDT0=$($LCTL get_param -n mdc.*.mds_server_uuid |
2102                awk &lt;span class=&quot;code-quote&quot;&gt;&apos;{ gsub(/_UUID/,&quot;&quot;); print $1 }&apos;&lt;/span&gt; | head -n1)
2103 
2104         trap cleanup_test_201 EXIT
2105 
2106         CL_USER=$(do_facet $SINGLEMDS $LCTL --device $MDT0 \
2107                         changelog_register -n)
2108 
2109         mkdir -p $MOUNT2 &amp;amp;&amp;amp; mount_client $MOUNT2
2110 
2111         local index=0
2112         &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; :; &lt;span class=&quot;code-keyword&quot;&gt;do&lt;/span&gt;
2113                 local log=$($LFS changelog $MDT0 $index | grep FLRW)
2114                 [ -z &lt;span class=&quot;code-quote&quot;&gt;&quot;$log&quot;&lt;/span&gt; ] &amp;amp;&amp;amp; { sleep 1; &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;; }
2115 
2116                 index=$(echo $log | awk &lt;span class=&quot;code-quote&quot;&gt;&apos;{print $1}&apos;&lt;/span&gt;)
2117                 local ts=$(date -d &lt;span class=&quot;code-quote&quot;&gt;&quot;$(echo $log | awk &lt;span class=&quot;code-quote&quot;&gt;&apos;{print $3}&apos;&lt;/span&gt;)&quot;&lt;/span&gt; &lt;span class=&quot;code-quote&quot;&gt;&quot;+%s&quot;&lt;/span&gt; -u)
2118                 local fid=$(echo $log | awk &lt;span class=&quot;code-quote&quot;&gt;&apos;{print $6}&apos;&lt;/span&gt; | sed -e &lt;span class=&quot;code-quote&quot;&gt;&apos;s/t=&lt;span class=&quot;code-comment&quot;&gt;//&apos;&lt;/span&gt;)
&lt;/span&gt;2119                 local file=$($LFS fid2path $MOUNT2 $fid 2&amp;gt; /dev/&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)
2120 
2121                 ((++index))
2122                 [ -z &lt;span class=&quot;code-quote&quot;&gt;&quot;$file&quot;&lt;/span&gt; ] &amp;amp;&amp;amp; &lt;span class=&quot;code-keyword&quot;&gt;continue&lt;/span&gt;
2123 
2124                 local now=$(date +%s)
2125 
2126                 echo &lt;span class=&quot;code-quote&quot;&gt;&quot;file: $file $fid was modified at $ts, now: $now, &quot;&lt;/span&gt; \
2127                      &lt;span class=&quot;code-quote&quot;&gt;&quot;will be resynced at $((ts+delay))&quot;&lt;/span&gt;
2128 
2129                 [ $now -lt $((ts + delay)) ] &amp;amp;&amp;amp; sleep $((ts + delay - now))
2130 
2131                 mirror_io resync $file
2132                 echo &lt;span class=&quot;code-quote&quot;&gt;&quot;$file resync done&quot;&lt;/span&gt;
2133         done
2134 
2135         cleanup_test_201
2136 }
2137 run_test 201 &lt;span class=&quot;code-quote&quot;&gt;&quot;FLR data mover&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This ticket is to track the issues and the solutions for this test. &lt;/p&gt;

&lt;p&gt;Logs for sanity-flr test 201 hang are at&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11381&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.whamcloud.com/browse/LU-11381&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="53325">LU-11381</key>
            <summary>sanity-flr test 201 hangs</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="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="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>always_except</label>
                    </labels>
                <created>Fri, 14 Sep 2018 20:26:10 +0000</created>
                <updated>Fri, 5 Oct 2018 23:06:22 +0000</updated>
                                            <version>Lustre 2.12.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="233548" author="gerrit" created="Fri, 14 Sep 2018 20:33:16 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33171&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33171&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11381&quot; title=&quot;sanity-flr test 201 hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11381&quot;&gt;LU-11381&lt;/a&gt; tests: run sanity-flr test 201&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 33e3e1bff42461ec71cc4b53207a5c87a380f4e5&lt;/p&gt;</comment>
                            <comment id="234477" author="gerrit" created="Fri, 5 Oct 2018 22:27:36 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33171/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33171/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11381&quot; title=&quot;sanity-flr test 201 hangs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11381&quot;&gt;LU-11381&lt;/a&gt; tests: sanity-flr 201 skip information&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 239290c299fb875dcd1ac652d73b875ec9d07335&lt;/p&gt;</comment>
                            <comment id="234510" author="jamesanunez" created="Fri, 5 Oct 2018 23:06:22 +0000"  >&lt;p&gt;The patch that landed only adds this ticket number to the ALWAYS_EXCEPT line for test 201. sanity-flr test 201 still fails and this ticket should remain open until it is fixed.&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|i002i7:</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>