[LU-321] Don't assume file system name for some test in the lustre test suite Created: 13/May/11  Updated: 12/Aug/11  Resolved: 12/Aug/11

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Minor
Reporter: James A Simmons Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None
Environment:

Lustre 2.X and 1.8.X


Severity: 3
Rank (Obsolete): 4920

 Description   

Some of the test in the lustre test suite assume the file system name is lustre
which is not always the case.



 Comments   
Comment by Andreas Dilger [ 13/May/11 ]

Note that some of the tests in conf-sanity.sh hard-code "lustre" as the fsname because they create a new test filesystem using that name, or they use a filesystem image with the fsname already formatted in the image.

Comment by James A Simmons [ 13/May/11 ]

My first run at this patch broken conf-sanity. Looking at

http://review.whamcloud.com/#change,253

I alone address this issue in the sanity.sh and ost-pool.sh test.

Comment by Peter Jones [ 25/May/11 ]

Yu Jian

I would welcome your input on this issue when your time permits

Thanks

Peter

Comment by Jian Yu [ 26/Jul/11 ]

Note that some of the tests in conf-sanity.sh hard-code "lustre" as the fsname because they create a new test filesystem using that name, or they use a filesystem image with the fsname already formatted in the image.

Yes, they are conf-sanity test 32a and 32b. The $LUSTRE/tests/disk1_8.tar.bz2 contains the mds and ost images which were formatted with fsname "lustre". So, we should not change the "lustre" to "$FSNAME" in those two tests. I just checked that they passed with "FSNAME=testfs" on master branch: https://maloo.whamcloud.com/test_sets/360d9620-b785-11e0-8bdf-52540025f9af

After looking through the test suite, James' patch has covered all of the cases.

Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » i686,server,el5,ofa #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » i686,client,el5,ofa #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/ost-pools.sh
Comment by Build Master (Inactive) [ 11/Aug/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #252
LU-321 Don't assume file system name for some test

Oleg Drokin : 98aa568197c9eeb9e0348a08a59d12f2afb5d9b0
Files :

  • lustre/tests/ost-pools.sh
  • lustre/tests/sanity.sh
Comment by Jian Yu [ 12/Aug/11 ]

Patch has been landed on master branch.
Since b1_8 branch does not have sanity test 33c "test llobdstat and write_bytes", we do not need make a patch for it.

Generated at Sat Feb 10 01:05:52 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.