Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report of Lmod_test_suite: bash issue and centos7 needs some treatment #85

Open
fgeorgatos opened this issue May 4, 2017 · 1 comment

Comments

@fgeorgatos
Copy link
Collaborator

fgeorgatos commented May 4, 2017

a Bright login node (centos6):

[fgeorgatos@XXXX-YYY-ZZn01 Lmod_test_suite]$ time tm .
TM Version: 1.7

Starting Tests:

     Started : 20:18:48 tst: 1/5 P/F: 0:0, rt/avail/does_avail_work/t1
      passed : 20:18:48 tst: 1/5 P/F: 1:0, rt/avail/does_avail_work/t1

     Started : 20:18:48 tst: 2/5 P/F: 1:0, rt/int_subshell/does_an_int_subshell_work/t1
        diff : 20:18:49 tst: 2/5 P/F: 1:1, rt/int_subshell/does_an_int_subshell_work/t1

     Started : 20:18:49 tst: 3/5 P/F: 1:1, rt/load/does_load_work/t1
      passed : 20:18:50 tst: 3/5 P/F: 2:1, rt/load/does_load_work/t1

     Started : 20:18:50 tst: 4/5 P/F: 2:1, rt/subshell/does_a_subshell_work/t1
      passed : 20:18:51 tst: 4/5 P/F: 3:1, rt/subshell/does_a_subshell_work/t1

     Started : 20:18:51 tst: 5/5 P/F: 3:1, rt/exist/does_module_exist/t1
      passed : 20:18:51 tst: 5/5 P/F: 4:1, rt/exist/does_module_exist/t1


Finished Tests

**************************************************************************************************************************************************************
*** Test Results                                                                                                                                           ***
**************************************************************************************************************************************************************

Date:             Thu May  4 20:18:48 2017
TARGET:
Tag:              2017_05_04
TM Version:       1.7
Hermes Version:   2.5
Lua Version:      Lua 5.1
Total Test Time:  00:00:03.12

**************************************************************************************************************************************************************
*** Test Summary                                                                                                                                           ***
**************************************************************************************************************************************************************

Total:   5
diff:    1
passed:  4

*******  *  ****   *********                                     ***************
Results  R  Time   Test Name                                     version/message
*******  *  ****   *********                                     ***************
passed   R  0.452  rt/avail/does_avail_work/t1
passed   R  0.457  rt/exist/does_module_exist/t1
passed   R  0.662  rt/load/does_load_work/t1
passed   R  0.836  rt/subshell/does_a_subshell_work/t1
diff     R  0.711  rt/int_subshell/does_an_int_subshell_work/t1

*******  ****************
Results  Output Directory
*******  ****************
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/int_subshell/t1/2017_05_04_20_18_48-Linux-x86_64-does_a_subshell_work


real	0m3.354s
user	0m1.598s
sys	0m0.436s
[fgeorgatos@XXXX-YYY-ZZln01 Lmod_test_suite]$

a Bright centos6 compute node:

[fgeorgatos@node242 ~]$ export PATH=/home/fgeorgatos/arena/Hermes/bin/:$PATH
[fgeorgatos@node242 ~]$ cd arena/Lmod_test_suite/
[fgeorgatos@node242 Lmod_test_suite]$ export PATH=/home/fgeorgatos/arena/Hermes/bin/:$PATH
[fgeorgatos@node242 Lmod_test_suite]$ lsb_release -d
Description:	CentOS release 6.9 (Final)
[fgeorgatos@node242 Lmod_test_suite]$ time tm .
TM Version: 1.7

Starting Tests:

     Started : 20:23:31 tst: 1/5 P/F: 0:0, rt/avail/does_avail_work/t1
      passed : 20:23:31 tst: 1/5 P/F: 1:0, rt/avail/does_avail_work/t1

     Started : 20:23:31 tst: 2/5 P/F: 1:0, rt/int_subshell/does_an_int_subshell_work/t1
        diff : 20:23:32 tst: 2/5 P/F: 1:1, rt/int_subshell/does_an_int_subshell_work/t1

     Started : 20:23:32 tst: 3/5 P/F: 1:1, rt/load/does_load_work/t1
      passed : 20:23:32 tst: 3/5 P/F: 2:1, rt/load/does_load_work/t1

     Started : 20:23:32 tst: 4/5 P/F: 2:1, rt/subshell/does_a_subshell_work/t1
      passed : 20:23:34 tst: 4/5 P/F: 3:1, rt/subshell/does_a_subshell_work/t1

     Started : 20:23:34 tst: 5/5 P/F: 3:1, rt/exist/does_module_exist/t1
      passed : 20:23:34 tst: 5/5 P/F: 4:1, rt/exist/does_module_exist/t1


