<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:49 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-12922] pjdfstest chown_00: POSIX compliance failed on lustre</title>
                <link>https://jira.whamcloud.com/browse/LU-12922</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for sarah &amp;lt;sarah@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/661f272e-fb43-11e9-a0ba-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/661f272e-fb43-11e9-a0ba-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_2 failed with the following error:&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;PJDFSTEST against lustre failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The new added pjdfstest failed against lustre on different tests, 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;Test Summary Report
-------------------
/usr/share/pjdfstest/chmod/00.t          (Wstat: 0 Tests: 119 Failed: 4)
  Failed tests:  112-114, 116
/usr/share/pjdfstest/chmod/07.t          (Wstat: 0 Tests: 25 Failed: 2)
  Failed tests:  7, 17
/usr/share/pjdfstest/chown/00.t          (Wstat: 0 Tests: 1323 Failed: 37)
  Failed tests:  292, 299, 307, 312, 319, 327, 332, 339
                347, 352, 359, 367, 372, 379, 387, 392
                399, 407, 412, 954-956, 978-980, 1002-1004
                1026-1028, 1050-1052, 1074-1076
/usr/share/pjdfstest/chown/07.t          (Wstat: 0 Tests: 132 Failed: 38)
  Failed tests:  7-8, 12-13, 20-21, 27-28, 32-33, 40-41
                47-48, 52-53, 60-61, 67-68, 72-73, 80-81
                87-88, 92-93, 100-101, 107-108, 112-113
                120-121, 127-128
/usr/share/pjdfstest/mkdir/00.t          (Wstat: 0 Tests: 36 Failed: 6)
  Failed tests:  18-23
/usr/share/pjdfstest/mkfifo/00.t         (Wstat: 0 Tests: 36 Failed: 6)
  Failed tests:  18-23
/usr/share/pjdfstest/mknod/00.t          (Wstat: 0 Tests: 36 Failed: 6)
  Failed tests:  18-23
/usr/share/pjdfstest/open/00.t           (Wstat: 0 Tests: 47 Failed: 6)
  Failed tests:  18-23
/usr/share/pjdfstest/open/06.t           (Wstat: 0 Tests: 144 Failed: 20)
  Failed tests:  9-11, 13-15, 21, 25, 34, 38, 70-71, 73-74
                80, 84, 116, 118, 122, 124
/usr/share/pjdfstest/rename/10.t         (Wstat: 0 Tests: 2099 Failed: 6)
  Failed tests:  2062, 2091-2095
/usr/share/pjdfstest/utimensat/08.t      (Wstat: 0 Tests: 9 Failed: 2)
  Failed tests:  5-6
Files=232, Tests=8789, 212 wallclock secs ( 1.29 usr  0.22 sys + 27.94 cusr 38.87 csys = 68.32 CPU)
Result: FAIL
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;





&lt;p&gt;VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV&lt;br/&gt;
pjdfstest test_2 - PJDFSTEST against lustre failed&lt;/p&gt;</description>
                <environment></environment>
        <key id="57284">LU-12922</key>
            <summary>pjdfstest chown_00: POSIX compliance failed on lustre</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="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Oct 2019 18:14:32 +0000</created>
                <updated>Fri, 17 Apr 2020 20:44:16 +0000</updated>
                                            <version>Lustre 2.13.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="257534" author="adilger" created="Fri, 1 Nov 2019 20:48:02 +0000"  >&lt;p&gt;It looks like a number of failures are duplicated between ext4 and lustre and should be excluded from the testing, so that the ext4 test passes.&lt;/p&gt;

&lt;p&gt;There are a large number of tests that are failing with &lt;tt&gt;expected 0, got EACCES&lt;/tt&gt;, which at first glance may relate to the test using supplementary groups that are not configured on the MDS.  It makes sense to either configure the test to use groups that are already existing, or the groups have to be added on the MDS.&lt;/p&gt;

&lt;p&gt;I think once these failures have been addressed, there will be only a small number of remaining failures that need to be looked at.&lt;/p&gt;</comment>
                            <comment id="264032" author="sarah" created="Tue, 25 Feb 2020 17:33:56 +0000"  >&lt;p&gt;After adding the required user/group ID, this test failed on 2 subtests against Lustre&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/f7bb158c-47e3-4b29-96c6-146b42120003&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/f7bb158c-47e3-4b29-96c6-146b42120003&lt;/a&gt;&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;== pjdfstest test 3a: chown changes ownership (chown/00.t) =========================================== 19:54:08 (1582574048)
Run /usr/share/pjdfstest/chown/00.t against ext4 filesystem
prove -f /usr/share/pjdfstest/chown/00.t &amp;gt; /tmp/pjdfstest-ext4 2&amp;gt;&amp;amp;1
Run /usr/share/pjdfstest/chown/00.t against lustre filesystem
prove -f /usr/share/pjdfstest/chown/00.t &amp;gt; /tmp/pjdfstest-lustre 2&amp;gt;&amp;amp;1
ext4 report
/usr/share/pjdfstest/chown/00.t .. ok
All tests successful.
Files=1, Tests=1323, 81 wallclock secs ( 0.18 usr  0.01 sys +  2.17 cusr  5.02 csys =  7.38 CPU)
Result: PASS
lustre report
/usr/share/pjdfstest/chown/00.t .. 
not ok 312 - tried &apos;-u 65532 -g 65531 -- chown pjdfstest_c2eeb5584dbe39810035c7d5745e8702 -1 -1&apos;, expected 0, got EPERM
not ok 319 - tried &apos;-u 65532 -g 65531 -- chown pjdfstest_c2eeb5584dbe39810035c7d5745e8702 -1 -1&apos;, expected 0, got EPERM
not ok 327 - tried &apos;-u 65532 -g 65531 -- lchown pjdfstest_c2eeb5584dbe39810035c7d5745e8702 -1 -1&apos;, expected 0, got EPERM
Failed 3/1323 subtests 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;== pjdfstest test 17i: utimensat can set timestamps with subsecond precision (utimensat/08.t) ======== 20:20:17 (1582575617)
Run /usr/share/pjdfstest/utimensat/08.t against ext4 filesystem
prove -f /usr/share/pjdfstest/utimensat/08.t &amp;gt; /tmp/pjdfstest-ext4 2&amp;gt;&amp;amp;1
Run /usr/share/pjdfstest/utimensat/08.t against lustre filesystem
prove -f /usr/share/pjdfstest/utimensat/08.t &amp;gt; /tmp/pjdfstest-lustre 2&amp;gt;&amp;amp;1
ext4 report
/usr/share/pjdfstest/utimensat/08.t .. 
not ok 5 - tried &apos;lstat pjdfstest_0ae536f2c253c944c4d725e3a6b60c95 atime_ns&apos;, expected 100000000, got 0
not ok 6 - tried &apos;lstat pjdfstest_0ae536f2c253c944c4d725e3a6b60c95 mtime_ns&apos;, expected 200000000, got 0
Failed 2/9 subtests 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="264058" author="adilger" created="Wed, 26 Feb 2020 00:41:10 +0000"  >&lt;p&gt;Lustre doesn&apos;t store nanosecond timestamps (at least not until &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1158&quot; title=&quot;nanosecond timestamp support for Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1158&quot;&gt;LU-1158&lt;/a&gt; is updated and landed), but I don&apos;t think that is a priority for anyone at this point.  So those tests will not pass on Lustre and this is expected.&lt;/p&gt;</comment>
                            <comment id="266927" author="jamesanunez" created="Mon, 6 Apr 2020 16:48:17 +0000"  >&lt;p&gt;There&apos;s just three more chown failures when trying to set the user/group to -1; &lt;a href=&quot;https://testing.whamcloud.com/test_sets/73aa184a-71a0-4f84-80c9-2182256a50ba&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/73aa184a-71a0-4f84-80c9-2182256a50ba&lt;/a&gt;. &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;lustre report
/usr/share/pjdfstest/chown/00.t .. 
not ok 312 - tried &apos;-u 65532 -g 65531 -- chown pjdfstest_8c15b69e4c4c1ba0a36eca9dd7ada25f -1 -1&apos;, expected 0, got EPERM
not ok 319 - tried &apos;-u 65532 -g 65531 -- chown pjdfstest_8c15b69e4c4c1ba0a36eca9dd7ada25f -1 -1&apos;, expected 0, got EPERM
not ok 327 - tried &apos;-u 65532 -g 65531 -- lchown pjdfstest_8c15b69e4c4c1ba0a36eca9dd7ada25f -1 -1&apos;, expected 0, got EPERM
Failed 3/1323 subtests 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&quot;m having a hard time finding a copy of the POSIX standard that is freely accessible, but from chown(2), I see the following:&lt;br/&gt;
 If the owner or group is specified as -1, then that ID is not changed.&lt;/p&gt;</comment>
                            <comment id="267215" author="adilger" created="Wed, 8 Apr 2020 23:55:35 +0000"  >&lt;p&gt;I usually reference &lt;a href=&quot;https://pubs.opengroup.org/onlinepubs/007908799/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;The Single UNIX Specification v2&lt;/a&gt; for this kind of information, it says in the &lt;a href=&quot;https://pubs.opengroup.org/onlinepubs/007908799/xsh/chown.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;chown(2)&lt;/a&gt; section:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Changing the group ID is permitted to a process with an effective user ID equal to the user ID of the file, but without appropriate privileges, if and only if owner is equal to the file&apos;s user ID or (&lt;b&gt;uid_t&lt;/b&gt;)-1 and group is equal either to the calling process&apos; effective group ID or to one of its supplementary group IDs. &lt;/p&gt;

&lt;p&gt;If owner or group is specified as (&lt;b&gt;uid_t&lt;/b&gt;)-1 or (&lt;b&gt;gid_t&lt;/b&gt;)-1 respectively, the corresponding ID of the file is unchanged. &lt;br/&gt;
&lt;b&gt;ERRORS&lt;/b&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;EPERM&amp;#93;&lt;/span&gt;&lt;br/&gt;
    The effective user ID does not match the owner of the file, or the calling process does not have appropriate privileges. &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Presumably these errors do not appera for ext4 or XFS?&lt;/p&gt;</comment>
                            <comment id="267899" author="jamesanunez" created="Fri, 17 Apr 2020 16:52:07 +0000"  >&lt;p&gt;Correct, looking at the latest test results, we do not see the chown -1 owner/user issue for ext4. All tests in chown/00.t pass.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="13394">LU-1158</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56656">LU-12662</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i00ou7:</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>