Hi, All
When I run "pybot -L TRACE -v TOPOLOGY_PATH:topologies/available/my-csit.yaml
-s eth2p-eth-l2xcbase-func tests"
It failed due to "not found lspci on TG".
I add the code : return_code, _, _ = ssh.exec_command('echo $PATH')
just before cmd = "[[ -f /etc/redhat-release ]]"
in the function install_vpp_on_all_duts in DUTSetup.py.
>From the test log.html, I find the PATH is changed
16:46:20.814 TRACE exec_command on ('172.16.182.75', 22): echo $PATH
16:46:20.989 TRACE exec_command on ('172.16.182.75', 22) took
0.173923015594 seconds
16:46:20.989 TRACE return RC 0
16:46:20.989 TRACE return STDOUT
/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin
16:46:20.989 TRACE return STDERR
After the test finished, I manually login the DUT(172.16.182.75) and run "echo
$PATH", it shows:
[csit@dut1 ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/csit/.local/bin:/home/csit/bin
I wonder why the PATH is changed in CSIT.
What is wrong with my CSIT test bed ?
Thanks a lot !
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9896): https://lists.fd.io/g/vpp-dev/message/9896
Mute This Topic: https://lists.fd.io/mt/23752290/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-