<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:13:37 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-1112] POSIX test failed in 2.1.55</title>
                <link>https://jira.whamcloud.com/browse/LU-1112</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;SUCCESS SUMMARY:&lt;/p&gt;

&lt;p&gt;News POSIX successes: 1&lt;/p&gt;

&lt;p&gt;Test Name                   Baseline   Lustre Report&lt;br/&gt;
read.15                       Failed       Succeeded&lt;/p&gt;


&lt;p&gt;FAILURE SUMMARY:&lt;/p&gt;

&lt;p&gt;POSIX failures: 9&lt;/p&gt;

&lt;p&gt;Test Name                   Baseline   Lustre Report&lt;br/&gt;
creat.10                   Succeeded          Failed&lt;br/&gt;
creat.15                   Succeeded          Failed&lt;br/&gt;
creat.7                    Succeeded          Failed&lt;br/&gt;
open.14                    Succeeded          Failed&lt;br/&gt;
open.15                    Succeeded          Failed&lt;br/&gt;
unlink.6                   Succeeded          Failed&lt;br/&gt;
utime.4                    Succeeded          Failed&lt;br/&gt;
utime.9                    Succeeded          Failed&lt;br/&gt;
write.15                   Succeeded          Failed&lt;/p&gt;

&lt;p&gt;For the failure of write.15 and unlink.6 please refer to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-380&quot; title=&quot;POSIX: write.15: time stamps incorrect: mtime, ctime were not updated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-380&quot;&gt;&lt;del&gt;LU-380&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="13220">LU-1112</key>
            <summary>POSIX test failed in 2.1.55</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="3">Duplicate</resolution>
                                        <assignee username="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="sarah">Sarah Liu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Feb 2012 00:18:26 +0000</created>
                <updated>Wed, 29 Feb 2012 08:27:03 +0000</updated>
                            <resolved>Wed, 29 Feb 2012 08:27:03 +0000</resolved>
                                    <version>Lustre 2.2.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="29181" author="pjones" created="Fri, 17 Feb 2012 01:05:36 +0000"  >&lt;p&gt;Bobi&lt;/p&gt;

&lt;p&gt;Could you please look at this one&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="29188" author="bobijam" created="Fri, 17 Feb 2012 01:48:42 +0000"  >&lt;p&gt;Is there any lustre logs?&lt;/p&gt;</comment>
                            <comment id="29190" author="bobijam" created="Fri, 17 Feb 2012 01:52:17 +0000"  >&lt;p&gt;what is the LSB-VSX posix test suite version?&lt;/p&gt;</comment>
                            <comment id="29193" author="bobijam" created="Fri, 17 Feb 2012 02:45:55 +0000"  >&lt;p&gt;And please also upload posix test result, so that we can see what specific test step fails.&lt;/p&gt;</comment>
                            <comment id="29386" author="sarah" created="Fri, 17 Feb 2012 18:34:38 +0000"  >&lt;p&gt;Hi, you can find the version and posix result in the attached file and there is no lustre log. &lt;/p&gt;</comment>
                            <comment id="29421" author="bobijam" created="Fri, 17 Feb 2012 21:49:28 +0000"  >&lt;p&gt;Is the uploaded &quot;posix&quot; detailed posix test result?  Sorry, would you collect lustre logs for another try? I still need lustre logs to analyse what problem it is.&lt;/p&gt;</comment>
                            <comment id="29469" author="sarah" created="Mon, 20 Feb 2012 02:14:19 +0000"  >&lt;p&gt;ok, will keep you updated.&lt;/p&gt;</comment>
                            <comment id="29496" author="bobijam" created="Tue, 21 Feb 2012 03:54:31 +0000"  >&lt;p&gt;From the log file &quot;posix&quot; all errors are EPERM, I&apos;m wondering that it&apos;s because user &quot;vsx0&quot; has no proper access right in /mnt/lustre/TESTROOT.&lt;/p&gt;

