Skip to content

Instantly share code, notes, and snippets.

@blag
Created June 29, 2018 06:05
Show Gist options
  • Save blag/262285b9adac1dee6254de7bc165a4db to your computer and use it in GitHub Desktop.
Save blag/262285b9adac1dee6254de7bc165a4db to your computer and use it in GitHub Desktop.
st2 2.8 u16 testing
vagrant@st2vagrant:~$ sudo bash
root@st2vagrant:~# export ST2_AUTH_TOKEN=$(st2 auth -t st2admin)
Password:
root@st2vagrant:~# st2-self-check
~ ~
Cloning st2tests (branch=master) in /home/vagrant.
Cloning into 'st2tests'...
remote: Counting objects: 151, done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 151 (delta 28), reused 90 (delta 13), pack-reused 0
Receiving objects: 100% (151/151), 662.48 KiB | 0 bytes/s, done.
Resolving deltas: 100% (28/28), done.
Checking connectivity... done.
Copying asserts, fixtures, tests and examples packs.
Installing asserts, fixtures, tests and examples packs.
..............
id: 5b35c8f0c4da5f3e6965fade
status: succeeded
parameters:
packs:
- examples
- tests
- asserts
- fixtures
- webui
result:
exit_code: 0
result: 'Successfuly set up virtualenv for the following packs: examples, tests, asserts, fixtures, webui'
stderr: 'st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "examples" (/opt/stackstorm/packs/examples)
st2.actions.python.SetupVirtualEnvironmentAction: INFO Virtualenv path "/opt/stackstorm/virtualenvs/examples" doesn''t exist
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv for pack "examples" in "/opt/stackstorm/virtualenvs/examples"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv in "/opt/stackstorm/virtualenvs/examples" using Python binary "/opt/stackstorm/st2/bin/python"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Running command "/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --always-copy --no-download /opt/stackstorm/virtualenvs/examples" to create virtualenv.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing base requirements
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirement six>=1.9.0,<2.0 with command /opt/stackstorm/virtualenvs/examples/bin/pip install six>=1.9.0,<2.0.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing pack specific requirements from "/opt/stackstorm/packs/examples/requirements.txt"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirements from file /opt/stackstorm/packs/examples/requirements.txt with command /opt/stackstorm/virtualenvs/examples/bin/pip install -U -r /opt/stackstorm/packs/examples/requirements.txt.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Virtualenv for pack "examples" successfully created in "/opt/stackstorm/virtualenvs/examples"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "tests" (/opt/stackstorm/packs/tests)
st2.actions.python.SetupVirtualEnvironmentAction: INFO Virtualenv path "/opt/stackstorm/virtualenvs/tests" doesn''t exist
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv for pack "tests" in "/opt/stackstorm/virtualenvs/tests"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv in "/opt/stackstorm/virtualenvs/tests" using Python binary "/opt/stackstorm/st2/bin/python"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Running command "/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --always-copy --no-download /opt/stackstorm/virtualenvs/tests" to create virtualenv.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing base requirements
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirement six>=1.9.0,<2.0 with command /opt/stackstorm/virtualenvs/tests/bin/pip install six>=1.9.0,<2.0.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG No pack specific requirements found
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Virtualenv for pack "tests" successfully created in "/opt/stackstorm/virtualenvs/tests"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "asserts" (/opt/stackstorm/packs/asserts)
st2.actions.python.SetupVirtualEnvironmentAction: INFO Virtualenv path "/opt/stackstorm/virtualenvs/asserts" doesn''t exist
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv for pack "asserts" in "/opt/stackstorm/virtualenvs/asserts"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv in "/opt/stackstorm/virtualenvs/asserts" using Python binary "/opt/stackstorm/st2/bin/python"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Running command "/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --always-copy --no-download /opt/stackstorm/virtualenvs/asserts" to create virtualenv.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing base requirements
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirement six>=1.9.0,<2.0 with command /opt/stackstorm/virtualenvs/asserts/bin/pip install six>=1.9.0,<2.0.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing pack specific requirements from "/opt/stackstorm/packs/asserts/requirements.txt"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirements from file /opt/stackstorm/packs/asserts/requirements.txt with command /opt/stackstorm/virtualenvs/asserts/bin/pip install -U -r /opt/stackstorm/packs/asserts/requirements.txt.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Virtualenv for pack "asserts" successfully created in "/opt/stackstorm/virtualenvs/asserts"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "fixtures" (/opt/stackstorm/packs/fixtures)
st2.actions.python.SetupVirtualEnvironmentAction: INFO Virtualenv path "/opt/stackstorm/virtualenvs/fixtures" doesn''t exist
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv for pack "fixtures" in "/opt/stackstorm/virtualenvs/fixtures"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv in "/opt/stackstorm/virtualenvs/fixtures" using Python binary "/opt/stackstorm/st2/bin/python"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Running command "/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --always-copy --no-download /opt/stackstorm/virtualenvs/fixtures" to create virtualenv.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing base requirements
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirement six>=1.9.0,<2.0 with command /opt/stackstorm/virtualenvs/fixtures/bin/pip install six>=1.9.0,<2.0.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing pack specific requirements from "/opt/stackstorm/packs/fixtures/requirements.txt"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirements from file /opt/stackstorm/packs/fixtures/requirements.txt with command /opt/stackstorm/virtualenvs/fixtures/bin/pip install -U -r /opt/stackstorm/packs/fixtures/requirements.txt.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Virtualenv for pack "fixtures" successfully created in "/opt/stackstorm/virtualenvs/fixtures"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack "webui" (/opt/stackstorm/packs/webui)
st2.actions.python.SetupVirtualEnvironmentAction: INFO Virtualenv path "/opt/stackstorm/virtualenvs/webui" doesn''t exist
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv for pack "webui" in "/opt/stackstorm/virtualenvs/webui"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv in "/opt/stackstorm/virtualenvs/webui" using Python binary "/opt/stackstorm/st2/bin/python"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Running command "/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --always-copy --no-download /opt/stackstorm/virtualenvs/webui" to create virtualenv.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing base requirements
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirement six>=1.9.0,<2.0 with command /opt/stackstorm/virtualenvs/webui/bin/pip install six>=1.9.0,<2.0.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing pack specific requirements from "/opt/stackstorm/packs/webui/requirements.txt"
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirements from file /opt/stackstorm/packs/webui/requirements.txt with command /opt/stackstorm/virtualenvs/webui/bin/pip install -U -r /opt/stackstorm/packs/webui/requirements.txt.
st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Virtualenv for pack "webui" successfully created in "/opt/stackstorm/virtualenvs/webui"
'
stdout: ''
Registering content...[flags = --config-file /etc/st2/st2.conf --register-all]
2018-06-29 05:52:14,696 INFO [-] Connecting to database "st2" @ "127.0.0.1:27017" as user "stackstorm".
2018-06-29 05:52:15,170 INFO [-] =========================================================
2018-06-29 05:52:15,170 INFO [-] ############## Registering triggers #####################
2018-06-29 05:52:15,171 INFO [-] =========================================================
2018-06-29 05:52:15,438 INFO [-] Registered 1 triggers.
2018-06-29 05:52:15,438 INFO [-] =========================================================
2018-06-29 05:52:15,438 INFO [-] ############## Registering sensors ######################
2018-06-29 05:52:15,438 INFO [-] =========================================================
2018-06-29 05:52:15,704 INFO [-] Registered 7 sensors.
2018-06-29 05:52:15,704 INFO [-] =========================================================
2018-06-29 05:52:15,704 INFO [-] ############## Registering runners ######################
2018-06-29 05:52:15,705 INFO [-] =========================================================
2018-06-29 05:52:16,330 INFO [-] Registered 14 runners.
2018-06-29 05:52:16,330 INFO [-] =========================================================
2018-06-29 05:52:16,330 INFO [-] ############## Registering actions ######################
2018-06-29 05:52:16,330 INFO [-] =========================================================
2018-06-29 05:52:23,755 INFO [-] Registered 215 actions.
2018-06-29 05:52:23,756 INFO [-] =========================================================
2018-06-29 05:52:23,756 INFO [-] ############## Registering rules ########################
2018-06-29 05:52:23,756 INFO [-] =========================================================
2018-06-29 05:52:24,125 INFO [-] Registered 8 rules.
2018-06-29 05:52:24,126 INFO [-] =========================================================
2018-06-29 05:52:24,126 INFO [-] ############## Registering aliases ######################
2018-06-29 05:52:24,126 INFO [-] =========================================================
2018-06-29 05:52:24,310 INFO [-] Registered 12 aliases.
2018-06-29 05:52:24,311 INFO [-] =========================================================
2018-06-29 05:52:24,311 INFO [-] ############## Registering policy types #################
2018-06-29 05:52:24,311 INFO [-] =========================================================
2018-06-29 05:52:24,350 INFO [-] Registered 3 policy types.
2018-06-29 05:52:24,351 INFO [-] =========================================================
2018-06-29 05:52:24,351 INFO [-] ############## Registering policies #####################
2018-06-29 05:52:24,351 INFO [-] =========================================================
2018-06-29 05:52:24,352 INFO [-] Registered 0 policies.
2018-06-29 05:52:24,352 INFO [-] =========================================================
2018-06-29 05:52:24,352 INFO [-] ############## Registering configs ######################
2018-06-29 05:52:24,352 INFO [-] =========================================================
2018-06-29 05:52:24,355 INFO [-] Registered 0 configs.
##### st2 components status #####
st2actionrunner PID: 14752
st2actionrunner PID: 14756
st2actionrunner PID: 14760
st2actionrunner PID: 14765
st2actionrunner PID: 14768
st2actionrunner PID: 14771
st2actionrunner PID: 14775
st2actionrunner PID: 14779
st2actionrunner PID: 14782
st2actionrunner PID: 14787
st2api PID: 15885
st2api PID: 15977
st2stream PID: 15842
st2stream PID: 15925
st2auth PID: 14797
st2auth PID: 14971
st2garbagecollector PID: 14800
st2notifier PID: 14804
st2resultstracker PID: 14807
st2rulesengine PID: 14812
st2sensorcontainer PID: 14816
st2chatops is not running.
mistral-server PID: 19301
mistral.api PID: 19272
mistral.api PID: 19363
mistral.api PID: 19364
Deleting 'st2tests' directory from /home/vagrant.
~
Attempting Test tests.test_inquiry_chain...OK!
Attempting Test tests.test_inquiry_mistral...OK!
Attempting Test tests.test_key_triggers...OK!
Attempting Test tests.test_packs_pack...OK!
Attempting Test tests.test_quickstart...OK!
Attempting Test tests.test_quickstart_key...OK!
Attempting Test tests.test_quickstart_local_script_actions...OK!
Attempting Test tests.test_quickstart_passive_sensor...OK!
Attempting Test tests.test_quickstart_polling_sensor...OK!
Attempting Test tests.test_quickstart_python_actions...OK!
Attempting Test tests.test_quickstart_remote_script_actions...OK!
Attempting Test tests.test_quickstart_rules...OK!
Attempting Test tests.test_quickstart_trace...OK!
Attempting Test tests.test_run_pack_tests_tool...OK!
Attempting Test tests.test_timer_rule...OK!
Skipping tests.test_windows_runners...
Attempting Example examples.mistral_examples...OK!
SELF CHECK SUCCEEDED!
st2-self-check succeeded.
#############################################################
################################################### #######
############################################### /~\ #####
############################################ _- `~~~', ####
########################################## _-~ ) ####
####################################### _-~ | ####
#################################### _-~ ; #####
########################## __---___-~ | #####
####################### _~ ,, ; `,, ##
##################### _-~ ;' | ,' ; ##
################### _~ ' `~' ; ###
############ __---; ,' ####
######## __~~ ___ ,' ######
##### _-~~ -~~ _ ,' ########
##### `-_ _ ; ##########
####### ~~----~~~ ; ; ###########
######### / ; ; ############
####### / ; ; #############
##### / ` ; ##############
### / ; ###############
# ################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment