1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142 | ubuntu@yagi:~$ bundletester -t lp:charms/precise/python-django
python-django
charm-proof PASS
make lint PASS
01-dj13 ERROR
------------------------------------------------------------------------------
ERROR: python-django::01-dj13
[/tmp/bundletester-nHcSV_/tmpOQyybk/tests/01-dj13 exit 1]
2015-04-03 19:33:33,018 INFO (cwd=/tmp/tmph0d_v5nz) RUN: ['juju-deployer', '-vdWL', '-c', '/tmp/bundletester-nHcSV_/tmpOQyybk/tests/config/django.yaml', 'django13', '--timeout', '2000']
2015-04-03 19:33:33 [DEBUG] deployer.cli: Using runtime GoEnvironment on local
2015-04-03 19:33:33 [INFO] deployer.cli: Starting deployment of django13
2015-04-03 19:33:33 [DEBUG] deployer.import: Getting charms...
2015-04-03 19:33:33 [DEBUG] deployer.charm: Cache dir /home/ubuntu/.juju/.deployer-store-cache/cs_precise_gunicorn
2015-04-03 19:33:33 [DEBUG] deployer.charm: Branching charm lp:charmers/precise/python-django @ /home/ubuntu/precise/python-django
2015-04-03 19:33:34 [ERROR] deployer.charm: Could not branch lp:charmers/precise/python-django to /home/ubuntu/precise/python-django
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: Invalid url supplied to transport: "bzr+ssh://bazaar.launchpad.net/+branch/charmers/precise/python-django": no supported schemes
2015-04-03 19:33:34 [INFO] deployer.cli: Deployment stopped. run time: 1.38
ERROR
======================================================================
ERROR: setUpModule (__main__)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/bundletester-nHcSV_/tmpOQyybk/tests/01-dj13", line 29, in setUpModule
timeout=2000)
File "/tmp/bundletester-nHcSV_/tmpOQyybk/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-nHcSV_/tmpOQyybk/tests/config/django.yaml', 'django13', '--timeout', '2000']' returned non-zero exit status 1
----------------------------------------------------------------------
Ran 0 tests in 1.665s
FAILED (errors=1)
PASS: 2 ERROR: 1 SKIP:4 Total: 7 (2.98767 sec)
ubuntu@yagi:~$ cat /tmp/bundletester-nHcSV_/tmpOQyybk/tests/config/django.yaml
django-postgresql:
series: precise
services:
postgresql:
charm: "cs:precise/postgresql"
options:
performance_tuning: "manual"
shared_buffers: "15MB"
effective_cache_size: "5MB"
gunicorn:
charm: "cs:precise/gunicorn"
python-django:
branch: "lp:charmers/precise/python-django"
charm: python-django
num_units: 1
options:
django_debug: True
expose: true
relations:
- - "python-django:wsgi"
- "gunicorn:wsgi-file"
- - "python-django"
- "postgresql:db"
django-mysql:
series: precise
services:
mysql:
charm: "cs:precise/mysql"
options:
dataset-size: "100M"
gunicorn:
charm: "cs:precise/gunicorn"
python-django:
branch: "lp:charmers/precise/python-django"
charm: python-django
num_units: 1
options:
django_debug: True
expose: true
relations:
- - "python-django:wsgi"
- "gunicorn:wsgi-file"
- - "python-django"
- "mysql:db"
djangodistro:
series: precise
services:
gunicorn:
charm: "cs:precise/gunicorn"
djangodistro:
branch: "lp:charmers/precise/python-django"
charm: python-django
num_units: 1
options:
django_version: 'distro'
django_debug: True
expose: true
relations:
- - "djangodistro:wsgi"
- "gunicorn:wsgi-file"
django13:
series: precise
services:
gunicorn:
charm: "cs:precise/gunicorn"
django13:
branch: "lp:charmers/precise/python-django"
charm: python-django
num_units: 1
options:
django_version: 'django>=1.3,<1.4'
pip_extra_args: "-U -i http://10.0.3.1:3141/root/pypi/"
django_debug: True
expose: true
relations:
- - "django13:wsgi"
- "gunicorn:wsgi-file"
django14:
series: precise
services:
gunicorn:
charm: "cs:precise/gunicorn"
django14:
branch: "lp:charmers/precise/python-django"
charm: python-django
num_units: 1
options:
django_version: 'django>=1.4,<1.5'
pip_extra_args: "-U -i http://10.0.3.1:3141/root/pypi/"
django_debug: True
expose: true
relations:
- - "django14:wsgi"
- "gunicorn:wsgi-file"
|