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

[FVT]Update nodeset_cmdline test case #2442

Closed
caomengmeng opened this issue Jan 24, 2017 · 3 comments
Closed

[FVT]Update nodeset_cmdline test case #2442

caomengmeng opened this issue Jan 24, 2017 · 3 comments

Comments

@caomengmeng
Copy link
Contributor

@junxiawang please help to update nodeset_cmdline case for below fail point. It can be reproduced.
ENV: rh6.8 X86
Failed case: nodeset_cmdline
Details:

------START:nodeset_cmdline::Time:Mon Jan 23 13:51:08 2017------
FILENAME:/opt/xcat/share/xcat/tools/autotest/testcase/genesis/cases0

RUN:perl /opt/xcat/share/xcat/tools/autotest/testcase/genesis/genesistest.pl  -n c910f03fsp03v04  -g

[perl /opt/xcat/share/xcat/tools/autotest/testcase/genesis/genesistest.pl  -n c910f03fsp03v04  -g] Running Time:3 sec
RETURN rc = 0
OUTPUT:
CHECK:rc == 0	[Pass]

RUN:perl /opt/xcat/share/xcat/tools/autotest/testcase/genesis/genesistest.pl -n c910f03fsp03v04 -d

[perl /opt/xcat/share/xcat/tools/autotest/testcase/genesis/genesistest.pl -n c910f03fsp03v04 -d] Running Time:1230 sec
RETURN rc = 1
OUTPUT:
value is 1 
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
Error: Caught SIGINT - terminating the child processes.
Error:  A return code for the command run on the host c910f03fsp03v04 was not received.
c910f03fsp03v04: ssh: connect to host c910f03fsp03v04 port 22: Connection refused

c910f03fsp03v04: ssh: connect to host c910f03fsp03v04 port 22: Connection refused

c910f03fsp03v04: ssh: connect to host c910f03fsp03v04 port 22: Connection refused

c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
c910f03fsp03v04: cat: /tmp/testresult: No such file or directory
.......

CHECK:rc == 0	[Failed]

RUN:perl /opt/xcat/share/xcat/tools/autotest/testcase/genesis/genesistest.pl  -n c910f03fsp03v04 -c

[perl /opt/xcat/share/xcat/tools/autotest/testcase/genesis/genesistest.pl  -n c910f03fsp03v04 -c] Running Time:42 sec
RETURN rc = 0
OUTPUT:
------END::nodeset_cmdline::Failed::Time:Mon Jan 23 14:12:23 2017 ::Duration::1275 sec------
@junxiawang
Copy link
Contributor

I rerun the testcase but could not reproduce ,and I will add debug information to get the root cause for this case failed.

@tingtli
Copy link
Contributor

tingtli commented Feb 23, 2017

@caomengmeng please take a look and see if it should be closed

@whowutwut whowutwut modified the milestones: 2.13.2, 2.13.3 Mar 1, 2017
@zet809 zet809 modified the milestones: 2.13.4, 2.13.3 Mar 21, 2017
@zet809 zet809 added the sprint1 label Mar 21, 2017
@hu-weihua
Copy link

hu-weihua commented Mar 26, 2017

@junxiawang , we need to put effort to make your three cases (nodeset_shell ,nodeset_cmdline and nodeset_runimg) stably and reliably.

Not matter these cases is successful or failed, the error message listed by @caomengmeng above will always flash the log of auto test. You can't just rerun the cases in your own development environment, we need to face these error.

I think there are coding problem in your file genesistest.pl. I tried to read your code, it is very hard to debug. I really don't recommend to call function like your below way

  115     if (&testxdsh(&rungenesiscmd(&get_arch))) {

There is not way to debug if there is something goes wrong.

So please refine these cases in 2.13.4 sprint 1 by asking help from @zet809 . thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants