<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:54 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-1580] POSIX: pathconf.32: pathconf(&quot;/dev/pts/0&quot;, _PC_NAME_MAX) did not give correct results</title>
                <link>https://jira.whamcloud.com/browse/LU-1580</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Chris Gearing &amp;lt;chris@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/e8bc176e-c0a4-11e1-a5ca-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/e8bc176e-c0a4-11e1-a5ca-52540035b04c&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_1 failed with the following error:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Run POSIX testsuite on /mnt/lustre failed&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Info required for matching: posix 1&lt;/p&gt;</description>
                <environment></environment>
        <key id="15077">LU-1580</key>
            <summary>POSIX: pathconf.32: pathconf(&quot;/dev/pts/0&quot;, _PC_NAME_MAX) 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="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="1">Fixed</resolution>
                                        <assignee username="yujian">Jian Yu</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jun 2012 11:07:31 +0000</created>
                <updated>Thu, 27 Sep 2012 18:22:50 +0000</updated>
                            <resolved>Wed, 8 Aug 2012 19:47:21 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="41615" author="sarah" created="Mon, 9 Jul 2012 14:11:49 +0000"  >&lt;p&gt;another failure: &lt;a href=&quot;https://maloo.whamcloud.com/test_sets/aeb9eac8-c57c-11e1-ab7d-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/aeb9eac8-c57c-11e1-ab7d-52540035b04c&lt;/a&gt;&lt;br/&gt;
From the test report there are 4 failed tests, 3 of them are known issues listed 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 &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; while the pathconf.32 is a new one.&lt;/p&gt;

&lt;p&gt;14:21:04:Test Name: pathconf.32 Failed&lt;br/&gt;
14:21:04:&lt;br/&gt;
14:21:04:	Test Description:&lt;br/&gt;
14:21:04:When path does not refer to a directory, then a call to pathconf(path,&lt;br/&gt;
14:21:04:_PC_NAME_MAX) either returns a value of -1 and sets errno to &lt;span class=&quot;error&quot;&gt;&amp;#91;EINVAL&amp;#93;&lt;/span&gt;,&lt;br/&gt;
14:21:04:or returns a valid value for &lt;/p&gt;
{NAME_MAX}
&lt;p&gt;.&lt;br/&gt;
14:21:04:Posix Ref: Component PATHCONF Assertion 5.7.1.4-52(A)&lt;br/&gt;
14:21:04:&lt;br/&gt;
14:21:04:	Test Strategy:&lt;br/&gt;
14:21:04:FOR a regular file, a FIFO (when not testing XNFS) and a terminal file&lt;br/&gt;
14:21:04:(when not testing XNFS)&lt;br/&gt;
14:21:04:  OBTAIN the system value associated with pathconf() and _PC_NAME_MAX&lt;br/&gt;
14:21:04:  VERIFY that pathconf() returned successfully or pathconf() returned&lt;br/&gt;
14:21:04:  -1 and errno was set to EINVAL&lt;br/&gt;
14:21:04:&lt;br/&gt;
14:21:04:	Test Information:&lt;br/&gt;
14:21:04:pathconf(&quot;/dev/pts/0&quot;, _PC_NAME_MAX) did not give correct results&lt;br/&gt;
14:21:04:expected: return value == -1, errno == 22 (EINVAL)&lt;br/&gt;
14:21:04:      OR: return value != -1&lt;br/&gt;
14:21:04:observed: return value == -1, errno == 2 (ENOENT)&lt;/p&gt;</comment>
                            <comment id="41656" author="mdiep" created="Tue, 10 Jul 2012 11:13:11 +0000"  >&lt;p&gt;I&apos;ll try this manually to see if it makes a difference. This is not due to testsuite but posix detect some issue.&lt;/p&gt;</comment>
                            <comment id="41954" author="mdiep" created="Wed, 18 Jul 2012 00:11:25 +0000"  >&lt;p&gt;I have reproduced this manually. This seems like Posix issue&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/2ed77eb4-d077-11e1-aa18-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/2ed77eb4-d077-11e1-aa18-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42323" author="jlevi" created="Thu, 26 Jul 2012 10:00:38 +0000"  >&lt;p&gt;Yu Jian,&lt;br/&gt;
Can you please take a look at this one?&lt;/p&gt;</comment>
                            <comment id="42326" author="yong.fan" created="Thu, 26 Jul 2012 10:04:43 +0000"  >&lt;p&gt;Since Lustre never pass all the POSIX test cases. We need to check whether above failures are new ones or known issues.&lt;/p&gt;</comment>
                            <comment id="42539" author="yujian" created="Wed, 1 Aug 2012 04:46:49 +0000"  >&lt;p&gt;The unlink.6 and write.15 failures are &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;. The readdir.6 failure is &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;. This ticket is used to track pathconf.32 failure.&lt;/p&gt;

&lt;p&gt;I found that while formatting a partition/disk as ext4 filesystem and run POSIX test suite on it to generate baseline, the pathconf.32 test also failed. However, if a loop device is used to be formatted as ext4, the test passed. So, the issue is related to the baseline, not Lustre.&lt;/p&gt;</comment>
                            <comment id="42737" author="jlevi" created="Mon, 6 Aug 2012 12:25:27 +0000"  >&lt;p&gt;This item needs to be added to the release notes.&lt;/p&gt;</comment>
                            <comment id="42799" author="pjones" created="Tue, 7 Aug 2012 03:25:20 +0000"  >&lt;p&gt;Actually, Yujian is working on a fix.&lt;/p&gt;</comment>
                            <comment id="42809" author="yujian" created="Tue, 7 Aug 2012 09:16:32 +0000"  >&lt;p&gt;I just verified again that the same failure also occurred on ext4 filesystem. After updating the LSB-VSX POSIX test suite to disable the terminal file test in pathconf.32, Lustre POSIX compliance testing passed on T.pathconf test set (baseline is ext4):&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/766/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-master/766/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/3df07240-e088-11e1-a388-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/3df07240-e088-11e1-a388-52540035b04c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42874" author="yujian" created="Wed, 8 Aug 2012 10:18:25 +0000"  >&lt;p&gt;The change on LSB-VSX POSIX test suite has been pushed into the toolkit repository. Let&apos;s wait for a successful posix test run performed by autotest and then we can close this ticket as resolved.&lt;/p&gt;</comment>
                            <comment id="42881" author="mdiep" created="Wed, 8 Aug 2012 12:46:39 +0000"  >&lt;p&gt;Yujian, you can verify by doing a yum install posix on any node. If the src include your change, then we are good. If not, please contact Joshua to sync the repo with yum&lt;/p&gt;</comment>
                            <comment id="42898" author="yujian" created="Wed, 8 Aug 2012 19:18:20 +0000"  >&lt;blockquote&gt;&lt;p&gt;Yujian, you can verify by doing a yum install posix on any node. If the src include your change, then we are good. If not, please contact Joshua to sync the repo with yum&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Thanks Minh for this info. I&apos;ve verified this by provisioning Lustre 2.1.3 test nodes and run posix test on them, the posix-1.0-wc1 package contained the new changes and posix test passed:&lt;br/&gt;
&lt;a href=&quot;https://maloo.whamcloud.com/test_sessions/150c92c0-e158-11e1-9a39-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sessions/150c92c0-e158-11e1-9a39-52540035b04c&lt;/a&gt;  &lt;/p&gt;</comment>
                    </comments>
                    <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|hzvdl3:</customfieldvalue>

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