[LU-121] yaml.sh and test-framework sometimes attaches the full qualified node name to its output files and sometimes just the first element. Created: 09/Mar/11  Updated: 03/Aug/11  Resolved: 03/Aug/11

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

Type: Bug Priority: Major
Reporter: Chris Gearing (Inactive) Assignee: Chris Gearing (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4950

 Description   

yaml.sh and test-framework.sh sometimes attaches the full qualified node name to its output files and sometimes just the first element. It will do this in the same session meaning half the log ends up in.

x.log

and the other half in

x.y.z.log

yaml.sh needs fixing up to support this, and as it doesn't always know the y.z it should just always use x.log format for filenames.

Note this change does mean the the yml files only have the hostname and the log files have the fully qualified name, but because the yml failes are short lived and only used to send date to Maloo I do not think this is a major issue. The intention is to replace the bash script tools after the 2.1 release and so this stuff should be sorted out then.



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

Integrated in reviews-centos5 #426
LU-121 Fixup yaml.sh so that it only ever uses the first part of the host name for log files.

Chris : 8c460ac7bc0b977e5711e7d9235ed0f45d0b7423
Files :

  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 10/Mar/11 ]

Integrated in reviews-centos5 #427
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : ecd4c006c0c5f4fd6c6832805bc77a246c8be140
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 10/Mar/11 ]

Integrated in reviews-centos5 #428
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 1e4668e1c820b080ad6fa59fd4243a92b71bcd3b
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 11/Mar/11 ]

Integrated in reviews-centos5 #431
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 0e55e23a8a488f90289a5039da53e8606d769961
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
Comment by Chris Gearing (Inactive) [ 14/Mar/11 ]

Yu Jian,

I'll move short_hostname to somewhere that is common, I thought
test_framework would be what with it being the test framework!!

Also how do you test this, do you just create a common logdirectory or
are they move configuration changes.

Thanks

Chris

Comment by Jian Yu [ 05/Apr/11 ]

I'll move short_hostname to somewhere that is common, I thought test_framework would be what with it being the test framework!!

The do_rpc_nodes() is a special function, which is implemented as follows:
do_nodesv $list "${RPATH} NAME=${NAME} sh rpc.sh $@ "

so, only "$RPATH" and "$NAME" were exported to the top-level remote shell. For test-framework.sh, since it's sourced inside the rpc.sh, the top-level remote shell could not use the common variables/functions defined in it.

Also how do you test this, do you just create a common logdirectory or are they move configuration changes.

I just created a common log directory "test_logs" under /home/yujian which was shared among the test nodes, then ran auster with "-d /home/yujian/test_logs" option.

Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el6-i686 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el5-x86_64 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el6-x86_64 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,ubuntu-x86_64 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el6-i686 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el5-i686 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el5-x86_64 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el5-i686 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/auster
  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el6-x86_64 #112
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el6-i686 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el5-x86_64 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el6-x86_64 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/auster
  • lustre/tests/functions.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,ubuntu-x86_64 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el6-i686 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el5-i686 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el5-x86_64 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/auster
  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » server,el6-x86_64 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 07/Apr/11 ]

Integrated in lustre-reviews » client,el5-i686 #114
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Chris : 7c6782244b5bd79510d31c3fb401cf181cb42a09
Files :

  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/auster
  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/auster
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/auster
  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/auster
  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/auster
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
  • lustre/tests/auster
  • lustre/tests/functions.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/auster
  • lustre/tests/functions.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » i686,server,el5,ofa #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/auster
  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/yaml.sh
  • lustre/tests/test-framework.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
  • lustre/tests/test-framework.sh
  • lustre/tests/auster
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » i686,client,el5,ofa #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/functions.sh
  • lustre/tests/auster
  • lustre/tests/yaml.sh
Comment by Build Master (Inactive) [ 20/Jul/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #221
LU-121 Fixup yaml.sh and test-framework.sh so that it only ever uses the first

Oleg Drokin : c2751b31e55518d1791cd5b87adc842f4fbbee83
Files :

  • lustre/tests/test-framework.sh
  • lustre/tests/auster
  • lustre/tests/yaml.sh
  • lustre/tests/functions.sh
Comment by Chris Gearing (Inactive) [ 03/Aug/11 ]

Merged July 20th

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