[LU-6772] sanity test_33d: Error in opening file, no such file or directory Created: 29/Jun/15  Updated: 28/Mar/17  Resolved: 19/Sep/15

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.8.0

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Yang Sheng
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for sarah_lw <wei3.liu@intel.com>

This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/683aadc2-1311-11e5-8d21-5254006e85c2.

The sub-test test_33d failed with the following error:

create

test log

== sanity test 33d: openfile with 444 modes and malformed flags under remote dir ===================== 17:50:39 (1434243039)
striped dir -i1 -c2 /mnt/lustre/d33d.sanity
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [O_RDWR] [/mnt/lustre/f33d.sanity]
Error in opening file "/mnt/lustre/f33d.sanity"(flags=O_RDWR) 2: No such file or directory
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [O_RDWR:O_CREAT] [-m] [0444] [/mnt/lustre/d33d.sanity/remote_dir/f33]
Succeed in opening file "/mnt/lustre/d33d.sanity/remote_dir/f33"(flags=O_RDWR, mode=444)
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [O_RDWR:O_CREAT] [-m] [0444] [/mnt/lustre/d33d.sanity/remote_dir/f33]
Error in opening file "/mnt/lustre/d33d.sanity/remote_dir/f33"(flags=O_RDWR, mode=444) 13: Permission denied
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [1286739555] [/mnt/lustre/d33d.sanity/remote_dir/f33]
Succeed in opening file "/mnt/lustre/d33d.sanity/remote_dir/f33"(flags=1286739555)
 sanity test_33d: @@@@@@ FAIL: create 


 Comments   
Comment by Bob Glossman (Inactive) [ 29/Jul/15 ]

another on master:
https://testing.hpdd.intel.com/test_sets/9942e63c-3607-11e5-90a5-5254006e85c2

Comment by Bob Glossman (Inactive) [ 01/Sep/15 ]

another on master:
https://testing.hpdd.intel.com/test_sets/c30a0086-50a1-11e5-95a9-5254006e85c2

sles11sp4 client/server

Comment by Justin Miller [ 03/Sep/15 ]

https://testing.hpdd.intel.com/test_sessions/8deb2c52-527e-11e5-9a74-5254006e85c2

Can be reliably reproduced running sanity.sh on CentOS 7.1 with lustre-master build gfb8e349 with ldisk fstype. 2 MDS, 2 OSS, 2 Client. 2 MDT, 8 OST.

[root@node05 tests]# time ./auster -f multinode -rv -d /opt/results/ sanity --only 33d
...
== sanity test 33d: openfile with 444 modes and malformed flags under remote dir ===================== 13:34:13 (1441305253)
striped dir -i1 -c2 /mnt/testfs/d33d.sanity
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [O_RDWR] [/mnt/testfs/f33d.sanity]
Error in opening file "/mnt/testfs/f33d.sanity"(flags=O_RDWR) 2: No such file or directory
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [O_RDWR:O_CREAT] [-m] [0444] [/mnt/testfs/d33d.sanity/remote_dir/f33]
Succeed in opening file "/mnt/testfs/d33d.sanity/remote_dir/f33"(flags=O_RDWR, mode=444)
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [O_RDWR:O_CREAT] [-m] [0444] [/mnt/testfs/d33d.sanity/remote_dir/f33]
Error in opening file "/mnt/testfs/d33d.sanity/remote_dir/f33"(flags=O_RDWR, mode=444) 13: Permission denied
running as uid/gid/euid/egid 500/500/500/500, groups:
 [openfile] [-f] [1286739555] [/mnt/testfs/d33d.sanity/remote_dir/f33]
Succeed in opening file "/mnt/testfs/d33d.sanity/remote_dir/f33"(flags=1286739555)
 sanity test_33d: @@@@@@ FAIL: create
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:4748:error_noexit()
  = /usr/lib64/lustre/tests/test-framework.sh:4779:error()
  = /usr/lib64/lustre/tests/sanity.sh:2702:test_33d()
  = /usr/lib64/lustre/tests/test-framework.sh:5026:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:5063:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:4880:run_test()
  = /usr/lib64/lustre/tests/sanity.sh:2704:main()
Dumping lctl log to /opt/results//2015-09-03/133326/sanity.test_33d.*.1441305254.log
FAIL 33d (2s)
resend_count is set to 4 4 4 4 4 4 4 4
resend_count is set to 4 4 4 4 4 4 4 4
resend_count is set to 4 4 4 4 4 4 4 4
resend_count is set to 4 4 4 4 4 4 4 4
resend_count is set to 4 4 4 4 4 4 4 4
== sanity test complete, duration 8 sec ============================================================== 13:34:15 (1441305255)
sanity: FAIL: test_33d create
[root@node05 133326]# rpm -qa | grep lustre
lustre-client-modules-2.7.59-3.10.0_229.7.2.el7.x86_64_gfb8e349.x86_64
lustre-client-debuginfo-2.7.59-3.10.0_229.7.2.el7.x86_64_gfb8e349.x86_64
lustre-iokit-2.7.59-3.10.0_229.7.2.el7.x86_64_gfb8e349.x86_64
lustre-client-2.7.59-3.10.0_229.7.2.el7.x86_64_gfb8e349.x86_64
lustre-client-source-2.7.59-3.10.0_229.7.2.el7.x86_64_gfb8e349.x86_64
kernel-3.10.0-229.7.2.el7_lustre.x86_64
lustre-client-tests-2.7.59-3.10.0_229.7.2.el7.x86_64_gfb8e349.x86_64
Comment by Bob Glossman (Inactive) [ 05/Sep/15 ]

another on master:
https://testing.hpdd.intel.com/test_sets/1b3e4d16-536d-11e5-8228-5254006e85c2

Comment by Yang Sheng [ 08/Sep/15 ]

Yang Sheng (yang.sheng@intel.com) uploaded a new patch: http://review.whamcloud.com/16315
Subject: LU-6770 tests: fix malform open in sanity:33d
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5d3250a94a732f366115098f1297cc6ba66d03d4

Comment by Gerrit Updater [ 19/Sep/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16315/
Subject: LU-6772 tests: fix malform open in sanity:33d
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: a541de00ff606c2d53936a588165c6d6db7ca7a2

Comment by Peter Jones [ 19/Sep/15 ]

Landed for 2.8

Generated at Sat Feb 10 02:03:06 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.