Skip to contentSkip to conversation

Regarding broken_ip4_version testcase

LTP Manjeet Pawar 2 participants 2 messages Dec 16, 2015 – Dec 21, 2015

lore
Share & tools
lore
#0 lore raw

HI,

I am running broken_ip testcases. I am using below env setting

export NETWORK_DELAY=30
export LTP_RSH="ssh -q -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa -l root"

Testcase:- "broken_ip4_version"
Logs: here (xxx.xxx.xxx.xxx is rhost address)
++ssh -n -q [email protected] 'sh -c '\' ip link set eth0 down || echo RTERR'\'''
<testcase stuck here>

I am not able to proceed after this command. I checked my remote machine, its network is already down when this command executed, but the testcase stuck at this moment and not returning anything. Am I missing anything?
I checked with all my env settings, they are working for rest of the other testcases but not for this category "broken_ip_*).

Thanks
Manjeet
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw

Hi,

Quoted 6 lines · Manjeet Pawar

HI,

I am running broken_ip testcases. I am using below env setting

export NETWORK_DELAY=30
export LTP_RSH="ssh -q -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa -l root"

LTP_RSH is not used in test_net.sh/tst_rhost_run(), which is sourced by broken_ip test group.
So it will be as you wrote below without your private key.

You could try to create alias ssh='ssh -o StrictHostKeyChecking=no -i /root/.ssh/id_rsa'
and then run the test.

Quoted 5 lines

Testcase:- "broken_ip4_version"
Logs: here (xxx.xxx.xxx.xxx is rhost address)
++ssh -n -q [email protected] 'sh -c '\' ip link set eth0 down || echo RTERR'\'''
<testcase stuck here>

requesting a pswd?

Best regards,
Alexey

Also please send any further emails to the following ML:

[email protected]

Quoted 10 lines

I am not able to proceed after this command. I checked my remote machine, its network is already down when this command executed, but the testcase stuck at this moment and not returning anything. Am I missing anything?
I checked with all my env settings, they are working for rest of the other testcases but not for this category "broken_ip_*).
Thanks
Manjeet
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list