[LU-17057] sanity-sec: test_0: cannot touch, permission denied (x86_64) Created: 28/Aug/23  Updated: 14/Dec/23  Resolved: 13/Dec/23

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Arshad Hussain
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Arshad <arshad.hussain@aeoncomputing.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/3c0f206f-9ab8-4352-bee4-23d4c7b0b2aa

Test session details:
clients: https://build.whamcloud.com/job/lustre-reviews/97252 - 4.18.0-477.15.1.el8_8.x86_64
servers: https://build.whamcloud.com/job/lustre-reviews/97252 - 4.18.0-477.15.1.el8_lustre.x86_64

<<Please provide additional information about the failure here>>

== sanity-sec test 0: uid permission ======================================================================================= 07:47:29 (1693208849)
running as uid/gid/euid/egid 500/500/500/500, groups:
[ls] [/mnt/lustre]
d0.sanity-sec
running as uid/gid/euid/egid 500/500/500/500, groups:
[touch] [/mnt/lustre/f0]
touch: cannot touch '/mnt/lustre/f0': Permission denied
running as uid/gid/euid/egid 500/500/500/500, groups:
[touch] [/mnt/lustre/d0.sanity-sec/f1]
touch: setting times of '/mnt/lustre/d0.sanity-sec/f1': Cannot send after transport endpoint shutdown
sanity-sec test_0: @@@@@@ FAIL: touch (2)
Trace dump:
= /usr/lib64/lustre/tests/test-framework.sh:6662:error()
= /usr/lib64/lustre/tests/sanity-sec.sh:156:test_0()
= /usr/lib64/lustre/tests/test-framework.sh:7002:run_one()
= /usr/lib64/lustre/tests/test-framework.sh:7051:run_one_logged()
= /usr/lib64/lustre/tests/test-framework.sh:6888:run_test()
= /usr/lib64/lustre/tests/sanity-sec.sh:167:main()



 Comments   
Comment by Arshad Hussain [ 28/Aug/23 ]

MDS

[ 1195.730239] Lustre: DEBUG MARKER: mkdir -p /etc/lustre
[ 1196.001177] Lustre: DEBUG MARKER: lctl get_param -N mdt.*MDT*0
[ 1196.267654] Lustre: DEBUG MARKER: lctl get_param -n mdt.lustre-MDT0000.identity_upcall
[ 1196.532960] Lustre: DEBUG MARKER: lctl set_param -n mdt.lustre-MDT0000.identity_upcall /usr/sbin/l_getidentity
[ 1196.797905] Lustre: DEBUG MARKER: lctl set_param -n mdt/lustre-MDT0000/identity_flush=-1
[ 1198.186417] Lustre: DEBUG MARKER: lctl get_param -N mdt.*MDT*2
[ 1198.453737] Lustre: DEBUG MARKER: lctl get_param -n mdt.lustre-MDT0002.identity_upcall
[ 1198.719550] Lustre: DEBUG MARKER: lctl set_param -n mdt.lustre-MDT0002.identity_upcall /usr/sbin/l_getidentity
[ 1198.984024] Lustre: DEBUG MARKER: lctl set_param -n mdt/lustre-MDT0002/identity_flush=-1
[ 1200.474348] Lustre: DEBUG MARKER: /usr/sbin/lctl mark == sanity-sec test 0: uid permission ======================================================================================= 07:47:29 \(1693208849\)
[ 1200.653724] Lustre: DEBUG MARKER: == sanity-sec test 0: uid permission ======================================================================================= 07:47:29 (1693208849)
[ 1200.977257] Lustre: DEBUG MARKER: /usr/sbin/lctl mark  sanity-sec test_0: @@@@@@ FAIL: touch \(2\) 
[ 1201.157115] Lustre: DEBUG MARKER: sanity-sec test_0: @@@@@@ FAIL: touch (2)
Comment by Andreas Dilger [ 17/Nov/23 ]

still failing occasionally:

touch: cannot touch '/mnt/lustre/f0': Permission denied
running as uid/gid/euid/egid 500/500/500/500, groups:
 [touch] [/mnt/lustre/d0.sanity-sec/f1]
touch: setting times of '/mnt/lustre/d0.sanity-sec/f1': Cannot send after transport endpoint shutdown
 sanity-sec test_0: @@@@@@ FAIL: touch (2) 
Comment by Gerrit Updater [ 21/Nov/23 ]

"Arshad Hussain <arshad.hussain@aeoncomputing.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53194
Subject: LU-17057 tests: Fix sanity-sec/0
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: c9b2b7b5f79060402c6e646e56bbdb20948633f3

Comment by Gerrit Updater [ 13/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53194/
Subject: LU-17057 tests: Fix sanity-sec/0
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0b5e252d973e00200660a81f1cdb440f8f4f1886

Comment by Peter Jones [ 13/Dec/23 ]

Landed for 2.16

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