&lt;p&gt;If you re-hit the issue, would you mind trying &quot;chown -R vsx0.vsxg0 /mnt/lustre/TESTSROOT&quot; after /mnt/lutsre is mounted and run the test again?&lt;/p&gt;</comment>
                            <comment id="29582" author="sarah" created="Wed, 22 Feb 2012 18:58:37 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
I found the permission of /mnt/lustre/TESTROOT is&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@client-15 tmp&amp;#93;&lt;/span&gt;# ls -al /mnt/lustre/&lt;br/&gt;
total 16&lt;br/&gt;
drwxr-xr-x  4 root root  4096 Feb 22 13:13 .&lt;br/&gt;
drwxr-xr-x. 4 root root  4096 Feb 22 12:25 ..&lt;br/&gt;
drwxr-xr-x  2 root root  4096 Feb 22 13:05 .lustre&lt;br/&gt;
drwxr-sr-x  5 vsx0 vsxg0 4096 Feb 22 13:14 TESTROOT&lt;/p&gt;

&lt;p&gt;I don&apos;t know why it will cause permission issue. And please find the lustre debug log in the attached.I also upload the whole result dir, hope that does help.&lt;/p&gt;</comment>
                            <comment id="29608" author="sarah" created="Wed, 22 Feb 2012 22:51:47 +0000"  >&lt;p&gt;results. Sorry the debug log is too big to be uploaded, you can find it in my home dir on brent /home/sarah/debug_log&lt;/p&gt;</comment>
                            <comment id="29641" author="bobijam" created="Thu, 23 Feb 2012 04:37:06 +0000"  >&lt;p&gt;&lt;tt&gt;&lt;div class=&quot;panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot;&gt;
