From ef45702e696bcf16c615c9b10c665609485212b4 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 21:45:31 +0200 Subject: [PATCH 01/15] Try travis workaround. --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 60617b9dc1..59def601e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,8 @@ cache: #- .tox/ before_install: + # Work around for apt Travis timeout issues, see https://github.com/travis-ci/travis-ci/issues/9112 + - sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60 - pip install --upgrade "pip>=19.0,<20.0" - sudo pip install --upgrade "virtualenv==16.6.0" From af25093f1ce8df938988c1a7458d1cd0bacb3174 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 21:55:50 +0200 Subject: [PATCH 02/15] Try using bash commands instead of apt addon. --- .travis.yml | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 59def601e3..82150bb701 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,25 +62,27 @@ matrix: python: 3.6 name: "Integration Tests (Python 3.6)" -addons: - apt: - sources: - - mongodb-upstart - - sourceline: 'deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse' - key_url: 'https://www.mongodb.org/static/pgp/server-3.4.asc' - # NOTE: Precise repo doesn't contain Erlang 20.x, latest version is 19.x so we need to use RabbitMQ 3.7.6 - #- sourceline: 'deb [arch=amd64] http://packages.erlang-solutions.com/ubuntu precise contrib' - # key_url: 'https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc' - #- sourceline: 'deb [arch=amd64] https://dl.bintray.com/rabbitmq/debian precise rabbitmq-server-v3.6.x' - # key_url: 'https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc' - - sourceline: 'ppa:git-core/ppa' - packages: - - mongodb-org-server - - mongodb-org-shell - - erlang - - rabbitmq-server - - git - - libffi-dev +# APT addon has been broken since 16.08.2019 and timing out on +# travis_apt_get_update step +#addons: +# apt: +# sources: +# - mongodb-upstart +# - sourceline: 'deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse' +# key_url: 'https://www.mongodb.org/static/pgp/server-3.4.asc' +# # NOTE: Precise repo doesn't contain Erlang 20.x, latest version is 19.x so we need to use RabbitMQ 3.7.6 +# #- sourceline: 'deb [arch=amd64] http://packages.erlang-solutions.com/ubuntu precise contrib' +# # key_url: 'https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc' +# #- sourceline: 'deb [arch=amd64] https://dl.bintray.com/rabbitmq/debian precise rabbitmq-server-v3.6.x' +# # key_url: 'https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc' +# - sourceline: 'ppa:git-core/ppa' +# packages: +# - mongodb-org-server +# - mongodb-org-shell +# - erlang +# - rabbitmq-server +# - git +# - libffi-dev cache: pip: true @@ -95,8 +97,14 @@ cache: #- .tox/ before_install: - # Work around for apt Travis timeout issues, see https://github.com/travis-ci/travis-ci/issues/9112 - - sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60 + # 1. Install MongoDB 3.4 and latest version of git + - sudo add-apt-repository -y ppa:git-core/ppa + - curl https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - + - echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee -a /etc/apt/sources.list + # 2. Install RabbitMQ server + # Work around for Travis timeout issues, see https://github.com/travis-ci/travis-ci/issues/9112 + - sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60" + - sudo apt-get install mongodb-org-server mongodb-org-shell erlang rabbitmq-server git libffi-dev -y - pip install --upgrade "pip>=19.0,<20.0" - sudo pip install --upgrade "virtualenv==16.6.0" From a37f326f00211bfd44ba67bd1aa7d451e963229f Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 22:06:08 +0200 Subject: [PATCH 03/15] Try another workaround. --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 82150bb701..ced3d3587d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -102,8 +102,9 @@ before_install: - curl https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - - echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee -a /etc/apt/sources.list # 2. Install RabbitMQ server - # Work around for Travis timeout issues, see https://github.com/travis-ci/travis-ci/issues/9112 - - sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60" + # Work around for Travis timeout issues and apt-get getting stuck on waiting for headers, see https://github.com/travis-ci/travis-ci/issues/9112 + - sudo apt-get clean + - sudo apt-get update --option Acquire::ForceIPv4=true --option Acquire::Retries=100 --option Acquire::http::Timeout="60" - sudo apt-get install mongodb-org-server mongodb-org-shell erlang rabbitmq-server git libffi-dev -y - pip install --upgrade "pip>=19.0,<20.0" - sudo pip install --upgrade "virtualenv==16.6.0" From 0adcb6efd48967179bbad1034930509a7cdbd548 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 22:11:10 +0200 Subject: [PATCH 04/15] Try another workaround. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index ced3d3587d..3d364ebaf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -104,6 +104,10 @@ before_install: # 2. Install RabbitMQ server # Work around for Travis timeout issues and apt-get getting stuck on waiting for headers, see https://github.com/travis-ci/travis-ci/issues/9112 - sudo apt-get clean + - cd /var/lib/apt + - sudo mv lists lists.old + - sudo mkdir -p lists/partial + - sudo apt-get clean - sudo apt-get update --option Acquire::ForceIPv4=true --option Acquire::Retries=100 --option Acquire::http::Timeout="60" - sudo apt-get install mongodb-org-server mongodb-org-shell erlang rabbitmq-server git libffi-dev -y - pip install --upgrade "pip>=19.0,<20.0" From be0baa9a9e2231ff2bb576c6ff91acd4486a4abe Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 22:22:36 +0200 Subject: [PATCH 05/15] Don't use cd, update comments. --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3d364ebaf4..cbad2e2270 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,18 +97,18 @@ cache: #- .tox/ before_install: - # 1. Install MongoDB 3.4 and latest version of git + # Add MongoDB and git apt repos - sudo add-apt-repository -y ppa:git-core/ppa - curl https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - - echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee -a /etc/apt/sources.list - # 2. Install RabbitMQ server - # Work around for Travis timeout issues and apt-get getting stuck on waiting for headers, see https://github.com/travis-ci/travis-ci/issues/9112 + # Work around for Travis timeout issues and apt-get getting stuck on waiting for headers, see: + # https://github.com/travis-ci/travis-ci/issues/9112 - sudo apt-get clean - - cd /var/lib/apt - - sudo mv lists lists.old - - sudo mkdir -p lists/partial + - sudo mv /var/lib/apt/lists /var/lib/apt/lists.old + - sudo mkdir -p /var/lib/apt/lists/partial - sudo apt-get clean - sudo apt-get update --option Acquire::ForceIPv4=true --option Acquire::Retries=100 --option Acquire::http::Timeout="60" + # Install MongoDB 3.4, RabbitMQ and latest version of git - sudo apt-get install mongodb-org-server mongodb-org-shell erlang rabbitmq-server git libffi-dev -y - pip install --upgrade "pip>=19.0,<20.0" - sudo pip install --upgrade "virtualenv==16.6.0" From 1f0a182cbb4a7baf3b71aefeed77e44afe5b72bb Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 23:39:46 +0200 Subject: [PATCH 06/15] Try using https transport. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cbad2e2270..48e5a28317 100644 --- a/.travis.yml +++ b/.travis.yml @@ -98,9 +98,10 @@ cache: before_install: # Add MongoDB and git apt repos + - sudo apt-get install -y apt-transport-https - sudo add-apt-repository -y ppa:git-core/ppa - curl https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - - - echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee -a /etc/apt/sources.list + - echo "deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee -a /etc/apt/sources.list # Work around for Travis timeout issues and apt-get getting stuck on waiting for headers, see: # https://github.com/travis-ci/travis-ci/issues/9112 - sudo apt-get clean From 1d7b867d8a1c4948e9f510c66500acb37b23f0b3 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 23:44:44 +0200 Subject: [PATCH 07/15] Try using xenial. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 48e5a28317..014b6d0ffa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ # http://docs.travis-ci.com/user/workers/standard-infrastructure/ sudo: required # NOTE: We use precise because tests finish faster than on Xenial -dist: precise +dist: xenial language: python branches: From aef0f51f20eadaab9b9acdf818f24b3cab5ebe5a Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Tue, 20 Aug 2019 23:47:45 +0200 Subject: [PATCH 08/15] Recent enough version of git is already available on xenial so we don't need to add git ppa and install latest git version. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 014b6d0ffa..f6f8496096 100644 --- a/.travis.yml +++ b/.travis.yml @@ -99,7 +99,9 @@ cache: before_install: # Add MongoDB and git apt repos - sudo apt-get install -y apt-transport-https - - sudo add-apt-repository -y ppa:git-core/ppa + # NOTE: xenial already ships with git version which is recent enough for content_version functionality + # - sudo add-apt-repository -y ppa:git-core/ppa + # - sudo apt-get install -y git - curl https://www.mongodb.org/static/pgp/server-3.4.asc | sudo apt-key add - - echo "deb [arch=amd64] https://repo.mongodb.org/apt/ubuntu precise/mongodb-org/3.4 multiverse" | sudo tee -a /etc/apt/sources.list # Work around for Travis timeout issues and apt-get getting stuck on waiting for headers, see: @@ -110,7 +112,7 @@ before_install: - sudo apt-get clean - sudo apt-get update --option Acquire::ForceIPv4=true --option Acquire::Retries=100 --option Acquire::http::Timeout="60" # Install MongoDB 3.4, RabbitMQ and latest version of git - - sudo apt-get install mongodb-org-server mongodb-org-shell erlang rabbitmq-server git libffi-dev -y + - sudo apt-get install mongodb-org-server mongodb-org-shell erlang rabbitmq-server libffi-dev -y - pip install --upgrade "pip>=19.0,<20.0" - sudo pip install --upgrade "virtualenv==16.6.0" From aded33bb978445a36d971ea6931a49fc67e30b6b Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 21 Aug 2019 21:49:12 +0200 Subject: [PATCH 09/15] Also pass --exe flag to orquesta itests run. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 26364cec39..24c2bf75ba 100644 --- a/Makefile +++ b/Makefile @@ -690,7 +690,7 @@ endif @echo . $(VIRTUALENV_DIR)/bin/activate; \ COVERAGE_FILE=.coverage.integration.orquesta \ - nosetests $(NOSE_OPTS) -s -v \ + nosetests $(NOSE_OPTS) -s -v --exe \ $(NOSE_COVERAGE_FLAGS) $(NOSE_COVERAGE_PACKAGES) st2tests/integration/orquesta || exit 1; \ From 72032aa29644db9483c2c53934e18c267eee2138 Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 16 Sep 2019 17:21:25 -0700 Subject: [PATCH 10/15] Double command timeouts for Xenial --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6f8496096..7dd491accb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,10 +32,10 @@ matrix: # job which also includes "make requirements" and other steps # "make requirements" can take substantially lower if the cache is purged # and this would cause too many intermediate failures / false positives - - env: TASK=ci-unit CACHE_NAME=py2 COMMAND_THRESHOLD=700 + - env: TASK=ci-unit CACHE_NAME=py2 COMMAND_THRESHOLD=1400 python: 2.7 name: "Unit Tests (Python 2.7 MongoDB 3.4)" - #- env: TASK=ci-unit CACHE_NAME=py2 COMMAND_THRESHOLD=700 + #- env: TASK=ci-unit CACHE_NAME=py2 COMMAND_THRESHOLD=1400 #python: 2.7 #name: "Unit Tests (Python 2.7 MongoDB 3.6)" #addons: @@ -49,16 +49,16 @@ matrix: # - mongodb-org-server # - mongodb-org-shell # - git - - env: TASK=ci-integration CACHE_NAME=py2 COMMAND_THRESHOLD=700 + - env: TASK=ci-integration CACHE_NAME=py2 COMMAND_THRESHOLD=1400 python: 2.7 name: "Integration Tests (Python 2.7)" - - env: TASK="ci-checks ci-packs-tests" CACHE_NAME=py2 COMMAND_THRESHOLD=280 + - env: TASK="ci-checks ci-packs-tests" CACHE_NAME=py2 COMMAND_THRESHOLD=560 python: 2.7 name: "Lint Checks, Packs Tests (Python 2.7)" - - env: TASK="compilepy3 ci-py3-unit" CACHE_NAME=py3 COMMAND_THRESHOLD=680 + - env: TASK="compilepy3 ci-py3-unit" CACHE_NAME=py3 COMMAND_THRESHOLD=1360 python: 3.6 name: "Unit Tests, Pack Tests (Python 3.6)" - - env: TASK="ci-py3-integration" CACHE_NAME=py3 COMMAND_THRESHOLD=310 + - env: TASK="ci-py3-integration" CACHE_NAME=py3 COMMAND_THRESHOLD=620 python: 3.6 name: "Integration Tests (Python 3.6)" From ebafe0c1190ffa6a29d7cdf5585bd4b846593555 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 30 Oct 2019 08:14:06 +0100 Subject: [PATCH 11/15] Add debug code so we can see why it fails on travis. --- contrib/core/tests/test_action_sendmail.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/core/tests/test_action_sendmail.py b/contrib/core/tests/test_action_sendmail.py index 6881a59b42..353c850fe4 100644 --- a/contrib/core/tests/test_action_sendmail.py +++ b/contrib/core/tests/test_action_sendmail.py @@ -66,7 +66,11 @@ def test_sendmail_default_text_html_content_type(self): 'This message was generated by StackStorm action ' 'send_mail running on %s' % (HOSTNAME)) - status, _, email_data, message = self._run_action(action_parameters=action_parameters) + status, result, email_data, message = self._run_action(action_parameters=action_parameters) + print(status) + print(result) + print(email_data) + print(message) self.assertEquals(status, action_constants.LIVEACTION_STATUS_SUCCEEDED) # Verify subject contains utf-8 charset and is base64 encoded From 624efa3bfb3e1b9eac6ad59eef84f7e042bf61a6 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 30 Oct 2019 08:41:54 +0100 Subject: [PATCH 12/15] We also need permissions workaround for pack tests. --- Makefile | 6 +++++- scripts/travis/permissions-workaround.sh | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100755 scripts/travis/permissions-workaround.sh diff --git a/Makefile b/Makefile index eae26531b5..3c9de9004d 100644 --- a/Makefile +++ b/Makefile @@ -1005,6 +1005,10 @@ ci-unit-nightly: .ci-prepare-integration: sudo -E ./scripts/travis/prepare-integration.sh +.PHONE: .ci-travis-permissions-workaround +.ci-travis-permissions-workaround: + sudo -E ./scripts/travis/permissions-workaround.sh + .PHONY: ci-integration ci-integration: .ci-prepare-integration .itests-coverage-html @@ -1022,4 +1026,4 @@ ci-mistral: .ci-prepare-integration .ci-prepare-mistral .mistral-itests-coverage ci-orquesta: .ci-prepare-integration .orquesta-itests-coverage-html .PHONY: ci-packs-tests -ci-packs-tests: .packs-tests +ci-packs-tests: .ci-travis-permissions-workaround .packs-tests diff --git a/scripts/travis/permissions-workaround.sh b/scripts/travis/permissions-workaround.sh new file mode 100755 index 0000000000..627b2a2ec3 --- /dev/null +++ b/scripts/travis/permissions-workaround.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +set -e + +if [ "$(whoami)" != 'root' ]; then + echo 'Please run with sudo' + exit 2 +fi + +UBUNTU_VERSION=`lsb_release -a 2>&1 | grep Codename | grep -v "LSB" | awk '{print $2}'` + +# Workaround for Travis on Ubuntu Xenial so local runner integration tests work +# when executing them under user "stanley" (by default Travis checks out the +# code and runs tests under a different system user). +# NOTE: We need to pass "--exe" flag to nosetests when using this workaround. +if [ "${UBUNTU_VERSION}" == "xenial" ]; then + echo "Applying workaround for stanley user permissions issue to /home/travis on Xenial" + chmod 777 -R /home/travis +fi From f58f680cae32e05bdbe2fe2a1edaf974459f3a74 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 30 Oct 2019 09:15:57 +0100 Subject: [PATCH 13/15] Test a change to see if it speeds up tests. --- st2common/st2common/transport/bootstrap_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/st2common/st2common/transport/bootstrap_utils.py b/st2common/st2common/transport/bootstrap_utils.py index 63ed900a85..f3f8e64214 100644 --- a/st2common/st2common/transport/bootstrap_utils.py +++ b/st2common/st2common/transport/bootstrap_utils.py @@ -105,7 +105,8 @@ def _do_register_exchange(exchange, connection, channel, retry_wrapper): kwargs = { 'exchange': exchange.name, 'type': exchange.type, - 'durable': exchange.durable, + 'durable': False, + 'delivery_mode': 1, # transient 'auto_delete': exchange.auto_delete, 'arguments': exchange.arguments, 'nowait': False, From fac82c65722349239f01b3f8523205cce3b4a2c0 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 30 Oct 2019 09:19:03 +0100 Subject: [PATCH 14/15] Also need permissions workaround for Travis Python 3 pack tests. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3c9de9004d..c60204f2ff 100644 --- a/Makefile +++ b/Makefile @@ -940,7 +940,7 @@ ci: ci-checks ci-unit ci-integration ci-mistral ci-packs-tests ci-checks: compile .generated-files-check .pylint .flake8 check-requirements .st2client-dependencies-check .st2common-circular-dependencies-check circle-lint-api-spec .rst-check .st2client-install-check check-python-packages .PHONY: ci-py3-unit -ci-py3-unit: +ci-py3-unit: .ci-travis-permissions-workaround @echo @echo "==================== ci-py3-unit ====================" @echo From 4670174a3fcb493aed820c76d43e210d7df8fb57 Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 30 Oct 2019 09:38:23 +0100 Subject: [PATCH 15/15] Add --exe flag which is needed because of Travis Xenial workaround. --- tox.ini | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/tox.ini b/tox.ini index 3832b40c02..2e8b211b61 100644 --- a/tox.ini +++ b/tox.ini @@ -30,25 +30,25 @@ deps = virtualenv -e{toxinidir}/st2client -e{toxinidir}/st2common commands = - nosetests --rednose --immediate -sv st2actions/tests/unit/ - nosetests --rednose --immediate -sv st2auth/tests/unit/ - nosetests --rednose --immediate -sv st2api/tests/unit/controllers/v1/ - nosetests --rednose --immediate -sv st2api/tests/unit/controllers/exp/ - nosetests --rednose --immediate -sv st2common/tests/unit/ - nosetests --rednose --immediate -sv st2client/tests/unit/ - nosetests --rednose --immediate -sv st2debug/tests/unit/ - nosetests --rednose --immediate -sv st2exporter/tests/unit/ - nosetests --rednose --immediate -sv st2reactor/tests/unit/ - nosetests --rednose --immediate -sv st2stream/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/action_chain_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/inquirer_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/announcement_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/http_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/noop_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/local_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/orquesta_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/python_runner/tests/unit/ - nosetests --rednose --immediate -sv contrib/runners/winrm_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe st2actions/tests/unit/ + nosetests --rednose --immediate -sv --exe st2auth/tests/unit/ + nosetests --rednose --immediate -sv --exe st2api/tests/unit/controllers/v1/ + nosetests --rednose --immediate -sv --exe st2api/tests/unit/controllers/exp/ + nosetests --rednose --immediate -sv --exe st2common/tests/unit/ + nosetests --rednose --immediate -sv --exe st2client/tests/unit/ + nosetests --rednose --immediate -sv --exe st2debug/tests/unit/ + nosetests --rednose --immediate -sv --exe st2exporter/tests/unit/ + nosetests --rednose --immediate -sv --exe st2reactor/tests/unit/ + nosetests --rednose --immediate -sv --exe st2stream/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/action_chain_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/inquirer_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/announcement_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/http_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/noop_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/local_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/orquesta_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/python_runner/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/winrm_runner/tests/unit/ [testenv:py36-unit-nightly] basepython = python3.6 @@ -61,7 +61,7 @@ deps = virtualenv -e{toxinidir}/st2client -e{toxinidir}/st2common commands = - nosetests --rednose --immediate -sv contrib/runners/mistral_v2/tests/unit/ + nosetests --rednose --immediate -sv --exe contrib/runners/mistral_v2/tests/unit/ [testenv:py36-packs] basepython = python3.6