From fe451f30831720101208753827dabbb98a6218c9 Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Tue, 26 Mar 2019 13:57:44 +0000 Subject: [PATCH 1/2] travis: Make nose output more verbose --- tools/scripts/travis_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/travis_tests.sh b/tools/scripts/travis_tests.sh index 5a3ba4f0e..9dca07920 100755 --- a/tools/scripts/travis_tests.sh +++ b/tools/scripts/travis_tests.sh @@ -36,7 +36,7 @@ source init_env || exit 1 set -e echo "Starting nosetests ..." -python3 -m nose +python3 -m nose -vv echo "Available LISA tests:" lisa-test --list -- GitLab From 31b4d86521b5fd8e12d21a3c3e281d809053107e Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Tue, 26 Mar 2019 14:03:45 +0000 Subject: [PATCH 2/2] travis: Do not provide password for host target Giving a password for the host target will make lisa.target.Target assume it is a rooted target, which will trigger a lengthy test that makes Travis timeout because of lack of output for 10min. --- tests/utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/utils.py b/tests/utils.py index 4afd0d59b..79715eb88 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -29,9 +29,6 @@ ASSET_DIR = os.path.join(os.path.dirname(__file__), 'assets') HOST_TARGET_CONF = TargetConf({ 'kind': 'host', - # Travis has a passwordless sudo, so we provide an garbage password since - # sudo will accept anything - 'password': 'foobar', # Don't load cpufreq, it usually won't work with CI targets 'devlib': { 'excluded-modules': ['cpufreq', 'hwmon'], -- GitLab