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
143
144
145 | ubuntu@0f0e62f4cb6a:~/charms/layers$ grep include layer-bottom/layer.yaml layer-middle/layer.yaml layer-top/layer.yaml
layer-bottom/layer.yaml:includes: ['layer:basic']
layer-middle/layer.yaml:includes: ['layer:layer-bottom']
layer-top/layer.yaml:includes: ['layer:layer-middle']
ubuntu@0f0e62f4cb6a:~/charms/layers$ cd layer-top
ubuntu@0f0e62f4cb6a:~/charms/layers/layer-top$ charm build -r -lDEBUG
build: Composing into /home/ubuntu/charms
build: Destination charm directory: /home/ubuntu/charms/trusty/layer-top
build: {
"INTERFACE_PATH": "/home/ubuntu/charms/interfaces",
"JUJU_REPOSITORY": "/home/ubuntu/charms",
"LAYER_PATH": "/home/ubuntu/charms/layers",
"_charm": ".",
"_charm_metadata": {
"description": "<Multi-line description here>\n",
"maintainer": "ubuntu <ubuntu@0f0e62f4cb6a>",
"name": "layer-top",
"peers": {
"peer-relation": {
"interface": "interface-name"
}
},
"provides": {
"provides-relation": {
"interface": "interface-name"
}
},
"requires": {
"requires-relation": {
"interface": "interface-name"
}
},
"subordinate": false,
"summary": "<Fill in summary here>",
"tags": [
"misc"
]
},
"_name": "layer-top",
"_top_layer": null,
"config": "BuildConfig({'_tactics': [], 'configured': False})",
"deps": "/home/ubuntu/charms/deps",
"description": false,
"force": false,
"hide_metrics": false,
"interface_service": "http://interfaces.juju.solutions",
"log_level": "DEBUG",
"no_local_layers": false,
"output_dir": "/home/ubuntu/charms",
"repo": "/home/ubuntu/charms/trusty",
"report": true,
"series": "trusty",
"target_dir": "/home/ubuntu/charms/trusty/layer-top"
}
fatal: Not a git repository (or any parent up to mount point /home/ubuntu/charms)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
bzr: ERROR: Not a branch: "/home/ubuntu/charms/layers/layer-top/".
build: Please add a `repo` key to your layer.yaml, with a url from which your layer can be cloned.
charmtools.fetchers: git clone https://github.com/juju-solutions/layer-basic.git /home/ubuntu/charms/deps/layer/tmpkACImf: Cloning into '/home/ubuntu/charms/deps/layer/tmpkACImf'...
build: Processing layer: layer:layer-middle
build: Processing layer: layer:layer-bottom
build: Processing layer: layer:basic
build: Processing layer: layer-top
charmtools.build.tactics: Copying layer-top: /home/ubuntu/charms/trusty/layer-top/icon.svg
charmtools.build.tactics: Copying layer-middle: /home/ubuntu/charms/trusty/layer-top/reactive/layer_middle.py
charmtools.build.tactics: Copying layer-top: /home/ubuntu/charms/trusty/layer-top/README.ex
charmtools.build.tactics: Copying layer-top: /home/ubuntu/charms/trusty/layer-top/tests/00-setup
charmtools.build.tactics: Copying layer-top: /home/ubuntu/charms/trusty/layer-top/tests/10-deploy
charmtools.build.tactics: Copying layer-bottom: /home/ubuntu/charms/trusty/layer-top/reactive/layer_bottom.py
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/.gitignore
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/bin/layer_option
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/copyright
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/config-changed
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/hook.template
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/install
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/leader-elected
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/leader-settings-changed
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/start
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/stop
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/update-status
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/hooks/upgrade-charm
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/lib/charms/layer/__init__.py
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/lib/charms/layer/basic.py
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/lib/charms/layer/execd.py
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/Makefile
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/reactive/__init__.py
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/README.md
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/requirements.txt
charmtools.build.tactics: Copying layer-basic: /home/ubuntu/charms/trusty/layer-top/tox.ini
utils: Using base prefix '/usr'
New python executable in /tmp/tmplboH83/bin/python3
Also creating executable in /tmp/tmplboH83/bin/python
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/bin/python3
utils: process: virtualenv --python python3 /tmp/tmplboH83 (0)
utils: Requirement already up-to-date: pip in /tmp/tmplboH83/lib/python3.5/site-packages
Requirement already up-to-date: wheel in /tmp/tmplboH83/lib/python3.5/site-packages
utils: process: /tmp/tmplboH83/bin/pip3 install -U pip wheel (0)
utils: DEPRECATION: pip install --download has been deprecated and will be removed in the future. Pip now has a download command that should be used instead.
Collecting pip<8.2.0,>=7.0.0 (from -r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 1))
Using cached pip-8.1.2.tar.gz
Saved /tmp/tmp1aKDwS/pip-8.1.2.tar.gz
Collecting charmhelpers<1.0.0,>=0.4.0 (from -r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached charmhelpers-0.7.0.tar.gz
Saved /tmp/tmp1aKDwS/charmhelpers-0.7.0.tar.gz
Collecting charms.reactive<2.0.0,>=0.1.0 (from -r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 3))
Using cached charms.reactive-0.4.3.tar.gz
Saved /tmp/tmp1aKDwS/charms.reactive-0.4.3.tar.gz
Collecting netaddr (from charmhelpers<1.0.0,>=0.4.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached netaddr-0.7.18.tar.gz
Saved /tmp/tmp1aKDwS/netaddr-0.7.18.tar.gz
Collecting PyYAML (from charmhelpers<1.0.0,>=0.4.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached PyYAML-3.11.zip
Saved /tmp/tmp1aKDwS/PyYAML-3.11.zip
Collecting Tempita (from charmhelpers<1.0.0,>=0.4.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached Tempita-0.5.2.tar.gz
Saved /tmp/tmp1aKDwS/Tempita-0.5.2.tar.gz
Collecting Jinja2 (from charmhelpers<1.0.0,>=0.4.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached Jinja2-2.8.tar.gz
Saved /tmp/tmp1aKDwS/Jinja2-2.8.tar.gz
Collecting six (from charmhelpers<1.0.0,>=0.4.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached six-1.10.0.tar.gz
Saved /tmp/tmp1aKDwS/six-1.10.0.tar.gz
Collecting pyaml (from charms.reactive<2.0.0,>=0.1.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 3))
Using cached pyaml-15.8.2.tar.gz
Saved /tmp/tmp1aKDwS/pyaml-15.8.2.tar.gz
Collecting MarkupSafe (from Jinja2->charmhelpers<1.0.0,>=0.4.0->-r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (line 2))
Using cached MarkupSafe-0.23.tar.gz
Saved /tmp/tmp1aKDwS/MarkupSafe-0.23.tar.gz
Successfully downloaded pip charmhelpers charms.reactive netaddr PyYAML Tempita Jinja2 six pyaml MarkupSafe
utils: process: /tmp/tmplboH83/bin/pip3 install --no-binary :all: -d /tmp/tmp1aKDwS -r /home/ubuntu/charms/deps/layer/layer-basic/wheelhouse.txt (0)
charmtools.build.tactics: Copying layer-top: /home/ubuntu/charms/trusty/layer-top/reactive/layer_top.py
build:
build: ---------------------------------------
build: Build Report
build: ---------------------------------------
build: New build; all files were modified.
|