Created
May 29, 2015 17:50
-
-
Save whitmo/01f5ece4b0e57c5c2a6b to your computer and use it in GitHub Desktop.
This file contains 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
python-django | |
charm-proof PASS | |
make lint FAIL | |
00-setup PASS | |
01-dj13 PASS | |
01-dj14 PASS | |
01-djdistro PASS | |
10-mysql ERROR | |
10-postgresql ERROR | |
------------------------------------------------------------------------------ | |
FAIL: python-django::make lint | |
[/usr/bin/make -s lint exit 2] | |
Lint check (flake8) | |
make: flake8: Command not found | |
make: *** [lint] Error 127 | |
------------------------------------------------------------------------------ | |
ERROR: python-django::10-mysql | |
[/tmp/bundletester-pT1d3v/python-django/tests/10-mysql exit 1] | |
2015-05-29 16:42:31,515 INFO (cwd=/tmp/tmp8t01mufo) RUN: ['juju-deployer', '-vdWL', '-c', '/tmp/bundletester-pT1d3v/python-django/tests/config/django.yaml', 'django-mysql', '--timeout', '2000'] | |
2015-05-29 16:42:32 [DEBUG] deployer.cli: Using runtime GoEnvironment on ec2-va-1 | |
2015-05-29 16:42:32 [INFO] deployer.cli: Starting deployment of django-mysql | |
2015-05-29 16:42:32 [DEBUG] deployer.import: Getting charms... | |
2015-05-29 16:42:32 [DEBUG] deployer.charm: Cache dir /home/ubuntu/.juju/.deployer-store-cache/cs_precise_mysql | |
2015-05-29 16:42:32 [DEBUG] deployer.charm: Cache dir /home/ubuntu/.juju/.deployer-store-cache/cs_precise_gunicorn | |
2015-05-29 16:42:32 [DEBUG] deployer.deploy: Resolving configuration | |
2015-05-29 16:42:32 [DEBUG] deployer.env: Connecting to environment... | |
2015-05-29 16:42:32 [DEBUG] deployer.env: Connected to environment | |
2015-05-29 16:42:32 [INFO] deployer.import: Deploying services... | |
2015-05-29 16:42:32 [DEBUG] deployer.import: <deployer.env.go.GoEnvironment object at 0x7f2eb6f1b510> | |
2015-05-29 16:42:33 [INFO] deployer.import: Deploying service gunicorn using cs:precise/gunicorn | |
2015-05-29 16:42:35 [INFO] deployer.import: Deploying service mysql using cs:precise/mysql | |
2015-05-29 16:42:42 [INFO] deployer.import: Deploying service python-django using local:precise/python-django | |
2015-05-29 16:42:56 [DEBUG] deployer.import: Adding units... | |
2015-05-29 16:42:56 [WARNING] deployer.import: Config specifies num units for subordinate: gunicorn | |
2015-05-29 16:42:56 [DEBUG] deployer.import: Service 'mysql' does not need any more units added. | |
2015-05-29 16:42:56 [DEBUG] deployer.import: Service 'python-django' does not need any more units added. | |
2015-05-29 16:42:56 [DEBUG] deployer.import: Waiting for units before adding relations | |
2015-05-29 16:43:00 [DEBUG] deployer.env: Delta machine: 21 change:pending | |
2015-05-29 16:43:00 [DEBUG] deployer.env: Delta machine: 20 change:pending | |
2015-05-29 16:43:05 [DEBUG] deployer.env: Delta machine: 21 change:pending | |
2015-05-29 16:43:10 [DEBUG] deployer.env: Delta machine: 21 change:pending | |
2015-05-29 16:44:15 [DEBUG] deployer.env: Delta machine: 21 change:pending | |
2015-05-29 16:44:15 [DEBUG] deployer.env: Delta machine: 21 change:started | |
2015-05-29 16:44:15 [DEBUG] deployer.env: Delta machine: 20 change:started | |
2015-05-29 16:44:15 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:44:15 [DEBUG] deployer.env: Delta unit: mysql/0 change:pending | |
2015-05-29 16:44:20 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:44:20 [DEBUG] deployer.env: Delta service: python-django change:{u'Err': None, u'Since': u'2015-05-29T16:44:16Z', u'Current': u'maintenance', u'Version': u'', u'Message': u'installing charm software', u'Data': {}} | |
2015-05-29 16:44:20 [DEBUG] deployer.env: Delta service: mysql change:{u'Err': None, u'Since': u'2015-05-29T16:44:17Z', u'Current': u'maintenance', u'Version': u'', u'Message': u'installing charm software', u'Data': {}} | |
2015-05-29 16:44:20 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:44:20 [DEBUG] deployer.env: Delta unit: mysql/0 change:pending | |
2015-05-29 16:44:55 [DEBUG] deployer.env: Delta unit: mysql/0 change:pending | |
2015-05-29 16:45:20 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:45:25 [DEBUG] deployer.env: Delta service: python-django change:{u'Err': None, u'Since': u'2015-05-29T16:45:20Z', u'Current': u'unknown', u'Version': u'', u'Message': u'', u'Data': {}} | |
2015-05-29 16:45:25 [DEBUG] deployer.env: Delta unit: python-django/0 change:started | |
2015-05-29 16:45:25 [DEBUG] deployer.env: Delta unit: python-django/0 change:started | |
2015-05-29 16:45:35 [DEBUG] deployer.env: Delta unit: mysql/0 change:pending | |
2015-05-29 16:45:40 [DEBUG] deployer.env: Delta service: mysql change:{u'Err': None, u'Since': u'2015-05-29T16:45:37Z', u'Current': u'unknown', u'Version': u'', u'Message': u'', u'Data': {}} | |
2015-05-29 16:45:40 [DEBUG] deployer.env: Delta unit: mysql/0 change:started | |
2015-05-29 16:45:40 [DEBUG] deployer.env: Connecting to environment... | |
2015-05-29 16:45:40 [DEBUG] deployer.env: Connected to environment | |
2015-05-29 16:45:40 [INFO] deployer.import: Adding relations... | |
2015-05-29 16:45:41 [INFO] deployer.import: Adding relation python-django:wsgi <-> gunicorn:wsgi-file | |
2015-05-29 16:45:42 [INFO] deployer.import: Adding relation python-django <-> mysql:db | |
2015-05-29 16:45:42 [DEBUG] deployer.import: Waiting for relation convergence 60s | |
2015-05-29 16:46:42 [ERROR] deployer.env: The following units had errors: | |
unit: python-django/0: machine: 21 agent-state: error details: hook failed: "mysql-relation-joined" | |
2015-05-29 16:46:43 [INFO] deployer.cli: Deployment stopped. run time: 251.25 | |
ERROR | |
====================================================================== | |
ERROR: setUpModule (__main__) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/tmp/bundletester-pT1d3v/python-django/tests/10-mysql", line 30, in setUpModule | |
timeout=2000) | |
File "/tmp/bundletester-pT1d3v/python-django/tests/jujulib/deployer.py", line 42, in deploy | |
subprocess.check_call(args, cwd=deployer_dir) | |
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['juju-deployer', '-vdWL', '-c', '/tmp/bundletester-pT1d3v/python-django/tests/config/django.yaml', 'django-mysql', '--timeout', '2000']' returned non-zero exit status 1 | |
---------------------------------------------------------------------- | |
Ran 0 tests in 251.670s | |
FAILED (errors=1) | |
------------------------------------------------------------------------------ | |
ERROR: python-django::10-postgresql | |
[/tmp/bundletester-pT1d3v/python-django/tests/10-postgresql exit 1] | |
2015-05-29 16:50:49,601 INFO (cwd=/tmp/tmpkwgs5u6i) RUN: ['juju-deployer', '-vdWL', '-c', '/tmp/bundletester-pT1d3v/python-django/tests/config/django.yaml', 'django-postgresql', '--timeout', '2000'] | |
2015-05-29 16:50:50 [DEBUG] deployer.cli: Using runtime GoEnvironment on ec2-va-1 | |
2015-05-29 16:50:50 [INFO] deployer.cli: Starting deployment of django-postgresql | |
2015-05-29 16:50:50 [DEBUG] deployer.import: Getting charms... | |
2015-05-29 16:50:50 [DEBUG] deployer.charm: Cache dir /home/ubuntu/.juju/.deployer-store-cache/cs_precise_postgresql | |
2015-05-29 16:50:50 [DEBUG] deployer.charm: Cache dir /home/ubuntu/.juju/.deployer-store-cache/cs_precise_gunicorn | |
2015-05-29 16:50:50 [DEBUG] deployer.deploy: Resolving configuration | |
2015-05-29 16:50:50 [DEBUG] deployer.env: Connecting to environment... | |
2015-05-29 16:50:50 [DEBUG] deployer.env: Connected to environment | |
2015-05-29 16:50:50 [INFO] deployer.import: Deploying services... | |
2015-05-29 16:50:50 [DEBUG] deployer.import: <deployer.env.go.GoEnvironment object at 0x7f251cfea510> | |
2015-05-29 16:50:51 [INFO] deployer.import: Deploying service gunicorn using cs:precise/gunicorn | |
2015-05-29 16:50:53 [INFO] deployer.import: Deploying service postgresql using cs:precise/postgresql | |
2015-05-29 16:51:00 [INFO] deployer.import: Deploying service python-django using local:precise/python-django | |
2015-05-29 16:51:13 [DEBUG] deployer.import: Adding units... | |
2015-05-29 16:51:14 [WARNING] deployer.import: Config specifies num units for subordinate: gunicorn | |
2015-05-29 16:51:14 [DEBUG] deployer.import: Service 'postgresql' does not need any more units added. | |
2015-05-29 16:51:14 [DEBUG] deployer.import: Service 'python-django' does not need any more units added. | |
2015-05-29 16:51:14 [DEBUG] deployer.import: Waiting for units before adding relations | |
2015-05-29 16:51:15 [DEBUG] deployer.env: Delta machine: 23 change:pending | |
2015-05-29 16:51:20 [DEBUG] deployer.env: Delta machine: 23 change:pending | |
2015-05-29 16:51:20 [DEBUG] deployer.env: Delta machine: 22 change:pending | |
2015-05-29 16:51:25 [DEBUG] deployer.env: Delta machine: 23 change:pending | |
2015-05-29 16:52:30 [DEBUG] deployer.env: Delta machine: 22 change:pending | |
2015-05-29 16:52:30 [DEBUG] deployer.env: Delta machine: 22 change:started | |
2015-05-29 16:52:30 [DEBUG] deployer.env: Delta unit: postgresql/0 change:pending | |
2015-05-29 16:52:35 [DEBUG] deployer.env: Delta unit: postgresql/0 change:pending | |
2015-05-29 16:52:35 [DEBUG] deployer.env: Delta service: postgresql change:{u'Err': None, u'Since': u'2015-05-29T16:52:32Z', u'Current': u'maintenance', u'Version': u'', u'Message': u'installing charm software', u'Data': {}} | |
2015-05-29 16:52:35 [DEBUG] deployer.env: Delta unit: postgresql/0 change:pending | |
2015-05-29 16:52:46 [DEBUG] deployer.env: Delta machine: 23 change:pending | |
2015-05-29 16:52:47 [DEBUG] deployer.env: Delta machine: 23 change:started | |
2015-05-29 16:52:47 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:52:50 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:52:50 [DEBUG] deployer.env: Delta service: python-django change:{u'Err': None, u'Since': u'2015-05-29T16:52:45Z', u'Current': u'maintenance', u'Version': u'', u'Message': u'installing charm software', u'Data': {}} | |
2015-05-29 16:52:50 [DEBUG] deployer.env: Delta unit: python-django/0 change:pending | |
2015-05-29 16:53:45 [DEBUG] deployer.env: Delta unit: postgresql/0 change:pending | |
2015-05-29 16:53:45 [DEBUG] deployer.env: Delta unit: postgresql/0 change:pending | |
2015-05-29 16:54:00 [DEBUG] deployer.env: Delta service: postgresql change:{u'Err': None, u'Since': u'2015-05-29T16:53:59Z', u'Current': u'unknown', u'Version': u'', u'Message': u'', u'Data': {}} | |
2015-05-29 16:54:00 [DEBUG] deployer.env: Delta unit: postgresql/0 change:pending | |
2015-05-29 16:54:00 [DEBUG] deployer.env: Delta unit: postgresql/0 change:started | |
2015-05-29 16:54:05 [DEBUG] deployer.env: Delta unit: postgresql/0 change:started | |
2015-05-29 16:54:05 [DEBUG] deployer.env: Delta service: python-django change:{u'Err': None, u'Since': u'2015-05-29T16:54:04Z', u'Current': u'unknown', u'Version': u'', u'Message': u'', u'Data': {}} | |
2015-05-29 16:54:05 [DEBUG] deployer.env: Delta unit: python-django/0 change:started | |
2015-05-29 16:54:05 [DEBUG] deployer.env: Connecting to environment... | |
2015-05-29 16:54:06 [DEBUG] deployer.env: Connected to environment | |
2015-05-29 16:54:06 [INFO] deployer.import: Adding relations... | |
2015-05-29 16:54:06 [INFO] deployer.import: Adding relation python-django:wsgi <-> gunicorn:wsgi-file | |
2015-05-29 16:54:07 [INFO] deployer.import: Adding relation python-django <-> postgresql:db | |
2015-05-29 16:54:07 [DEBUG] deployer.import: Waiting for relation convergence 60s | |
2015-05-29 16:55:08 [ERROR] deployer.env: The following units had errors: | |
unit: python-django/0: machine: 23 agent-state: error details: hook failed: "pgsql-relation-joined" | |
2015-05-29 16:55:08 [INFO] deployer.cli: Deployment stopped. run time: 258.42 | |
ERROR | |
====================================================================== | |
ERROR: setUpModule (__main__) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/tmp/bundletester-pT1d3v/python-django/tests/10-postgresql", line 30, in setUpModule | |
timeout=2000) | |
File "/tmp/bundletester-pT1d3v/python-django/tests/jujulib/deployer.py", line 42, in deploy | |
subprocess.check_call(args, cwd=deployer_dir) | |
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call | |
raise CalledProcessError(retcode, cmd) | |
subprocess.CalledProcessError: Command '['juju-deployer', '-vdWL', '-c', '/tmp/bundletester-pT1d3v/python-django/tests/config/django.yaml', 'django-postgresql', '--timeout', '2000']' returned non-zero exit status 1 | |
---------------------------------------------------------------------- | |
Ran 0 tests in 258.830s | |
FAILED (errors=1) | |
PASS: 5 ERROR: 2 FAIL: 1 Total: 8 (1273.960761 sec) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment