<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:23:52 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-16085] Ubuntu 22.04 sanityn test_106c: supported stx_attributes: got &apos;2030&apos;, expected &apos;30&apos;</title>
                <link>https://jira.whamcloud.com/browse/LU-16085</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/d93ea6cd-9f2e-4488-84c9-da7169aaac3c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/d93ea6cd-9f2e-4488-84c9-da7169aaac3c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;test_106c 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;supported stx_attributes: got &apos;2030&apos;, expected &apos;30&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It is similar as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13628&quot; title=&quot;sanityn test_106a test_106c: supported stx_attributes: got &amp;#39;&amp;#39;?&amp;#39;&amp;#39;, expected &amp;#39;&amp;#39;30&amp;#39;&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13628&quot;&gt;&lt;del&gt;LU-13628&lt;/del&gt;&lt;/a&gt; but this is with Ubuntu2204 client&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 106c: Verify statx attributes mask ======= 11:30:40 (1660044640)
 sanityn test_106c: @@@@@@ FAIL: supported stx_attributes: got &apos;2030&apos;, expected &apos;30&apos; 
&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;
sanityn test_106c - supported stx_attributes: got &apos;2030&apos;, expected &apos;30&apos;&lt;/p&gt;</description>
                <environment></environment>
        <key id="71788">LU-16085</key>
            <summary>Ubuntu 22.04 sanityn test_106c: supported stx_attributes: got &apos;2030&apos;, expected &apos;30&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="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Aug 2022 19:10:14 +0000</created>
                <updated>Fri, 23 Sep 2022 16:34:45 +0000</updated>
                            <resolved>Thu, 1 Sep 2022 15:11:38 +0000</resolved>
                                    <version>Lustre 2.15.1</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="343161" author="adilger" created="Wed, 10 Aug 2022 00:46:47 +0000"  >&lt;p&gt;It looks like this is a new addition to the &lt;tt&gt;statx()&lt;/tt&gt; call since commit v5.7-rc4-9-g80340fe3605c (Ubuntu 22.04 using 5.15.0-39) that adds:&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;
#define STATX_ATTR_MOUNT_ROOT           0x00002000 &lt;span class=&quot;code-comment&quot;&gt;/* Root of a mount */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;That said, I&apos;m not sure why &lt;tt&gt;STATX_ATTR_MOUNT_ROOT&lt;/tt&gt; would be set on a &lt;b&gt;file&lt;/b&gt;?&lt;/p&gt;

&lt;p&gt;so the test should be changed to expect &lt;b&gt;at least&lt;/b&gt; the 0x30 flag:&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;
        # Mask supported in stx_attributes by Lustre is
        # STATX_ATTR_IMMUTABLE(0x10) | STATX_ATTR_APPEND(0x20) : (0x30).
        (( 0x$mask &amp;amp; 0x30 == 0x30 )) ||
                error &lt;span class=&quot;code-quote&quot;&gt;&quot;supported stx_attributes: got &lt;span class=&quot;code-quote&quot;&gt;&apos;0x$mask&apos;&lt;/span&gt;, expected &lt;span class=&quot;code-quote&quot;&gt;&apos;0x30&apos;&lt;/span&gt; at least&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It looks like we should add &lt;tt&gt;STATX_ATTR_ENCRYPTED&lt;/tt&gt; to the list also. This should be set in the &lt;tt&gt;stat-&amp;gt;attributes_mask&lt;/tt&gt; in &lt;tt&gt;ll_getattr()&lt;/tt&gt; if those flags are even &lt;em&gt;possible&lt;/em&gt; for the filesystem, and then in the returned &lt;tt&gt;stat-&amp;gt;attributes&lt;/tt&gt; if the flags are actually &lt;em&gt;set&lt;/em&gt; on the inode.  It isn&apos;t totally clear what to do on a client where the server does not support fscrypt, but I&apos;d guess we leave out the &lt;tt&gt;STATX_ATTR_ENCRYPTED&lt;/tt&gt; flag in that case?  The same will need to be done for &lt;tt&gt;STATX_ATTR_COMPRESSED&lt;/tt&gt; in the future.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;ll_getattr()&lt;/tt&gt; code &lt;b&gt;also&lt;/b&gt; can return (via &lt;tt&gt;ll_inode_to_ext_flags()&lt;/tt&gt;) the &lt;tt&gt;LUSTRE_SYNC_FL&lt;/tt&gt; and &lt;tt&gt;LUSTRE_DIRSYNC_FL&lt;/tt&gt;, so I&apos;m wondering if those should also be returned in &lt;tt&gt;stat-&amp;gt;attributes_mask&lt;/tt&gt;, even though they are not defined for &lt;tt&gt;statx&lt;/tt&gt;, or if &lt;tt&gt;stat-&amp;gt;attributes&lt;/tt&gt; should be masked out by the defined &lt;tt&gt;STATX_ATTR_&amp;#42;&lt;/tt&gt; values in &lt;tt&gt;attributes_mask&lt;/tt&gt; to avoid future conflicts?&lt;/p&gt;</comment>
                            <comment id="343452" author="gerrit" created="Fri, 12 Aug 2022 08:07:40 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48208&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48208&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16085&quot; title=&quot;Ubuntu 22.04 sanityn test_106c: supported stx_attributes: got &amp;#39;2030&amp;#39;, expected &amp;#39;30&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16085&quot;&gt;&lt;del&gt;LU-16085&lt;/del&gt;&lt;/a&gt; llite: fix stat attributes_mask&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5369d4ecd1e081f48098d153a70b58da807d192a&lt;/p&gt;</comment>
                            <comment id="345320" author="gerrit" created="Thu, 1 Sep 2022 05:55:20 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/48208/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48208/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16085&quot; title=&quot;Ubuntu 22.04 sanityn test_106c: supported stx_attributes: got &amp;#39;2030&amp;#39;, expected &amp;#39;30&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16085&quot;&gt;&lt;del&gt;LU-16085&lt;/del&gt;&lt;/a&gt; llite: fix stat attributes_mask&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0e48653c27eacad29dbff1589da771ad4f5d1014&lt;/p&gt;</comment>
                            <comment id="345326" author="gerrit" created="Thu, 1 Sep 2022 07:11:20 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48404&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48404&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16085&quot; title=&quot;Ubuntu 22.04 sanityn test_106c: supported stx_attributes: got &amp;#39;2030&amp;#39;, expected &amp;#39;30&amp;#39;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16085&quot;&gt;&lt;del&gt;LU-16085&lt;/del&gt;&lt;/a&gt; llite: fix stat attributes_mask&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 85ad0d58b0a0e101e89ab36344267e0392f74e23&lt;/p&gt;</comment>
                            <comment id="345422" author="pjones" created="Thu, 1 Sep 2022 15:11:38 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="48446">LU-10026</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55593">LU-12275</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59726">LU-13717</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56210">LU-12480</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|i02wof:</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>