Finished Tests

**************************************************************************************************************************************************************
*** Test Results                                                                                                                                           ***
**************************************************************************************************************************************************************

Date:             Thu May  4 20:23:30 2017
TARGET:
Tag:              2017_05_04
TM Version:       1.7
Hermes Version:   2.5
Lua Version:      Lua 5.1
Total Test Time:  00:00:03.25

**************************************************************************************************************************************************************
*** Test Summary                                                                                                                                           ***
**************************************************************************************************************************************************************

Total:   5
diff:    1
passed:  4

*******  *  ****   *********                                     ***************
Results  R  Time   Test Name                                     version/message
*******  *  ****   *********                                     ***************
passed   R  0.538  rt/avail/does_avail_work/t1
passed   R  0.362  rt/exist/does_module_exist/t1
passed   R  0.6    rt/load/does_load_work/t1
passed   R  1.12   rt/subshell/does_a_subshell_work/t1
diff     R  0.636  rt/int_subshell/does_an_int_subshell_work/t1

*******  ****************
Results  Output Directory
*******  ****************
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/int_subshell/t1/2017_05_04_20_23_30-Linux-x86_64-does_a_subshell_work


real	0m3.703s
user	0m1.953s
sys	0m0.478s
[fgeorgatos@node242 Lmod_test_suite]$

[fgeorgatos@node242 Lmod_test_suite]$ cat /home/fgeorgatos/arena/Lmod_test_suite/rt/int_subshell/t1/2017_05_04_20_23_30-Linux-x86_64-does_a_subshell_work/t1.log
PATH: /home/fgeorgatos/arena/Hermes/bin:/bin:/usr/bin
in testing .bashrc
sed -e 's/Lua: Version.*/Lua: Version/g' -e 's/suite: Version.*//g' < /home/fgeorgatos/arena/Lmod_test_suite/rt/int_subshell/err.txt > _err.left
sed -e 's/Lua: Version.*/Lua: Version/g' -e 's/suite: Version.*//g' < err.txt > _err.right
diff -c  _err.left _err.right > diff.log 2>&1
[fgeorgatos@node242 Lmod_test_suite]$

a Bright centos7 compute node:

[fgeorgatos@node241 Lmod_test_suite]$ time tm .
TM Version: 1.7

Starting Tests:

     Started : 20:20:22 tst: 1/5 P/F: 0:0, rt/avail/does_avail_work/t1
        diff : 20:20:23 tst: 1/5 P/F: 0:1, rt/avail/does_avail_work/t1

     Started : 20:20:23 tst: 2/5 P/F: 0:1, rt/int_subshell/does_an_int_subshell_work/t1
        diff : 20:20:23 tst: 2/5 P/F: 0:2, rt/int_subshell/does_an_int_subshell_work/t1

     Started : 20:20:23 tst: 3/5 P/F: 0:2, rt/load/does_load_work/t1
        diff : 20:20:24 tst: 3/5 P/F: 0:3, rt/load/does_load_work/t1

     Started : 20:20:24 tst: 4/5 P/F: 0:3, rt/subshell/does_a_subshell_work/t1
        diff : 20:20:25 tst: 4/5 P/F: 0:4, rt/subshell/does_a_subshell_work/t1

     Started : 20:20:25 tst: 5/5 P/F: 0:4, rt/exist/does_module_exist/t1
        diff : 20:20:26 tst: 5/5 P/F: 0:5, rt/exist/does_module_exist/t1


Finished Tests

**************************************************************************************************************************************************************
*** Test Results                                                                                                                                           ***
**************************************************************************************************************************************************************

Date:             Thu May  4 20:20:22 2017
TARGET:
Tag:              2017_05_04
TM Version:       1.7
Hermes Version:   2.5
Lua Version:      Lua 5.1
Total Test Time:  00:00:04.06

**************************************************************************************************************************************************************
*** Test Summary                                                                                                                                           ***
**************************************************************************************************************************************************************

