-
A useful thing to do is to run a command and output stdout+stderr to screen while simultaneously writing the same stdout+stderr to a file.
<command> 2>&1 | tee <file>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
| py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a161.g6ef0a97.zip | |
| py27 runtests: commands[0] | |
| WARNING:test command found but not installed in testenv | |
| cmd: /bin/bash | |
| env: /opt/stack/ceilometer/.tox/py27 | |
| Maybe forgot to specify a dependency? | |
| + set -e | |
| + bash tools/init_testr_if_needed.sh | |
| + python setup.py testr --slowest '--testr-args=--concurrency=1 --here=nova_tests tests.storage.test_impl_mongodb.RawSampleTest.test_get_samples_in_default_order' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tox -e py27 -- tests.storage.test_impl_mongodb.RawSampleTest.test_get_samples_in_default_order | |
| . | |
| . | |
| . | |
| $ mongo | |
| MongoDB shell version: 2.0.4 | |
| connecting to: test | |
| > show dbs | |
| ceilometer 0.453125GB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
| py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a161.g6ef0a97.zip | |
| py27 runtests: commands[0] | |
| WARNING:test command found but not installed in testenv | |
| cmd: /bin/bash | |
| env: /opt/stack/ceilometer/.tox/py27 | |
| Maybe forgot to specify a dependency? | |
| + set -e | |
| + bash tools/init_testr_if_needed.sh | |
| + python setup.py testr --slowest '--testr-args=--concurrency=1 --here=nova_tests tests.storage.test_impl_mongodb.RawSampleTest.test_get_samples_in_default_order' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tox -e py27 | |
| GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
| py27 create: /opt/stack/ceilometer/.tox/py27 | |
| py27 installdeps: -r/opt/stack/ceilometer/requirements.txt, -r/opt/stack/ceilometer/test-requirements.txt | |
| ERROR: invocation failed, logfile: /opt/stack/ceilometer/.tox/py27/log/py27-1.log | |
| ERROR: actionid=py27 | |
| msg=getenv | |
| cmdargs=[local('/opt/stack/ceilometer/.tox/py27/bin/pip'), 'install', '--download-cache=/opt/stack/ceilometer/.tox/_download', '-r/opt/stack/ceilometer/requirements.txt', '-r/opt/stack/ceilometer/test-requirements.txt'] | |
| env={'PYTHONIOENCODING': 'utf_8', 'OS_CACERT': '/opt/stack/data/CA/int-ca/ca-chain.pem', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'SSH_CLIENT': '10.0.2.2 35512 22', 'LOGNAME': 'vagrant', 'USER': 'vagrant', 'OS_PASSWORD': 'nomoresecrete', 'PATH': '/opt/stack/ceilometer/.tox/py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin', 'EVENTLET_NO_GREENDNS': 'yes', 'DISPLAY': 'localhost:10.0', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', ' |
-
Todo: add my blog to http://planet.openstack.org/ through this link: https://wiki.openstack.org/wiki/AddingYourBlog
(Setup an OpenStack feed for my blog, too.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git checkout master | |
| $ tox -e py27 -- tests.storage.test_impl_mongodb.RawSampleTest.test_get_samples_in_default_order | |
| GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
| py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a209.g048c59c.zip | |
| py27 runtests: commands[0] | bash -x /opt/stack/ceilometer/run-tests.sh tests.storage.test_impl_mongodb.RawSampleTest.test_get_samples_in_default_order | |
| WARNING:test command found but not installed in testenv | |
| cmd: /bin/bash | |
| env: /opt/stack/ceilometer/.tox/py27 | |
| Maybe forgot to specify a dependency? | |
| + set -e |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tox -e py27 | |
| GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
| py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a211.gb778415.zip | |
| py27 runtests: commands[0] | bash -x /opt/stack/ceilometer/run-tests.sh | |
| WARNING:test command found but not installed in testenv | |
| cmd: /bin/bash | |
| env: /opt/stack/ceilometer/.tox/py27 | |
| Maybe forgot to specify a dependency? | |
| + set -e | |
| + bash tools/init_testr_if_needed.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ tox -e py27 | |
| GLOB sdist-make: /opt/stack/ceilometer/setup.py | |
| py27 inst-nodeps: /opt/stack/ceilometer/.tox/dist/ceilometer-2013.2.a211.gb778415.zip | |
| py27 runtests: commands[0] | bash -x /opt/stack/ceilometer/run-tests.sh | |
| WARNING:test command found but not installed in testenv | |
| cmd: /bin/bash | |
| env: /opt/stack/ceilometer/.tox/py27 | |
| Maybe forgot to specify a dependency? | |
| + set -e | |
| + bash tools/init_testr_if_needed.sh |