&lt;p&gt;00000080:00200000:1.0:1329945342.255336:0:7319:0:(namei.c:535:ll_lookup_it()) VFS Op:name=creat-t.10,dir=144115205255726268/33554436(ffff88023fca3828),intent=open|creat&lt;br/&gt;
00000080:00200000:1.0:1329945342.256257:0:7319:0:(namei.c:789:ll_create_it()) VFS Op:name=creat-t.10,dir=144115205255726268/33554436(ffff88023fca3828),intent=open|creat&lt;br/&gt;
00000080:00010000:1.0:1329945342.256279:0:7319:0:(namei.c:758:ll_create_node()) setting l_ast_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00010000:1.0:1329945342.256281:0:7319:0:(llite_internal.h:1431:ll_set_lock_data()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00200000:1.0:1329945342.256284:0:7319:0:(file.c:513:ll_file_open()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768), flags 100101   &lt;font color=&quot;blue&quot;&gt;==&amp;gt; O_LARGEFILE|O_CREAT|O_WRONLY&lt;/font&gt;&lt;br/&gt;
00000080:00200000:1.0:1329945342.256297:0:7319:0:(file.c:2509:ll_inode_permission()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768), inode mode 81ff mask 0&lt;br/&gt;
00000080:00200000:1.0:1329945342.257014:0:7319:0:(xattr.c:419:ll_getxattr()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768), xattr security.capability&lt;br/&gt;
00000080:00200000:1.0:1329945342.257016:0:7319:0:(xattr.c:284:ll_getxattr_common()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768)&lt;br/&gt;
00000080:00200000:1.0:1329945342.257106:0:7319:0:(file.c:297:ll_file_release()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768)&lt;/p&gt;

&lt;p&gt;00000080:00200000:3.0:1329945342.263165:0:7323:0:(namei.c:535:ll_lookup_it()) VFS Op:name=creat-t.10,dir=144115205255726268/33554436(ffff88023fca3828),intent=getattr&lt;br/&gt;
00000080:00010000:0.0:1329945342.263964:0:7323:0:(llite_internal.h:1431:ll_set_lock_data()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00010000:0.0:1329945342.263967:0:7323:0:(dcache.c:376:ll_lookup_finish_locks()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00200000:0.0:1329945342.263986:0:7323:0:(file.c:2252:__ll_inode_revalidate_it()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768),name=creat-t.10&lt;br/&gt;
00000080:00010000:0.0:1329945342.264004:0:7323:0:(dcache.c:376:ll_lookup_finish_locks()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00010000:0.0:1329945342.264006:0:7323:0:(llite_internal.h:1431:ll_set_lock_data()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00200000:0.0:1329945342.264415:0:7323:0:(dcache.c:410:ll_revalidate_it()) VFS Op:name=creat-t.10,intent=open|creat&lt;br/&gt;
00000080:00010000:1.0:1329945342.265200:0:7323:0:(llite_internal.h:1431:ll_set_lock_data()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00200000:1.0:1329945342.265204:0:7323:0:(file.c:513:ll_file_open()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768), flags 101101  &lt;font color=&quot;blue&quot;&gt;==&amp;gt;O_LARGEFILE|O_TRUNC|O_CREAT|O_WRONLY&lt;/font&gt;&lt;br/&gt;
00000080:00200000:1.0:1329945342.265224:0:7323:0:(file.c:2509:ll_inode_permission()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768), inode mode 81ff mask 42  &lt;font color=&quot;blue&quot;&gt;==&amp;gt;mode:S_IFREG|S_IRWXU|S_IRWXG|S_IRWXO  ==&amp;gt;mask:MAY_CHDIR|MAY_WRITE&lt;/font&gt;&lt;br/&gt;
00000080:00200000:1.0:1329945342.265229:0:7323:0:(llite_lib.c:1329:ll_setattr_raw()) VFS Op:inode=144115205255726326 valid a068&lt;br/&gt;
00000080:00200000:1.0:1329945342.265794:0:7323:0:(file.c:297:ll_file_release()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768)&lt;br/&gt;
00000080:00200000:0.0:1329945342.272682:0:7319:0:(namei.c:535:ll_lookup_it()) VFS Op:name=creat-t.10,dir=144115205255726268/33554436(ffff88023fca3828),intent=getattr&lt;br/&gt;
00000080:00010000:1.0:1329945342.273533:0:7319:0:(llite_internal.h:1431:ll_set_lock_data()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00010000:1.0:1329945342.273536:0:7319:0:(dcache.c:376:ll_lookup_finish_locks()) setting l_data to inode ffff8802a3b3f768 (144115205255726326/33554436)&lt;br/&gt;
00000080:00200000:1.0:1329945342.273556:0:7319:0:(namei.c:1135:ll_unlink_generic()) VFS Op:name=creat-t.10,dir=144115205255726268/33554436(ffff88023fca3828)&lt;br/&gt;
00000080:00200000:1.0:1329945342.274565:0:7319:0:(llite_lib.c:1130:ll_clear_inode()) VFS Op:inode=144115205255726326/33554436(ffff8802a3b3f768)&lt;br/&gt;
00000080:00200000:3.0:1329945383.166170:0:7319:0:(namei.c:535:ll_lookup_it()) VFS Op:name=creat-t.10,dir=144115205255726268/33554436(ffff88023fca3828),intent=getattr&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;from the log (in creatt.10 case), the permission check is ok, also inode_permission() will not return -EPERM, but suspicious code lies in may_open()&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;excerpt from may_open()&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;	error = inode_permission(inode, acc_mode);
	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (error)
		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; error;

	/*
	 * An append-only file must be opened in append mode &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; writing.
	 */
	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (IS_APPEND(inode)) {
		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;  ((flag &amp;amp; O_ACCMODE) != O_RDONLY &amp;amp;&amp;amp; !(flag &amp;amp; O_APPEND))
			&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -EPERM;
		&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (flag &amp;amp; O_TRUNC)
			&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -EPERM;
	}

	&lt;span class=&quot;code-comment&quot;&gt;/* O_NOATIME can only be set by the owner or superuser */&lt;/span&gt;
	&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (flag &amp;amp; O_NOATIME &amp;amp;&amp;amp; !inode_owner_or_capable(inode))
		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -EPERM;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The second ll_file_open() call has O_TRUNC flag, I suspect that the inode was set S_APPEND flag.&lt;/p&gt;</comment>
                            <comment id="29787" author="bobijam" created="Fri, 24 Feb 2012 01:55:30 +0000"  >&lt;p&gt;my local vm test does not have this issue. &lt;/p&gt;</comment>
                            <comment id="29909" author="yujian" created="Tue, 28 Feb 2012 01:36:28 +0000"  >&lt;p&gt;Hi Sarah and Bobi,&lt;/p&gt;

&lt;p&gt;FYI...&lt;/p&gt;

&lt;p&gt;Lustre Branch: master&lt;br/&gt;
Lustre Build: &lt;a href=&quot;http://build.whamcloud.com/job/lustre-master/491/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-master/491/&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL6/x86_64 (kernel version: 2.6.32_220.4.2.el6)&lt;br/&gt;
Network: IB (in-kernel OFED)&lt;/p&gt;

&lt;p&gt;I ran the same POSIX compliance test but did not hit the issues in this ticket (except unlink.6 and write.15 which is issue &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-380&quot; title=&quot;POSIX: write.15: time stamps incorrect: mtime, ctime were not updated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-380&quot;&gt;&lt;del&gt;LU-380&lt;/del&gt;&lt;/a&gt;). Here is the summary:&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;FAILURE SUMMARY:

POSIX failures: 2

Test Name                   Baseline   Lustre Report
unlink.6                   Succeeded          Failed
write.15                   Succeeded          Failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/4c324da6-61d5-11e1-b462-5254004bbbd3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/4c324da6-61d5-11e1-b462-5254004bbbd3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="29951" author="sarah" created="Wed, 29 Feb 2012 02:52:20 +0000"  >&lt;p&gt;I ran POSIX on the same build and distro as Yu Jian(build 491-RHEL6-x86_64) and got 3 failures, two of them are mentioned in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-380&quot; title=&quot;POSIX: write.15: time stamps incorrect: mtime, ctime were not updated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-380&quot;&gt;&lt;del&gt;LU-380&lt;/del&gt;&lt;/a&gt; and another one is readdir.6 which is shown in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-379&quot; title=&quot;POSIX: read.13 and readdir.6: time stamps incorrect: atime was not updated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-379&quot;&gt;&lt;del&gt;LU-379&lt;/del&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;FAILURE SUMMARY:&lt;/p&gt;

&lt;p&gt;POSIX failures: 3&lt;/p&gt;

&lt;p&gt;Test Name                   Baseline   Lustre Report&lt;br/&gt;
readdir.6                  Succeeded          Failed&lt;br/&gt;
unlink.6                   Succeeded          Failed&lt;br/&gt;
write.15                   Succeeded          Failed&lt;/p&gt;</comment>
                            <comment id="29960" author="pjones" created="Wed, 29 Feb 2012 08:27:03 +0000"  >&lt;p&gt;Thanks everyone. So we can close this ticket as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-379&quot; title=&quot;POSIX: read.13 and readdir.6: time stamps incorrect: atime was not updated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-379&quot;&gt;&lt;del&gt;LU-379&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-380&quot; title=&quot;POSIX: write.15: time stamps incorrect: mtime, ctime were not updated&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-380&quot;&gt;&lt;del&gt;LU-380&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10853" name="posix" size="35753" author="sarah" created="Fri, 17 Feb 2012 00:18:26 +0000"/>
                            <attachment id="10879" name="res.tar.gz" size="64935" author="sarah" created="Wed, 22 Feb 2012 22:51:47 +0000"/>
                    </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|hzvhb3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6453</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>