generated from ibm-developer-skills-network/aolwx-devops-capstone-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipelinerun.txt
260 lines (256 loc) · 22.2 KB
/
pipelinerun.txt
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
[init : remove] Removing all files from /workspace/source ...
[clone : clone] + '[' false '=' true ]
[clone : clone] + '[' false '=' true ]
[clone : clone] + '[' false '=' true ]
[clone : clone] + CHECKOUT_DIR=/workspace/output/
[clone : clone] + '[' true '=' true ]
[clone : clone] + cleandir
[clone : clone] + '[' -d /workspace/output/ ]
[clone : clone] + rm -rf '/workspace/output//*'
[clone : clone] + rm -rf '/workspace/output//.[!.]*'
[clone : clone] + rm -rf '/workspace/output//..?*'
[clone : clone] + test -z
[clone : clone] + test -z
[clone : clone] + test -z
[clone : clone] + git config --global --add safe.directory /workspace/output
[clone : clone] + /ko-app/git-init '-url=https://github.com/ShamimShahraeini/devops-capstone-project.git' '-revision=cd-pipeline' '-refspec=' '-path=/workspace/output/' '-sslVerify=true' '-submodules=true' '-depth=1' '-sparseCheckoutDirectories='
[clone : clone] {"level":"info","ts":1685541262.1740313,"caller":"git/git.go:176","msg":"Successfully cloned https://github.com/ShamimShahraeini/devops-capstone-project.git @ 0e982d09a2e11aa523af99f7c0026fb17ad1ffcb (grafted, HEAD, origin/cd-pipeline) in path /workspace/output/"}
[clone : clone] {"level":"info","ts":1685541262.2852242,"caller":"git/git.go:215","msg":"Successfully initialized and updated submodules in path /workspace/output/"}
[clone : clone] + cd /workspace/output/
[clone : clone] + git rev-parse HEAD
[clone : clone] + RESULT_SHA=0e982d09a2e11aa523af99f7c0026fb17ad1ffcb
[clone : clone] + EXIT_CODE=0
[clone : clone] + '[' 0 '!=' 0 ]
[clone : clone] + git log -1 '--pretty=%ct'
[clone : clone] + RESULT_COMMITTER_DATE=1685541094
[clone : clone] + printf '%s' 1685541094
[clone : clone] + printf '%s' 0e982d09a2e11aa523af99f7c0026fb17ad1ffcb
[clone : clone] + printf '%s' https://github.com/ShamimShahraeini/devops-capstone-project.git
[lint : flake8] Collecting Werkzeug==2.2.2
[lint : flake8] Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.7/232.7 KB 61.9 MB/s eta 0:00:00
[lint : flake8] Collecting Flask==2.2.2
[lint : flake8] Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 KB 52.6 MB/s eta 0:00:00
[lint : flake8] Collecting Flask-SQLAlchemy==3.0.2
[lint : flake8] Downloading Flask_SQLAlchemy-3.0.2-py3-none-any.whl (24 kB)
[lint : flake8] Collecting psycopg2-binary==2.9.5
[lint : flake8] Downloading psycopg2_binary-2.9.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 41.6 MB/s eta 0:00:00
[lint : flake8] Collecting python-dotenv==0.21.1
[lint : flake8] Downloading python_dotenv-0.21.1-py3-none-any.whl (19 kB)
[lint : flake8] Collecting gunicorn==20.1.0
[lint : flake8] Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 KB 31.3 MB/s eta 0:00:00
[lint : flake8] Collecting honcho==1.1.0
[lint : flake8] Downloading honcho-1.1.0-py2.py3-none-any.whl (21 kB)
[lint : flake8] Collecting Flask-Talisman==1.0.0
[lint : flake8] Downloading flask_talisman-1.0.0-py2.py3-none-any.whl (18 kB)
[lint : flake8] Collecting Flask-Cors==3.0.10
[lint : flake8] Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
[lint : flake8] Collecting pylint==2.15.10
[lint : flake8] Downloading pylint-2.15.10-py3-none-any.whl (509 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 509.9/509.9 KB 104.5 MB/s eta 0:00:00
[lint : flake8] Collecting flake8==6.0.0
[lint : flake8] Downloading flake8-6.0.0-py2.py3-none-any.whl (57 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.8/57.8 KB 36.0 MB/s eta 0:00:00
[lint : flake8] Collecting black==22.3.0
[lint : flake8] Downloading black-22.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 95.0 MB/s eta 0:00:00
[lint : flake8] Collecting nose==1.3.7
[lint : flake8] Downloading nose-1.3.7-py3-none-any.whl (154 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.7/154.7 KB 58.6 MB/s eta 0:00:00
[lint : flake8] Collecting pinocchio==0.4.3
[lint : flake8] Downloading pinocchio-0.4.3-py3-none-any.whl (12 kB)
[lint : flake8] Collecting factory-boy==3.2.1
[lint : flake8] Downloading factory_boy-3.2.1-py2.py3-none-any.whl (35 kB)
[lint : flake8] Collecting coverage==7.1.0
[lint : flake8] Downloading coverage-7.1.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (226 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 226.2/226.2 KB 73.3 MB/s eta 0:00:00
[lint : flake8] Collecting httpie==3.2.1
[lint : flake8] Downloading httpie-3.2.1-py3-none-any.whl (124 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 KB 51.0 MB/s eta 0:00:00
[lint : flake8] Collecting MarkupSafe>=2.1.1
[lint : flake8] Downloading MarkupSafe-2.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
[lint : flake8] Collecting importlib-metadata>=3.6.0
[lint : flake8] Downloading importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
[lint : flake8] Collecting itsdangerous>=2.0
[lint : flake8] Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
[lint : flake8] Collecting click>=8.0
[lint : flake8] Downloading click-8.1.3-py3-none-any.whl (96 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 32.7 MB/s eta 0:00:00
[lint : flake8] Collecting Jinja2>=3.0
[lint : flake8] Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 40.6 MB/s eta 0:00:00
[lint : flake8] Collecting SQLAlchemy>=1.4.18
[lint : flake8] Downloading SQLAlchemy-2.0.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 38.4 MB/s eta 0:00:00
[lint : flake8] Requirement already satisfied: setuptools>=3.0 in /usr/local/lib/python3.9/site-packages (from gunicorn==20.1.0->-r requirements.txt (line 11)) (58.1.0)
[lint : flake8] Collecting Six
[lint : flake8] Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
[lint : flake8] Collecting astroid<=2.14.0-dev0,>=2.12.13
[lint : flake8] Downloading astroid-2.13.5-py3-none-any.whl (273 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 273.2/273.2 KB 67.8 MB/s eta 0:00:00
[lint : flake8] Collecting isort<6,>=4.2.5
[lint : flake8] Downloading isort-5.12.0-py3-none-any.whl (91 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.2/91.2 KB 42.9 MB/s eta 0:00:00
[lint : flake8] Collecting mccabe<0.8,>=0.6
[lint : flake8] Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
[lint : flake8] Collecting tomlkit>=0.10.1
[lint : flake8] Downloading tomlkit-0.11.8-py3-none-any.whl (35 kB)
[lint : flake8] Collecting tomli>=1.1.0
[lint : flake8] Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
[lint : flake8] Collecting platformdirs>=2.2.0
[lint : flake8] Downloading platformdirs-3.5.1-py3-none-any.whl (15 kB)
[lint : flake8] Collecting typing-extensions>=3.10.0
[lint : flake8] Downloading typing_extensions-4.6.2-py3-none-any.whl (31 kB)
[lint : flake8] Collecting dill>=0.2
[lint : flake8] Downloading dill-0.3.6-py3-none-any.whl (110 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.5/110.5 KB 2.1 MB/s eta 0:00:00
[lint : flake8] Collecting pycodestyle<2.11.0,>=2.10.0
[lint : flake8] Downloading pycodestyle-2.10.0-py2.py3-none-any.whl (41 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.3/41.3 KB 21.0 MB/s eta 0:00:00
[lint : flake8] Collecting pyflakes<3.1.0,>=3.0.0
[lint : flake8] Downloading pyflakes-3.0.1-py2.py3-none-any.whl (62 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 KB 33.1 MB/s eta 0:00:00
[lint : flake8] Collecting pathspec>=0.9.0
[lint : flake8] Downloading pathspec-0.11.1-py3-none-any.whl (29 kB)
[lint : flake8] Collecting mypy-extensions>=0.4.3
[lint : flake8] Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
[lint : flake8] Collecting colorama
[lint : flake8] Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
[lint : flake8] Collecting Faker>=0.7.0
[lint : flake8] Downloading Faker-18.9.0-py3-none-any.whl (1.7 MB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 28.1 MB/s eta 0:00:00
[lint : flake8] Collecting charset-normalizer>=2.0.0
[lint : flake8] Downloading charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.2/199.2 KB 59.8 MB/s eta 0:00:00
[lint : flake8] Collecting requests-toolbelt>=0.9.1
[lint : flake8] Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.5/54.5 KB 31.5 MB/s eta 0:00:00
[lint : flake8] Collecting Pygments>=2.5.2
[lint : flake8] Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 101.7 MB/s eta 0:00:00
[lint : flake8] Collecting rich>=9.10.0
[lint : flake8] Downloading rich-13.3.5-py3-none-any.whl (238 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 238.7/238.7 KB 80.0 MB/s eta 0:00:00
[lint : flake8] Collecting defusedxml>=0.6.0
[lint : flake8] Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
[lint : flake8] Collecting multidict>=4.7.0
[lint : flake8] Downloading multidict-6.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.2/114.2 KB 53.5 MB/s eta 0:00:00
[lint : flake8] Collecting requests[socks]>=2.22.0
[lint : flake8] Downloading requests-2.31.0-py3-none-any.whl (62 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 KB 33.5 MB/s eta 0:00:00
[lint : flake8] Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (from httpie==3.2.1->-r requirements.txt (line 30)) (22.0.4)
[lint : flake8] Collecting wrapt<2,>=1.11
[lint : flake8] Downloading wrapt-1.15.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (78 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 KB 1.5 MB/s eta 0:00:00
[lint : flake8] Collecting lazy-object-proxy>=1.4.0
[lint : flake8] Downloading lazy_object_proxy-1.9.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (62 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.1/62.1 KB 29.7 MB/s eta 0:00:00
[lint : flake8] Collecting python-dateutil>=2.4
[lint : flake8] Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 50.9 MB/s eta 0:00:00
[lint : flake8] Collecting zipp>=0.5
[lint : flake8] Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
[lint : flake8] Collecting urllib3<3,>=1.21.1
[lint : flake8] Downloading urllib3-2.0.2-py3-none-any.whl (123 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.2/123.2 KB 38.6 MB/s eta 0:00:00
[lint : flake8] Collecting certifi>=2017.4.17
[lint : flake8] Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 KB 2.9 MB/s eta 0:00:00
[lint : flake8] Collecting idna<4,>=2.5
[lint : flake8] Downloading idna-3.4-py3-none-any.whl (61 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 1.0 MB/s eta 0:00:00
[lint : flake8] Collecting PySocks!=1.5.7,>=1.5.6
[lint : flake8] Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
[lint : flake8] Collecting markdown-it-py<3.0.0,>=2.2.0
[lint : flake8] Downloading markdown_it_py-2.2.0-py3-none-any.whl (84 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.5/84.5 KB 39.0 MB/s eta 0:00:00
[lint : flake8] Collecting greenlet!=0.4.17
[lint : flake8] Downloading greenlet-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (610 kB)
[lint : flake8] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 610.9/610.9 KB 40.4 MB/s eta 0:00:00
[lint : flake8] Collecting mdurl~=0.1
[lint : flake8] Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
[lint : flake8] Installing collected packages: nose, honcho, Flask-Talisman, zipp, wrapt, urllib3, typing-extensions, tomlkit, tomli, Six, python-dotenv, PySocks, Pygments, pyflakes, pycodestyle, psycopg2-binary, platformdirs, pathspec, mypy-extensions, multidict, mdurl, mccabe, MarkupSafe, lazy-object-proxy, itsdangerous, isort, idna, gunicorn, greenlet, dill, defusedxml, coverage, colorama, click, charset-normalizer, certifi, Werkzeug, SQLAlchemy, requests, python-dateutil, pinocchio, markdown-it-py, Jinja2, importlib-metadata, flake8, black, astroid, rich, requests-toolbelt, pylint, Flask, Faker, httpie, Flask-SQLAlchemy, Flask-Cors, factory-boy
[lint : flake8] Successfully installed Faker-18.9.0 Flask-2.2.2 Flask-Cors-3.0.10 Flask-SQLAlchemy-3.0.2 Flask-Talisman-1.0.0 Jinja2-3.1.2 MarkupSafe-2.1.2 PySocks-1.7.1 Pygments-2.15.1 SQLAlchemy-2.0.15 Six-1.16.0 Werkzeug-2.2.2 astroid-2.13.5 black-22.3.0 certifi-2023.5.7 charset-normalizer-3.1.0 click-8.1.3 colorama-0.4.6 coverage-7.1.0 defusedxml-0.7.1 dill-0.3.6 factory-boy-3.2.1 flake8-6.0.0 greenlet-2.0.2 gunicorn-20.1.0 honcho-1.1.0 httpie-3.2.1 idna-3.4 importlib-metadata-6.6.0 isort-5.12.0 itsdangerous-2.1.2 lazy-object-proxy-1.9.0 markdown-it-py-2.2.0 mccabe-0.7.0 mdurl-0.1.2 multidict-6.0.4 mypy-extensions-1.0.0 nose-1.3.7 pathspec-0.11.1 pinocchio-0.4.3 platformdirs-3.5.1 psycopg2-binary-2.9.5 pycodestyle-2.10.0 pyflakes-3.0.1 pylint-2.15.10 python-dateutil-2.8.2 python-dotenv-0.21.1 requests-2.31.0 requests-toolbelt-1.0.0 rich-13.3.5 tomli-2.0.1 tomlkit-0.11.8 typing-extensions-4.6.2 urllib3-2.0.2 wrapt-1.15.0 zipp-3.15.0
[lint : flake8] WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[lint : flake8] WARNING: You are using pip version 22.0.4; however, version 23.1.2 is available.
[lint : flake8] You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
[lint : flake8] ./service/routes.py:65:1: E302 expected 2 blank lines, found 1
[lint : flake8] ./service/routes.py:82:1: E302 expected 2 blank lines, found 1
[lint : flake8] ./service/routes.py:99:1: E302 expected 2 blank lines, found 1
[lint : flake8] ./service/routes.py:118:1: E302 expected 2 blank lines, found 1
[lint : flake8] ./tests/test_routes.py:27:1: E302 expected 2 blank lines, found 1
[lint : flake8] ./tests/test_routes.py:197:83: W292 no newline at end of file
[lint : flake8] 5 E302 expected 2 blank lines, found 1
[lint : flake8] 1 W292 no newline at end of file
[lint : flake8] 6
[tests : nosetests] ***** Installing dependencies *****
[tests : nosetests] Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (22.0.4)
[tests : nosetests] Collecting pip
[tests : nosetests] Downloading pip-23.1.2-py3-none-any.whl (2.1 MB)
[tests : nosetests] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 35.9 MB/s eta 0:00:00
[tests : nosetests] Requirement already satisfied: wheel in /usr/local/lib/python3.9/site-packages (0.40.0)
[tests : nosetests] Installing collected packages: pip
[tests : nosetests] Attempting uninstall: pip
[tests : nosetests] Found existing installation: pip 22.0.4
[tests : nosetests] Uninstalling pip-22.0.4:
[tests : nosetests] Successfully uninstalled pip-22.0.4
[tests : nosetests] Successfully installed pip-23.1.2
[tests : nosetests] WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[tests : nosetests] WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
[tests : nosetests] ***** Running nosetests with: -v --with-spec --spec-color
[tests : nosetests] nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
[tests : nosetests] nose.plugins.cover: INFO: Coverage report will include only packages: ['service']
[tests : nosetests]
[tests : nosetests] Test Flask CLI Commands
[tests : nosetests] [1;32m- It should call the db-create command[1;0m
[tests : nosetests]
[tests : nosetests] Test Cases for Account Model
[tests : nosetests] [1;32m- It should Create an account and add it to the database[1;0m
[tests : nosetests] [1;32m- It should Create an Account and assert that it exists[1;0m
[tests : nosetests] [1;32m- It should Delete an account from the database[1;0m
[tests : nosetests] [1;32m- It should Deserialize an account[1;0m
[tests : nosetests] [1;32m- It should not Deserialize an account with a KeyError[1;0m
[tests : nosetests] [1;32m- It should not Deserialize an account with a TypeError[1;0m
[tests : nosetests] [1;32m- It should Find an Account by name[1;0m
[tests : nosetests] [1;32m- It should List all Accounts in the database[1;0m
[tests : nosetests] [1;32m- It should Read an account[1;0m
[tests : nosetests] [1;32m- It should Serialize an account[1;0m
[tests : nosetests] [1;32m- It should Update an account[1;0m
[tests : nosetests]
[tests : nosetests] Account Service Tests
[tests : nosetests] [1;32m- It should not Create an Account when sending the wrong data[1;0m
[tests : nosetests] [1;32m- It should return a CORS header[1;0m
[tests : nosetests] [1;32m- It should Create a new Account[1;0m
[tests : nosetests] [1;32m- It should Delete an Account[1;0m
[tests : nosetests] [1;32m- It should Read a single Account[1;0m
[tests : nosetests] [1;32m- It should Get a list of Accounts[1;0m
[tests : nosetests] [1;32m- It should not Read an Account that is not found[1;0m
[tests : nosetests] [1;32m- It should be healthy[1;0m
[tests : nosetests] [1;32m- It should get 200_OK from the Home Page[1;0m
[tests : nosetests] [1;32m- It should not allow an illegal method call[1;0m
[tests : nosetests] [1;32m- It should return security headers[1;0m
[tests : nosetests] [1;32m- It should not Create an Account when sending the wrong media type[1;0m
[tests : nosetests] [1;32m- It should Update an existing Account[1;0m
[tests : nosetests]
[tests : nosetests] Name Stmts Miss Cover Missing
[tests : nosetests] ----------------------------------------------------------------
[tests : nosetests] service/__init__.py 22 3 86% 36-39
[tests : nosetests] service/common/__init__.py 0 0 100%
[tests : nosetests] service/common/cli_commands.py 7 0 100%
[tests : nosetests] service/common/error_handlers.py 32 3 91% 76-78
[tests : nosetests] service/common/log_handlers.py 10 1 90% 21
[tests : nosetests] service/common/status.py 46 0 100%
[tests : nosetests] service/config.py 11 5 55% 12-16
[tests : nosetests] service/models.py 69 3 96% 32, 98, 127
[tests : nosetests] service/routes.py 56 1 98% 108
[tests : nosetests] ----------------------------------------------------------------
[tests : nosetests] TOTAL 253 16 94%
[tests : nosetests] ----------------------------------------------------------------------
[tests : nosetests] Ran 25 tests in 2.307s
[tests : nosetests]
[tests : nosetests] OK
[tests : nosetests]