[LU-691] sanity test_133c defect Created: 20/Sep/11  Updated: 22/Dec/12  Resolved: 28/Mar/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.0.0, Lustre 1.8.6
Fix Version/s: Lustre 2.2.0, Lustre 2.1.4, Lustre 1.8.8

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Bugzilla ID: 24,504
Rank (Obsolete): 4078

 Description   

check_stats() {
ost) res=`do_facet ost0 $LCTL

facet ost0 does not exist;

sanity does not fail each time because of the usual configuration used is : 1 oss, i.e. ost_HOST is
set, and facet_host () sets ost1_HOST = ost_HOST :

facet_host() {
local facet=$1

[ "$facet" == client ] && echo -n $HOSTNAME && return
varname=${facet}_HOST
if [ -z "${!varname}" ]; then
if [ "${facet:0:3}" == "ost" ]; then
eval ${facet}_HOST=${ost_HOST}

sanity test_133c fails on configuration with the number of oss-es >1, or if ost1_HOST is set instead
of ost_HOST.

== test 133c: Verifying OST stats ======================================== == 18:06:29 (1304035589)
mds.lustre-MDT0000.stats=clear
error: set_param: /proc/

{fs,sys}/{lnet,lustre}/obdfilter/*/stats: Found no match
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.0171929 seconds, 61.0 MB/s
error: get_param: /proc/{fs,sys}

/

{lnet,lustre}

/obdfilter/lustre-OST0000/stats: Found no match

sanity test_133c: @@@@@@ FAIL: The counter for write on ost was not incremented



 Comments   
Comment by James A Simmons [ 26/Sep/11 ]

That is not the only test with this problem. I had a patch attachment 32621 to address this for bugzilla 14929. I can update the patch and include a fix for this test as well.

Comment by James A Simmons [ 26/Sep/11 ]

I pushed the below patch which I have been using to address this problem. Please give it try on your end. The patch is against master.

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

Comment by Jian Yu [ 30/Sep/11 ]

Thanks James for the patch!
I just ported it to the Lustre b1_8 branch: http://review.whamcloud.com/1450.

Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » x86_64,client,el6,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/llog-test.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » x86_64,client,ubuntu1004,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » i686,client,el6,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » i686,server,el5,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/lfsck.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/sanity.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » i686,client,el5,ofa #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/sanity.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » i686,client,el5,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » x86_64,client,el5,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » x86_64,client,el5,ofa #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/llog-test.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » i686,server,el5,ofa #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » x86_64,server,el5,inkernel #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
Comment by Build Master (Inactive) [ 09/Nov/11 ]

Integrated in lustre-b1_8 » x86_64,server,el5,ofa #154
LU-691 fix OST index errors in test suite - sanity 133c defect (Revision 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3)

Result = SUCCESS
Johann Lombardi : 89cdb936a3c1eac99bf69ea27bb3b794a3838eb3
Files :

  • lustre/tests/llog-test.sh
  • lustre/tests/sanity.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
Comment by Jian Yu [ 12/Nov/11 ]

The patches have been pushed to both b1_8 and master branch. Issue is resolved.

Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/lfsck.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/lfsck.sh
  • lustre/tests/sanity.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/replay-single.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/lfsck.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/lfsck.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » i686,server,el5,ofa #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/sanity.sh
  • lustre/tests/llog-test.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/sanity.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/replay-single.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » i686,client,el5,ofa #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/replay-single.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/lfsck.sh
  • lustre/tests/sanity.sh
Comment by Build Master (Inactive) [ 12/Nov/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #354
LU-691 Fix OST index errors in test suite - sanity 133c defect (Revision 8afd35ce1073f52b45ddfe46164ac90c47288d3c)

Result = SUCCESS
Oleg Drokin : 8afd35ce1073f52b45ddfe46164ac90c47288d3c
Files :

  • lustre/tests/lfsck.sh
  • lustre/tests/replay-single.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/llog-test.sh
  • lustre/tests/sanity.sh
Generated at Sat Feb 10 01:09:30 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.