Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ######################################
- Running the CLI command based on click
- ######################################
- [user@functest ~]$ docker exec jose1 functest testcase run barometer -n
- 2017-02-21 18:38:29,674 - run_tests - INFO - ============================================
- 2017-02-21 18:38:29,675 - run_tests - INFO - Running test case 'barometer'...
- 2017-02-21 18:38:29,675 - run_tests - INFO - ============================================
- 2017-02-21 18:38:29,816 - BarometerCollectd - ERROR - Private key file '/home/opnfv/.ssh/id_rsa' not found. Please try to run /home/opnfv/barometer/baro_utils/get_ssh_keys.sh script.
- 2017-02-21 18:38:29,816 - run_tests - ERROR - Private key file '/home/opnfv/.ssh/id_rsa' not found.
- 2017-02-21 18:38:29,816 - run_tests - INFO - Execution exit value: Result.EX_ERROR
- 2017-02-21 18:38:29,872 - functest_utils - ERROR - The command 'python /home/opnfv/repos/functest/functest/ci/run_tests.py -n -t barometer' failed.
- [user@functest ~]$ echo $?
- 0
- ######################################
- Running the python script directly
- ######################################
- [user@functest ~]$ docker exec jose1 python /home/opnfv/repos/functest/functest/ci/run_tests.py -n -t barometer
- 2017-02-21 18:39:02,650 - run_tests - INFO - ============================================
- 2017-02-21 18:39:02,650 - run_tests - INFO - Running test case 'barometer'...
- 2017-02-21 18:39:02,650 - run_tests - INFO - ============================================
- 2017-02-21 18:39:02,734 - BarometerCollectd - ERROR - Private key file '/home/opnfv/.ssh/id_rsa' not found. Please try to run /home/opnfv/barometer/baro_utils/get_ssh_keys.sh script.
- 2017-02-21 18:39:02,734 - run_tests - ERROR - Private key file '/home/opnfv/.ssh/id_rsa' not found.
- 2017-02-21 18:39:02,734 - run_tests - INFO - Execution exit value: Result.EX_ERROR
- [user@functest ~]$ echo $?
- 255
Advertisement
Add Comment
Please, Sign In to add comment