<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:40:45 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-4220] posix test_1: creat.24 failed: creat(&quot;&lt;256 char path&gt;&quot;, 0777) did not give correct results</title>
                <link>https://jira.whamcloud.com/browse/LU-4220</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While running posix test on Lustre with BASELINE_FS=zfs, creat.24 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;####################################################
Test Name: creat.24 Failed

	Test Description:
For the XNFS specification:
    Not in use.
For the XSH specification:
    If _POSIX_NO_TRUNC is defined:
        If _POSIX_NAME_MAX &amp;lt;= {NAME_MAX} &amp;lt;= PCTS_NAME_MAX, then
        ENAMETOOLONG in errno and a return value of -1 on a call to
        creat(path, mode) when the length of a pathname component of
        path is longer than the maximum number of bytes in a filename
        {NAME_MAX};
                                  otherwise
        a call to creat(path, mode) when the length of a component of
        path equals PCTS_NAME_MAX does not give an ENAMETOOLONG error.
Posix Ref: Component CREAT Assertion 5.3.2.4-49(C)

	Test Strategy:
IF pathconf() returns a value of NAME_MAX &amp;lt;= PCTS_NAME_MAX, and not -1
  CREATE a file with a filename of length NAME_MAX using creat()
  VERIFY that creat() returned successfully
  CREATE a file with a filename of length NAME_MAX+1 using creat()
  VERIFY that creat() returned -1 and errno was set to ENAMETOOLONG
OTHERWISE
  CREATE a file with a filename of length PCTS_NAME_MAX using creat()
  VERIFY that creat() returned successfully

	Test Information:
creat(&quot;&amp;lt;256 char path&amp;gt;&quot;, 0777) did not give correct results
RETURN VALUES: expected: 0, observed: -1
ERRNO VALUES: expected: 0 (NO ERROR), observed: 36 (ENAMETOOLONG)

####################################################
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/e74b645e-4634-11e3-810a-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/e74b645e-4634-11e3-810a-52540035b04c&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The following tests hit the same failure:&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 Name                   Baseline   Lustre Report
mkdir.13                   Succeeded          Failed
mkfifo.11                  Succeeded          Failed
open.38                    Succeeded          Failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>&lt;br/&gt;
BASELINE_FS=zfs&lt;br/&gt;
</environment>
        <key id="21892">LU-4220</key>
            <summary>posix test_1: creat.24 failed: creat(&quot;&lt;256 char path&gt;&quot;, 0777) did not give correct results</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>zfs</label>
                    </labels>
                <created>Wed, 6 Nov 2013 15:54:24 +0000</created>
                <updated>Fri, 8 Nov 2013 16:07:07 +0000</updated>
                            <resolved>Fri, 8 Nov 2013 16:07:07 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                    <version>Lustre 2.5.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="70959" author="yujian" created="Thu, 7 Nov 2013 09:08:00 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;Since ldiskfs/ext4 uses EXT4_NAME_LEN = 255, should I disable the above POSIX sub-tests which use 256 char path?&lt;/p&gt;</comment>
                            <comment id="71129" author="yujian" created="Fri, 8 Nov 2013 16:05:13 +0000"  >&lt;p&gt;The patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4219&quot; title=&quot;posix test_1: fpathconf.8 and pathconf.10 failed: did not return the value of NAME_MAX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4219&quot;&gt;&lt;del&gt;LU-4219&lt;/del&gt;&lt;/a&gt; can fix this issue. So, the ticket is closed as a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4219&quot; title=&quot;posix test_1: fpathconf.8 and pathconf.10 failed: did not return the value of NAME_MAX&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4219&quot;&gt;&lt;del&gt;LU-4219&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="21891">LU-4219</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|hzw87r:</customfieldvalue>

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