[LU-10047] sanity test_102d: mkdir -i 2 -c2 /mnt/lustre/d102d.sanity failed Created: 29/Sep/17  Updated: 08/Dec/17  Resolved: 27/Oct/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.11.0, Lustre 2.10.2

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Bob Glossman (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-9476 sanity tests 102d, f, j skipped looki... Resolved
is related to LU-10108 sanity/102d fails due to already-crea... Closed
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for Bob Glossman <bob.glossman@intel.com>

This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/b502a26a-a4a8-11e7-b786-5254006e85c2.

The sub-test test_102d failed with the following error:

mkdir -i 2 -c2 /mnt/lustre/d102d.sanity failed

similar fail also seen on other test_102 subtests
I wonder if this is related to LU-10024.

Info required for matching: sanity 102d



 Comments   
Comment by Bob Glossman (Inactive) [ 29/Sep/17 ]

seen again on master:
https://testing.hpdd.intel.com/test_sets/e974e1f4-a53c-11e7-bb19-5254006e85c2

The fact that it happened more than once is suspicious.
The ones I've seen both happened on el6.9, not el7.
Don't know if this is a cause or not.

No fails like this on other branches, only master.

Comment by Bob Glossman (Inactive) [ 29/Sep/17 ]

When run on el7 the failing tests are skipped with:

lustre-aware tar is not installed

This probably explains why the fail is only seen on el6, not el7.
I strongly suspect it will fail anytime it's run, but it's not run on el7 due to skip test logic.

Comment by John Hammond [ 29/Sep/17 ]

This was introduced by the following change from https://review.whamcloud.com/26212 LU-3308 tests: fix sanity/sanityn test_mkdir() usage.

@@ -7139,12 +7103,12 @@ test_102d() {
        [ -z "$TAR" ] && skip_env "lustre-aware tar is not installed" && return
        [[ $OSTCOUNT -lt 2 ]] && skip_env "needs >= 2 OSTs" && return
        setup_test102
-       test_mkdir -p $DIR/d102d
-       $TAR xf $TMP/f102.tar -C $DIR/d102d --xattrs
-       cd $DIR/d102d/$tdir
+       test_mkdir $DIR/$tdir
+       $TAR xf $TMP/$tfile.tar -C $DIR/$tdir --xattrs
+       cd $DIR/$tdir/$tdir
        compare_stripe_info1
 }
-run_test 102d "tar restore stripe info from tarfile,not keep osts ==========="
+run_test 102d "tar restore stripe info from tarfile,not keep osts"
 
 test_102f() {
        [ $PARALLEL == "yes" ] && skip "skip parallel run" && return

We need the -p option when we call test_mkdir().

Comment by Bob Glossman (Inactive) [ 29/Sep/17 ]

seems like that mod for LU-3308 had a lot of bad side effects. First LU-10024, now LU-10047. wonder if there are more lurking we haven't noticed yet.

Comment by Gerrit Updater [ 29/Sep/17 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: https://review.whamcloud.com/29275
Subject: LU-10047 test: add -p options back into ssnity tests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 909a0e0dae2a4e2322aef38dbfc4333706c32746

Comment by Bob Glossman (Inactive) [ 01/Oct/17 ]

at least one ok test run with the patch shows that it does in fact work.
in https://testing.hpdd.intel.com/test_sessions/b03f80f9-f232-4533-b4ef-cf524a78d332 sanity tests 102d and 102j are run, not skipped, and don't fail.

Comment by Gerrit Updater [ 02/Oct/17 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: https://review.whamcloud.com/29288
Subject: LU-10047 tests: stop skipping test_102 subtests
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: a733b59d139e05623744e0dd9f9a489ca72e4c44

Comment by Bob Glossman (Inactive) [ 02/Oct/17 ]

Possible better fix.
Eliminates unneeded version checks and test_mkdir() calls.

Comment by Gerrit Updater [ 13/Oct/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/29288/
Subject: LU-10047 tests: stop skipping test_102 subtests
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 036641a1e1f6d5d010873267b669528890f19fe4

Comment by Gerrit Updater [ 27/Oct/17 ]

Bob Glossman (bob.glossman@intel.com) uploaded a new patch: https://review.whamcloud.com/29823
Subject: LU-10047 tests: stop skipping test_102 subtests
Project: fs/lustre-release
Branch: b2_10
Current Patch Set: 1
Commit: efbcd788905ae9664a89b70afe378e7b037cacf1

Comment by Gerrit Updater [ 15/Nov/17 ]

John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29823/
Subject: LU-10047 tests: stop skipping test_102 subtests
Project: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: f74cafb93d385e5a425424f7bad4e9b36cc3aad4

Comment by Gerrit Updater [ 27/Nov/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/30251
Subject: LU-10047 backup: add --xattrs-include="trusted.*"
Project: doc/manual
Branch: master
Current Patch Set: 1
Commit: 13355a3bf0f93da891ad5df209f7a77b2bee03eb

Comment by Gerrit Updater [ 08/Dec/17 ]

Joseph Gmitter (joseph.gmitter@intel.com) merged in patch https://review.whamcloud.com/30251/
Subject: LU-10047 backup: add --xattrs-include="trusted.*"
Project: doc/manual
Branch: master
Current Patch Set:
Commit: 9a4924650689205147eec94a52e07093483a1f7a

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