Total:   5
diff:    5

*******  *  ****   *********                                     ***************
Results  R  Time   Test Name                                     version/message
*******  *  ****   *********                                     ***************
diff     R  0.797  rt/avail/does_avail_work/t1
diff     R  0.529  rt/exist/does_module_exist/t1
diff     R  0.869  rt/int_subshell/does_an_int_subshell_work/t1
diff     R  0.675  rt/load/does_load_work/t1
diff     R  1.19   rt/subshell/does_a_subshell_work/t1

*******  ****************
Results  Output Directory
*******  ****************
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/2017_05_04_20_20_22-Linux-x86_64-does_avail_work
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/exist/t1/2017_05_04_20_20_22-Linux-x86_64-does_module_exist
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/int_subshell/t1/2017_05_04_20_20_22-Linux-x86_64-does_a_subshell_work
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/load/t1/2017_05_04_20_20_22-Linux-x86_64-does_load_work
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/subshell/t1/2017_05_04_20_20_22-Linux-x86_64-does_a_subshell_work


real	0m4.533s
user	0m2.255s
sys	0m1.143s
[fgeorgatos@node241 Lmod_test_suite]$

ps. the centos7 issue is possibly a local ssh tuning aspect; T.B.D. / will dive into it later

@fgeorgatos
Copy link
Collaborator Author

it's clear now to me now that there is a poor interaction between Bright's provided rpm for ssh slave:

[fgeorgatos@node046 Lmod_test_suite]$ rpm -qf /etc/profile.d/ssh.sh
cm-config-ssh-slave-7.0-44_cm7.0.noarch

and Hermes testing framework - I put down here so that it gets noted and handled at next round:

[fgeorgatos@node046 Lmod_test_suite]$ grep diff testreports/x86_64_06_2d/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64.tm
diff:    5
diff     R  1.84   rt/avail/does_avail_work/t1
diff     R  1.01   rt/exist/does_module_exist/t1
diff     R  1.62   rt/int_subshell/does_an_int_subshell_work/t1
diff     R  0.977  rt/load/does_load_work/t1
diff     R  1.36   rt/subshell/does_a_subshell_work/t1
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/exist/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_module_exist
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/int_subshell/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_a_subshell_work
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/load/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_load_work
diff     /home/fgeorgatos/arena/Lmod_test_suite/rt/subshell/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_a_subshell_work
      ["result"] = "diff",
      ["result"] = "diff",
      ["result"] = "diff",
      ["result"] = "diff",
      ["result"] = "diff",
[fgeorgatos@node046 Lmod_test_suite]$ ll /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/*err*
-rw-r--r-- 1 fgeorgatos Forest_Users  277 Sep  5 23:21 /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/_err.left
-rw-r--r-- 1 fgeorgatos Forest_Users  670 Sep  5 23:21 /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/_err.right
-rw-r--r-- 1 fgeorgatos Forest_Users  743 Sep  5 23:21 /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/err.txt
-rw-r--r-- 1 fgeorgatos Forest_Users 1537 Sep  5 23:21 /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/_stderr.orig
[fgeorgatos@node046 Lmod_test_suite]$ cat /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/_stderr.orig
open /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/.ssh/id_dsa failed: No such file or directory.
/etc/profile.d/ssh.sh: line 6: /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/.ssh/authorized_keys: No such file or directory
chmod: cannot access ‘/home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/.ssh/authorized_keys’: No such file or directory
chmod: cannot access ‘/home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/.ssh/id_dsa’: No such file or directory
chmod: cannot access ‘/home/fgeorgatos/arena/Lmod_test_suite/rt/avail/t1/x86_64_06_2d-2017_09_05_23_21_33-Linux-x86_64-does_avail_work/.ssh/id_dsa.pub’: No such file or directory
Lmod test suite: Version 1.5 2017-04-28 21:00 -05:00

Modules based on Lua: Version 7.6.3  2017-08-07 14:52 -05:00
    by Robert McLay [email protected]


------------------------------------------------------------------------------------------------------------------------- /home/fgeorgatos/arena/Lmod_test_suite/rt/avail/mf/Core --------------------------------------------------------------------------------------------------------------------------
   A/1.0    B/2.0

Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".


[fgeorgatos@node046 Lmod_test_suite]$

@fgeorgatos fgeorgatos added this to the Lmod-Validated milestone Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant