<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:45:14 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-11594] sanity test_103a: FAIL: permissions failed</title>
                <link>https://jira.whamcloud.com/browse/LU-11594</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test 103a failed as follows:&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;performing permissions...
[12] $ id -u -- ok
[19] $ mkdir d -- ok
[20] $ cd d -- ok
[21] $ umask 027 -- ok
[22] $ touch f -- ok
[23] $ ls -l f | awk -- &apos;{sub(/\./, &quot;&quot;, $1); print $1, $3, $4 }&apos; -- ok
[30] $ echo root &amp;gt; f -- ok
[32] $ su daemon -- ok
[33] $ echo daemon &amp;gt;&amp;gt; f -- ok
[36] $ su -- ok
[42] $ chown bin:bin f -- ok
[43] $ ls -l f | awk -- &apos;{sub(/\./, &quot;&quot;, $1); print $1, $3, $4 }&apos; -- ok
[45] $ su bin -- ok
[46] $ echo bin &amp;gt;&amp;gt; f -- ok
[52] $ su daemon -- ok
[53] $ cat f -- ok
[57] $ echo daemon &amp;gt;&amp;gt; f -- ok
[64] $ su bin -- ok
[65] $ setfacl -m u:daemon:rw f -- ok
[66] $ getfacl --omit-header f -- ok
[77] $ su daemon -- ok
[78] $ echo daemon &amp;gt;&amp;gt; f -- ok
[79] $ cat f -- ok
[88] $ su bin -- ok
[89] $ chmod g-w f -- ok
[90] $ getfacl --omit-header f -- ok
[98] $ su daemon -- ok
[99] $ echo daemon &amp;gt;&amp;gt; f -- ok
[108] $ su bin -- ok
[109] $ setfacl -m u:daemon:r,g:daemon:rw-,o::rw- f -- ok
[111] $ su daemon -- ok
[112] $ echo daemon &amp;gt;&amp;gt; f -- ok
[119] $ su bin -- ok
[120] $ setfacl -x u:daemon f -- ok
[122] $ su daemon -- ok
[123] $ echo daemon2 &amp;gt;&amp;gt; f -- ok
[124] $ cat f -- ok
[134] $ su bin -- ok
[135] $ setfacl -m g:daemon:r f -- ok
[137] $ su daemon -- ok
[138] $ echo daemon3 &amp;gt;&amp;gt; f -- ok
[145] $ su bin -- ok
[146] $ setfacl -x g:daemon f -- ok
[148] $ su daemon -- ok
[149] $ echo daemon4 &amp;gt;&amp;gt; f -- ok
[156] $ su -- ok
[157] $ chgrp root f -- ok
[159] $ su daemon -- ok
[160] $ echo daemon5 &amp;gt;&amp;gt; f -- ok
[161] $ cat f -- ok
[172] $ su -- ok
[173] $ setfacl -m g:bin:r,g:daemon:w f -- ok
[175] $ su daemon -- ok
[176] $ : &amp;lt; f -- ok
[177] $ : &amp;gt; f -- ok
[178] $ : &amp;lt;&amp;gt; f -- ok
[186] $ su -- ok
[187] $ mkdir -m 750 e -- ok
[188] $ touch e/h -- ok
[190] $ su bin -- ok
[191] $ shopt -s nullglob ; echo e/* -- ok
[194] $ echo i &amp;gt; e/i -- ok
[197] $ su -- ok
[198] $ setfacl -m u:bin:rx e -- ok
[200] $ su bin -- ok
[201] $ echo e/* -- failed
e/h                                   ? e/*                                    
[208] $ touch e/i 2&amp;gt;&amp;amp;1 | sed -e &quot;s/touch .*e\/i.*:/touch \&apos;e\/i\&apos;:/&quot; -- ok
[211] $ su -- ok
[212] $ setfacl -m u:bin:rwx e -- ok
[214] $ su bin -- ok
[215] $ echo i &amp;gt; e/i -- failed
~                                     ? e/i: Permission denied                 
[220] $ su -- ok
[221] $ touch g -- ok
[222] $ ln -s g l -- ok
[223] $ setfacl -m u:bin:rw l -- ok
[224] $ ls -l g | awk -- &apos;{ print $1, $3, $4 }&apos; -- ok
[234] $ mknod -m 0660 hdt b 91 64 -- ok
[235] $ mknod -m 0660 null c 1 3 -- ok
[236] $ mkfifo -m 0660 fifo -- ok
[238] $ su bin -- ok
[239] $ : &amp;lt; hdt -- ok
[241] $ : &amp;lt; null -- ok
[243] $ : &amp;lt; fifo -- ok
[246] $ su -- ok
[247] $ setfacl -m u:bin:rw hdt null fifo -- ok
[249] $ su bin -- ok
[250] $ : &amp;lt; hdt -- failed
hdt: No such device or address        ? hdt: Permission denied                 
[252] $ : &amp;lt; null -- failed
~                                     ? null: Permission denied                
[253] $ ( echo blah &amp;gt; fifo &amp;amp; ) ; cat fifo -- failed
blah                                  ? fifo: Permission denied                
~                                     ? cat: fifo: Permission denied           
[261] $ su -- ok
[262] $ mkdir -m 600 x -- ok
[263] $ chown daemon:daemon x -- ok
[264] $ echo j &amp;gt; x/j -- ok
[265] $ ls -l x/j | awk -- &apos;{sub(/\./, &quot;&quot;, $1); print $1, $3, $4 }&apos; -- ok
[268] $ setfacl -m u:daemon:r x -- ok
[270] $ ls -l x/j | awk -- &apos;{sub(/\./, &quot;&quot;, $1); print $1, $3, $4 }&apos; -- ok
[274] $ echo k &amp;gt; x/k -- ok
[277] $ chmod 750 x -- ok
[282] $ su -- ok
[283] $ cd .. -- ok
[284] $ rm -rf d -- ok
101 commands (96 passed, 5 failed)
 sanity test_103a: @@@@@@ FAIL: permissions failed 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/88bbf5c2-d9d0-11e8-b46b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/88bbf5c2-d9d0-11e8-b46b-52540065bddc&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Lustre Build: &lt;a href=&quot;https://build.whamcloud.com/job/lustre-master/3811&quot;&gt;https://build.whamcloud.com/job/lustre-master/3811&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL7.5/aarch64 (client), RHEL7.5/x86_64 (server)</environment>
        <key id="53877">LU-11594</key>
            <summary>sanity test_103a: FAIL: permissions failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="simmonsja">James A Simmons</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>arm</label>
                            <label>sles12</label>
                            <label>ubuntu16</label>
                    </labels>
                <created>Thu, 1 Nov 2018 17:06:36 +0000</created>
                <updated>Mon, 26 Aug 2019 21:42:23 +0000</updated>
                            <resolved>Mon, 26 Aug 2019 21:42:23 +0000</resolved>
                                    <version>Upstream</version>
                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.12.1</version>
                    <version>Lustre 2.12.2</version>
                    <version>Lustre 2.12.3</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>1</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="236157" author="yujian" created="Thu, 1 Nov 2018 17:16:18 +0000"  >&lt;p&gt;sanityn test 25a failed with similar issue:&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;== sanityn test 25a: change ACL on one mountpoint be seen on another ================================= 06:11:56 (1540534316)
running as uid/gid/euid/egid 500/500/500/500, groups:
 [checkstat] [-v] [/mnt/lustre2/d25a.sanityn/f1]
running as uid/gid/euid/egid 500/500/500/500, groups:
 [checkstat] [-v] [/mnt/lustre2/d25a.sanityn/f1]
 sanityn test_25a: @@@@@@ FAIL: checkstat /mnt/lustre2/d25a.sanityn/f1 #2 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/8b2f4282-d9d0-11e8-b46b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/8b2f4282-d9d0-11e8-b46b-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="236158" author="pjones" created="Thu, 1 Nov 2018 17:19:03 +0000"  >&lt;p&gt;John&lt;/p&gt;

&lt;p&gt;Could you please investigate?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="236948" author="simmonsja" created="Tue, 13 Nov 2018 21:42:34 +0000"  >&lt;p&gt;This same bug exist for linux lustre client as well as Ubuntu18&lt;/p&gt;</comment>
                            <comment id="236975" author="gerrit" created="Wed, 14 Nov 2018 08:42:46 +0000"  >&lt;p&gt;Jian Yu (yujian@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33654&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33654&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11594&quot; title=&quot;sanity test_103a: FAIL: permissions failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11594&quot;&gt;&lt;del&gt;LU-11594&lt;/del&gt;&lt;/a&gt; tests: disable sanity test 103a for ARM&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 92a287c5fc315c4f8b16bf15dd4c6141838e0032&lt;/p&gt;</comment>
                            <comment id="238649" author="jamesanunez" created="Sat, 15 Dec 2018 00:24:57 +0000"  >&lt;p&gt;There&apos;s a comment that sanityn test 25a is suffering from the same problem. Should we disable sanityn tests 25a and 25b also?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/f1121dd4-fdef-11e8-b837-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/f1121dd4-fdef-11e8-b837-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="241741" author="yujian" created="Mon, 11 Feb 2019 22:44:18 +0000"  >&lt;p&gt;The same failure occurred on SLES12 SP4 (kernel version 4.12.14-95.6.1) client:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/853ddbdc-2cb8-11e9-a994-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/853ddbdc-2cb8-11e9-a994-52540065bddc&lt;/a&gt; (sanity test 103a)&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/8c01d450-2cb8-11e9-a994-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/8c01d450-2cb8-11e9-a994-52540065bddc&lt;/a&gt; (sanityn test 25a and 25b)&lt;/p&gt;</comment>
                            <comment id="246780" author="sebastien" created="Tue, 7 May 2019 14:02:17 +0000"  >&lt;p&gt;FYI, Maloo may refer to this ticket in case of failure of sanity test_103a when SELinux is enabled on the client. But in the case of SELinux this is a different problem, in fact due to an issue with the test itself, that I am going to investigate under &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12267&quot; title=&quot;sanity test_103a: some ACL tests fail with SELinux enforced&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12267&quot;&gt;&lt;del&gt;LU-12267&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="246785" author="simmonsja" created="Tue, 7 May 2019 15:45:51 +0000"  >&lt;p&gt;Ubuntu16 sees also an error with this test but its slightly different reason for failure.&lt;/p&gt;</comment>
                            <comment id="247066" author="hornc" created="Mon, 13 May 2019 16:14:41 +0000"  >&lt;p&gt;I&apos;m hitting this with SLES15 client/server.&lt;/p&gt;</comment>
                            <comment id="247282" author="simmonsja" created="Thu, 16 May 2019 16:44:45 +0000"  >&lt;p&gt;Peter I can take this ticket since it impacts any newer kernels. Also I think we will be seeing this fix with &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12267&quot; title=&quot;sanity test_103a: some ACL tests fail with SELinux enforced&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12267&quot;&gt;&lt;del&gt;LU-12267&lt;/del&gt;&lt;/a&gt; patch.&lt;/p&gt;</comment>
                            <comment id="247284" author="hornc" created="Thu, 16 May 2019 16:50:06 +0000"  >&lt;p&gt;James, FYI I just tried &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12267&quot; title=&quot;sanity test_103a: some ACL tests fail with SELinux enforced&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12267&quot;&gt;&lt;del&gt;LU-12267&lt;/del&gt;&lt;/a&gt; patch and test_103a still fails for me.&lt;/p&gt;</comment>
                            <comment id="248558" author="yujian" created="Thu, 6 Jun 2019 16:33:43 +0000"  >&lt;p&gt;The same failure occurred on RHEL 8.0 (kernel version 4.18.0-80.el8.x86_64) client:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/6a330bd4-8837-11e9-be83-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/6a330bd4-8837-11e9-be83-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="252900" author="pjones" created="Fri, 9 Aug 2019 17:34:50 +0000"  >&lt;p&gt;@James is this still something that you intend to work on?&lt;/p&gt;</comment>
                            <comment id="252902" author="simmonsja" created="Fri, 9 Aug 2019 17:58:04 +0000"  >&lt;p&gt;Yes. Sorry I have been busy with other things. I did look at this before and it might be a big change since the way most file systems handle ACL handling is with by using the default ACL handler the kernel uses which is wrapped around set_acl(), get_acl(). The default ACL handler in newer kernels most likely handle all the permission issues for us. I need to look into it in more detail.&lt;/p&gt;</comment>
                            <comment id="252925" author="simmonsja" created="Sun, 11 Aug 2019 02:29:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12657&quot; title=&quot;sanity/103 and sanityn/25 fail with 4.18 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12657&quot;&gt;&lt;del&gt;LU-12657&lt;/del&gt;&lt;/a&gt; has a potential fix&lt;/p&gt;</comment>
                            <comment id="253337" author="gerrit" created="Wed, 21 Aug 2019 04:48:58 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34819/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34819/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11594&quot; title=&quot;sanity test_103a: FAIL: permissions failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11594&quot;&gt;&lt;del&gt;LU-11594&lt;/del&gt;&lt;/a&gt; test: re-enable sanity test 103a for ARM&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 12d7b7af5e397368c32bc4b82609e37afa0c0a26&lt;/p&gt;</comment>
                            <comment id="253620" author="adilger" created="Mon, 26 Aug 2019 21:42:12 +0000"  >&lt;p&gt;We shouldn&apos;t be resolving issues with the &lt;tt&gt;always_except&lt;/tt&gt; label still on them.  As in this case, that often means that the subtest was not removed from the &lt;tt&gt;ALWAYS_EXCEPT&lt;/tt&gt; list in the test.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="49612">LU-10334</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55582">LU-12269</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56639">LU-12657</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="56278">LU-12511</issuekey>
        </issuelink>
                            </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|i005gv:</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>