· 6 years ago · Mar 13, 2020, 08:18 AM
1Started by user Laurita Strelka
2Running as SYSTEM
3[EnvInject] - Loading node environment variables.
4Building on master in workspace /data/jenkins/workspace/olymp-stage@2
5using credential d919d6aa-ff11-4f0f-a817-dc37e8b1bdea
6 > git rev-parse --is-inside-work-tree # timeout=10
7Fetching changes from the remote Git repository
8 > git config remote.origin.url ssh://git@stash.olymptrade.com:7999/admin/jenkins-tools.git # timeout=10
9Fetching upstream changes from ssh://git@stash.olymptrade.com:7999/admin/jenkins-tools.git
10 > git --version # timeout=10
11using GIT_SSH to set credentials
12 > git fetch --tags --progress ssh://git@stash.olymptrade.com:7999/admin/jenkins-tools.git +refs/heads/*:refs/remotes/origin/*
13 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
14 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
15Checking out Revision 5b0e51b92091fd32692fee47adb1dfb1e036731e (refs/remotes/origin/master)
16 > git config core.sparsecheckout # timeout=10
17 > git checkout -f 5b0e51b92091fd32692fee47adb1dfb1e036731e
18Commit message: "Merge pull request #13 in ADMIN/jenkins-tools from stimofeev/platform-prepare-env.sh-1580918195958 to master"
19 > git rev-list --no-walk 5b0e51b92091fd32692fee47adb1dfb1e036731e # timeout=10
20using credential d919d6aa-ff11-4f0f-a817-dc37e8b1bdea
21 > git rev-parse --is-inside-work-tree # timeout=10
22Fetching changes from the remote Git repository
23 > git config remote.origin.url ssh://git@stash.olymptrade.com:7999/awx-prj/olymptrade.git # timeout=10
24Fetching upstream changes from ssh://git@stash.olymptrade.com:7999/awx-prj/olymptrade.git
25 > git --version # timeout=10
26using GIT_SSH to set credentials
27 > git fetch --tags --progress ssh://git@stash.olymptrade.com:7999/awx-prj/olymptrade.git +refs/heads/*:refs/remotes/origin/*
28 > git rev-parse origin/master^{commit} # timeout=10
29Checking out Revision ae9f0199d8c48b032ee7743bf2c587a91f617656 (origin/master)
30 > git config core.sparsecheckout # timeout=10
31 > git checkout -f ae9f0199d8c48b032ee7743bf2c587a91f617656
32Commit message: "Merge pull request #122 in AWX-PRJ/olymptrade from papilko-test4 to master"
33 > git rev-list --no-walk ae9f0199d8c48b032ee7743bf2c587a91f617656 # timeout=10
34Run condition [Boolean condition] enabling prebuild for step [Trigger/call builds on other projects]
35Waiting for the completion of platform-translates-build
36platform-translates-build #3313 completed. Result was SUCCESS
37Build step 'Trigger/call builds on other projects' changed build result to SUCCESS
38Waiting for the completion of platform-backend-build
39platform-backend-build #16637 completed. Result was SUCCESS
40Waiting for the completion of platform-frontend-build
41platform-frontend-build #8924 completed. Result was SUCCESS
42[olymp-stage@2] $ /bin/sh -xe /tmp/jenkins9191793138079315621.sh
43+ cd /data/jenkins/workspace/olymp-stage@2/jenkins-tools
44+ chmod 755 ./platform-prepare-env.sh
45+ ./platform-prepare-env.sh /data/jenkins/workspace/olymp-stage@2/env.Platform platform-olymptrade
46{
47 "results" : [ {
48 "uri" : "https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/backend/master/backend-1.0.16633-master.tar.gz"
49 } ]
50} = 200
51{
52 "results" : [ {
53 "uri" : "https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/frontend-local/dev/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz"
54 } ]
55} = 200
56{
57 "results" : [ {
58 "uri" : "https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/frontend-cdn/dev/frontend-cdn-1.0.8905-feature_FE-135_interface-scale.tar.gz"
59 } ]
60} = 200
61{
62 "results" : [ {
63 "uri" : "https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/frontend-public/dev/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz"
64 } ]
65} = 200
66BACKEND_ARTIFACT='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/backend/master/backend-1.0.16633-master.tar.gz'
67
68FRONTEND_ARTIFACT='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-local/dev/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz'
69
70FRONTEND_CDN_ARTIFACT='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-cdn/dev/frontend-cdn-1.0.8905-feature_FE-135_interface-scale.tar.gz'
71
72FRONTEND_CDN_PUBLIC_ARTIFACT='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-public/dev/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz'
73
74[EnvInject] - Injecting environment variables from a build step.
75[EnvInject] - Injecting as environment variables the properties file path '/data/jenkins/workspace/olymp-stage@2/env.Platform'
76[EnvInject] - Variables injected successfully.
77[olymp-stage@2] $ /bin/sh -xe /tmp/jenkins5606281263682919604.sh
78+ ansible-galaxy install -f -r requirements.yml -p plays/stage/roles
79- changing role consul from master to master
80- extracting consul to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/consul
81- consul (master) was installed successfully
82- changing role consul-kv from master to master
83- extracting consul-kv to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/consul-kv
84- consul-kv (master) was installed successfully
85- changing role consul-template from master to master
86- extracting consul-template to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/consul-template
87- consul-template (master) was installed successfully
88- changing role mysql-server-multi from master to master
89- extracting mysql-server-multi to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/mysql-server-multi
90- mysql-server-multi (master) was installed successfully
91- changing role mysql-db-restore from master to master
92- extracting mysql-db-restore to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/mysql-db-restore
93- mysql-db-restore (master) was installed successfully
94- changing role os-base from master to master
95- extracting os-base to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/os-base
96- os-base (master) was installed successfully
97- changing role zabbix-agent-basic from master to master
98- extracting zabbix-agent-basic to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/zabbix-agent-basic
99- zabbix-agent-basic (master) was installed successfully
100- changing role devbox-init from master to master
101- extracting devbox-init to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/devbox-init
102- devbox-init (master) was installed successfully
103- changing role redis-instance from master to master
104- extracting redis-instance to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/redis-instance
105- redis-instance (master) was installed successfully
106- changing role rabbitmq from master to master
107- extracting rabbitmq to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/rabbitmq
108- rabbitmq (master) was installed successfully
109- changing role go-service-systemd from master to master
110- extracting go-service-systemd to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/go-service-systemd
111- go-service-systemd (master) was installed successfully
112- changing role php-fpm from master to master
113- extracting php-fpm to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/php-fpm
114- php-fpm (master) was installed successfully
115- changing role kafka from master to master
116- extracting kafka to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/kafka
117- kafka (master) was installed successfully
118- changing role nginx from master to master
119- extracting nginx to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/nginx
120- nginx (master) was installed successfully
121- changing role olymp-db-migrations from master to master
122- extracting olymp-db-migrations to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-db-migrations
123- olymp-db-migrations (master) was installed successfully
124- changing role olymp-backend from master to master
125- extracting olymp-backend to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend
126- olymp-backend (master) was installed successfully
127- changing role olymp-frontend from master to master
128- extracting olymp-frontend to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-frontend
129- olymp-frontend (master) was installed successfully
130- changing role cron_jobs from master to master
131- extracting cron_jobs to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/cron_jobs
132- cron_jobs (master) was installed successfully
133- changing role affiliate_deploy_stage from master to master
134- extracting affiliate_deploy_stage to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/affiliate_deploy_stage
135- affiliate_deploy_stage (master) was installed successfully
136- changing role nginx_reverse_proxy from master to master
137- extracting nginx_reverse_proxy to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/nginx_reverse_proxy
138- nginx_reverse_proxy (master) was installed successfully
139- changing role landing-pixel from master to master
140- extracting landing-pixel to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/landing-pixel
141- landing-pixel (master) was installed successfully
142- changing role add-users-host from master to master
143- extracting add-users-host to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/add-users-host
144- add-users-host (master) was installed successfully
145- changing role consul-migrations from master to master
146- extracting consul-migrations to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/consul-migrations
147- consul-migrations (master) was installed successfully
148- changing role nutcracker from master to master
149- extracting nutcracker to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/nutcracker
150- nutcracker (master) was installed successfully
151- changing role olymp-lands from master to master
152- extracting olymp-lands to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-lands
153- olymp-lands (master) was installed successfully
154- changing role kafka-admin from master to master
155- extracting kafka-admin to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/kafka-admin
156- kafka-admin (master) was installed successfully
157- changing role elasticbeats from master to master
158- extracting elasticbeats to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/elasticbeats
159- elasticbeats (master) was installed successfully
160- changing role elastalert from master to master
161- extracting elastalert to /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/elastalert
162- elastalert (master) was installed successfully
163[olymp-stage@2] $ /bin/sh -xe /tmp/jenkins3645647219523727471.sh
164+ ANSIBLE_CONFIG=plays/stage/ansible.cfg ansible-playbook -i inventories/stage-deac-common/hosts plays/stage/platform_backend.yml -e platform__jfrog_back_src='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/backend/master/backend-1.0.16633-master.tar.gz' -e platform__jfrog_user=**** -e platform__jfrog_pass=**** -e olymp_backend__php_fpm_service_name=php7.3-fpm -e olymp_backend__translates_branch=master -e olymp_backend__billing_host=billy4.billygate.com -e olymp_backend__billing_url=https://billy4.billygate.com -e platform__server_name=l-s-cac1-1.stage307.tech -e platform__server_name=l-s-cac1-1.stage307.tech -l app
165[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to
166allow bad characters in group names by default, this will change, but still be
167user configurable on deprecation. This feature will be removed in version 2.10.
168 Deprecation warnings can be disabled by setting deprecation_warnings=False in
169ansible.cfg.
170[WARNING]: Invalid characters were found in group names but not replaced, use
171-vvvv to see details
172
173PLAY [all] *********************************************************************
174[WARNING]: While constructing a mapping from /data/jenkins/workspace/olymp-
175stage@2/inventories/stage-deac-common/group_vars/all/54-olymp-backend.yml, line
1761, column 1, found a duplicate dict key (olymp_backend__slack_enabled). Using
177last defined value only.
178
179TASK [Gathering Facts] *********************************************************
180Friday 13 March 2020 11:01:16 +0300 (0:00:00.110) 0:00:00.110 **********
181[WARNING]: Platform linux on host app0.stage.space307.tech is using the
182discovered Python interpreter at /usr/bin/python, but future installation of
183another Python interpreter could change this. See https://docs.ansible.com/ansi
184ble/2.9/reference_appendices/interpreter_discovery.html for more information.
185ok: [app0.stage.space307.tech]
186
187TASK [olymp-backend : Validating variables] ************************************
188Friday 13 March 2020 11:01:24 +0300 (0:00:07.227) 0:00:07.337 **********
189ok: [app0.stage.space307.tech] => {
190 "changed": false,
191 "msg": "All assertions passed"
192}
193
194TASK [olymp-backend : include_tasks] *******************************************
195Friday 13 March 2020 11:01:24 +0300 (0:00:00.103) 0:00:07.441 **********
196included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/deploy.yml for app0.stage.space307.tech
197
198TASK [olymp-backend : Reload php or reset opcache. Checking only one is enabled.] ***
199Friday 13 March 2020 11:01:24 +0300 (0:00:00.208) 0:00:07.650 **********
200skipping: [app0.stage.space307.tech]
201
202TASK [olymp-backend : Creating scripts dir] ************************************
203Friday 13 March 2020 11:01:24 +0300 (0:00:00.078) 0:00:07.728 **********
204ok: [app0.stage.space307.tech]
205
206TASK [olymp-backend : Copy release information script] *************************
207Friday 13 March 2020 11:01:25 +0300 (0:00:00.534) 0:00:08.263 **********
208changed: [app0.stage.space307.tech]
209
210TASK [olymp-backend : Creating events fallback directory] **********************
211Friday 13 March 2020 11:01:26 +0300 (0:00:01.759) 0:00:10.023 **********
212ok: [app0.stage.space307.tech]
213
214TASK [olymp-backend : Creating release directories] ****************************
215Friday 13 March 2020 11:01:27 +0300 (0:00:00.243) 0:00:10.266 **********
216ok: [app0.stage.space307.tech] => (item=Dir: /data/olymptrade.com-backend/stage307.tech)
217changed: [app0.stage.space307.tech] => (item=Dir: /data/olymptrade.com-share/stage307.tech/l-s-cac1-1)
218
219TASK [olymp-backend : Splitting url to jfrog url and artifact path] ************
220Friday 13 March 2020 11:01:27 +0300 (0:00:00.445) 0:00:10.711 **********
221ok: [app0.stage.space307.tech]
222
223TASK [olymp-backend : Requesting sha256 checksum of https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/backend/master/backend-1.0.16633-master.tar.gz] ***
224Friday 13 March 2020 11:01:27 +0300 (0:00:00.133) 0:00:10.845 **********
225ok: [app0.stage.space307.tech]
226
227TASK [olymp-backend : Requesting properties https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/backend/master/backend-1.0.16633-master.tar.gz] ***
228Friday 13 March 2020 11:01:28 +0300 (0:00:00.673) 0:00:11.519 **********
229ok: [app0.stage.space307.tech]
230
231TASK [olymp-backend : Determining new release number] **************************
232Friday 13 March 2020 11:01:28 +0300 (0:00:00.362) 0:00:11.881 **********
233ok: [app0.stage.space307.tech]
234
235TASK [olymp-backend : Determining release path] ********************************
236Friday 13 March 2020 11:01:28 +0300 (0:00:00.051) 0:00:11.933 **********
237ok: [app0.stage.space307.tech]
238
239TASK [olymp-backend : Creating release directories] ****************************
240Friday 13 March 2020 11:01:28 +0300 (0:00:00.074) 0:00:12.008 **********
241ok: [app0.stage.space307.tech] => (item=Dir: /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633)
242
243TASK [olymp-backend : Branch and commit build_number build_timestamp are] ******
244Friday 13 March 2020 11:01:29 +0300 (0:00:00.291) 0:00:12.299 **********
245ok: [app0.stage.space307.tech] => {
246 "msg": "master 52a367abef754827bc3a7003a6979acd33d3c7fa 16633 1584084351266"
247}
248
249TASK [olymp-backend : Downloading backend https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/backend/master/backend-1.0.16633-master.tar.gz to /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/backend-1.0.16633-master.tar.gz] ***
250Friday 13 March 2020 11:01:29 +0300 (0:00:00.054) 0:00:12.354 **********
251changed: [app0.stage.space307.tech]
252
253TASK [olymp-backend : Unpacking /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/backend-1.0.16633-master.tar.gz to /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1] ***
254Friday 13 March 2020 11:01:30 +0300 (0:00:01.208) 0:00:13.563 **********
255changed: [app0.stage.space307.tech]
256
257TASK [olymp-backend : Delete /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/backend-1.0.16633-master.tar.gz] ***
258Friday 13 March 2020 11:01:44 +0300 (0:00:13.893) 0:00:27.456 **********
259changed: [app0.stage.space307.tech]
260
261TASK [olymp-backend : debug] ***************************************************
262Friday 13 March 2020 11:01:44 +0300 (0:00:00.161) 0:00:27.618 **********
263skipping: [app0.stage.space307.tech]
264
265TASK [olymp-backend : set_fact] ************************************************
266Friday 13 March 2020 11:01:44 +0300 (0:00:00.034) 0:00:27.653 **********
267skipping: [app0.stage.space307.tech]
268
269TASK [olymp-backend : include] *************************************************
270Friday 13 March 2020 11:01:44 +0300 (0:00:00.040) 0:00:27.694 **********
271included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/make-configs.yml for app0.stage.space307.tech
272
273TASK [olymp-backend : Remove cached files after fetch module] ******************
274Friday 13 March 2020 11:01:44 +0300 (0:00:00.087) 0:00:27.781 **********
275changed: [app0.stage.space307.tech -> localhost] => (item=/tmp/app0.stage.space307.tech/data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config.php.j2)
276changed: [app0.stage.space307.tech -> localhost] => (item=/tmp/app0.stage.space307.tech/data/olymptrade.com-share/stage307.tech/l-s-cac1-1/cdn_release_id)
277changed: [app0.stage.space307.tech -> localhost] => (item=/tmp/app0.stage.space307.tech//data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config/frontend.php.j2)
278
279TASK [olymp-backend : Fetching /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config.php.j2 from app0.stage.space307.tech] ***
280Friday 13 March 2020 11:01:44 +0300 (0:00:00.428) 0:00:28.210 **********
281changed: [app0.stage.space307.tech]
282
283TASK [olymp-backend : Fetching /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config/frontend.php.j2 from app0.stage.space307.tech] ***
284Friday 13 March 2020 11:01:45 +0300 (0:00:00.444) 0:00:28.655 **********
285changed: [app0.stage.space307.tech]
286
287TASK [olymp-backend : Fetching /data/olymptrade.com-share/stage307.tech/l-s-cac1-1/cdn_release_id from app0.stage.space307.tech] ***
288Friday 13 March 2020 11:01:45 +0300 (0:00:00.163) 0:00:28.818 **********
289changed: [app0.stage.space307.tech]
290
291TASK [olymp-backend : Fetching /data/olymptrade.com-share/stage307.tech/l-s-cac1-1/cdn_public_folder from app0.stage.space307.tech] ***
292Friday 13 March 2020 11:01:45 +0300 (0:00:00.163) 0:00:28.982 **********
293ok: [app0.stage.space307.tech]
294
295TASK [olymp-backend : set_fact] ************************************************
296Friday 13 March 2020 11:01:45 +0300 (0:00:00.164) 0:00:29.147 **********
297ok: [app0.stage.space307.tech]
298
299TASK [olymp-backend : set_fact] ************************************************
300Friday 13 March 2020 11:01:45 +0300 (0:00:00.049) 0:00:29.196 **********
301ok: [app0.stage.space307.tech]
302
303TASK [olymp-backend : set cd release id var from shared dir] *******************
304Friday 13 March 2020 11:01:46 +0300 (0:00:00.076) 0:00:29.273 **********
305ok: [app0.stage.space307.tech]
306
307TASK [olymp-backend : set cd release id var from shared dir] *******************
308Friday 13 March 2020 11:01:46 +0300 (0:00:00.055) 0:00:29.328 **********
309ok: [app0.stage.space307.tech]
310
311TASK [olymp-backend : CDN release id from shared dir is] ***********************
312Friday 13 March 2020 11:01:46 +0300 (0:00:00.053) 0:00:29.381 **********
313ok: [app0.stage.space307.tech] => {
314 "plf_deploy__cdn_release_id": "1.0.8905"
315}
316
317TASK [olymp-backend : CDN public folder from shared dir is] ********************
318Friday 13 March 2020 11:01:46 +0300 (0:00:00.048) 0:00:29.430 **********
319ok: [app0.stage.space307.tech] => {
320 "plf_deploy__cdn_public_folder": "l-s-cac1-1"
321}
322
323TASK [olymp-backend : set_fact] ************************************************
324Friday 13 March 2020 11:01:46 +0300 (0:00:00.039) 0:00:29.469 **********
325ok: [app0.stage.space307.tech]
326
327TASK [olymp-backend : set_fact] ************************************************
328Friday 13 March 2020 11:01:46 +0300 (0:00:00.059) 0:00:29.528 **********
329skipping: [app0.stage.space307.tech]
330
331TASK [olymp-backend : Setting billing host to billy4.billygate.com] ************
332Friday 13 March 2020 11:01:46 +0300 (0:00:00.038) 0:00:29.567 **********
333ok: [app0.stage.space307.tech]
334
335TASK [olymp-backend : Setting billing url to https://billy4.billygate.com] *****
336Friday 13 March 2020 11:01:46 +0300 (0:00:00.048) 0:00:29.615 **********
337ok: [app0.stage.space307.tech]
338
339TASK [olymp-backend : Templating /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config.php.j2] ***
340Friday 13 March 2020 11:01:46 +0300 (0:00:00.050) 0:00:29.666 **********
341ok: [app0.stage.space307.tech]
342
343TASK [olymp-backend : Templating /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config/frontend.php.j2] ***
344Friday 13 March 2020 11:01:47 +0300 (0:00:01.261) 0:00:30.928 **********
345ok: [app0.stage.space307.tech]
346
347TASK [olymp-backend : include] *************************************************
348Friday 13 March 2020 11:01:49 +0300 (0:00:01.316) 0:00:32.245 **********
349included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/consul.yml for app0.stage.space307.tech
350
351TASK [olymp-backend : Testing consul-template configs] *************************
352Friday 13 March 2020 11:01:49 +0300 (0:00:00.116) 0:00:32.361 **********
353changed: [app0.stage.space307.tech] => (item={u'src': u'base.php.ctmpl', u'dst': u'base.php'})
354changed: [app0.stage.space307.tech] => (item={u'src': u'app.php.ctmpl', u'dst': u'app.php'})
355
356TASK [olymp-backend : Creating consul-template configs] ************************
357Friday 13 March 2020 11:01:51 +0300 (0:00:02.775) 0:00:35.137 **********
358skipping: [app0.stage.space307.tech] => (item=20-olymptrade-config.hcl)
359
360TASK [olymp-backend : Reloading consul-template] *******************************
361Friday 13 March 2020 11:01:51 +0300 (0:00:00.039) 0:00:35.177 **********
362skipping: [app0.stage.space307.tech]
363
364TASK [olymp-backend : Getting consul-template status"] *************************
365Friday 13 March 2020 11:01:51 +0300 (0:00:00.047) 0:00:35.224 **********
366skipping: [app0.stage.space307.tech]
367
368TASK [olymp-backend : Waiting configs] *****************************************
369Friday 13 March 2020 11:01:52 +0300 (0:00:00.045) 0:00:35.270 **********
370skipping: [app0.stage.space307.tech] => (item=base.php)
371skipping: [app0.stage.space307.tech] => (item=app.php)
372
373TASK [olymp-backend : Run bin/console translates:rebuild files] ****************
374Friday 13 March 2020 11:01:52 +0300 (0:00:00.066) 0:00:35.336 **********
375changed: [app0.stage.space307.tech]
376
377TASK [olymp-backend : debug] ***************************************************
378Friday 13 March 2020 11:01:53 +0300 (0:00:01.170) 0:00:36.507 **********
379ok: [app0.stage.space307.tech] => (item=olymp_backend__rebuiding_translates_files.stdout_lines) => {
380 "ansible_loop_var": "item",
381 "item": "olymp_backend__rebuiding_translates_files.stdout_lines",
382 "olymp_backend__rebuiding_translates_files.stdout_lines": [
383 "Update FileCache from TechDB: OK",
384 "Update FileCache from service: OK"
385 ]
386}
387ok: [app0.stage.space307.tech] => (item=olymp_backend__rebuiding_translates_files.stderr_lines) => {
388 "ansible_loop_var": "item",
389 "item": "olymp_backend__rebuiding_translates_files.stderr_lines",
390 "olymp_backend__rebuiding_translates_files.stderr_lines": []
391}
392
393TASK [olymp-backend : include_tasks] *******************************************
394Friday 13 March 2020 11:01:53 +0300 (0:00:00.107) 0:00:36.614 **********
395skipping: [app0.stage.space307.tech]
396
397TASK [olymp-backend : Rebuilding translates in filesystem FAILED] **************
398Friday 13 March 2020 11:01:53 +0300 (0:00:00.059) 0:00:36.674 **********
399skipping: [app0.stage.space307.tech]
400
401TASK [olymp-backend : Run bin/console translates:rebuild redis] ****************
402Friday 13 March 2020 11:01:53 +0300 (0:00:00.052) 0:00:36.726 **********
403changed: [app0.stage.space307.tech]
404
405TASK [olymp-backend : include_tasks] *******************************************
406Friday 13 March 2020 11:01:56 +0300 (0:00:02.755) 0:00:39.482 **********
407skipping: [app0.stage.space307.tech]
408
409TASK [olymp-backend : Rebuilding translates FAILED] ****************************
410Friday 13 March 2020 11:01:56 +0300 (0:00:00.066) 0:00:39.549 **********
411skipping: [app0.stage.space307.tech]
412
413TASK [olymp-backend : Change release directory permission] *********************
414Friday 13 March 2020 11:01:56 +0300 (0:00:00.045) 0:00:39.595 **********
415ok: [app0.stage.space307.tech]
416
417TASK [olymp-backend : Making symlink from /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633 to /data/olymptrade.com-backend/stage307.tech/l-s-cac1-1] ***
418Friday 13 March 2020 11:01:59 +0300 (0:00:02.856) 0:00:42.451 **********
419ok: [app0.stage.space307.tech]
420
421TASK [olymp-backend : include_tasks] *******************************************
422Friday 13 March 2020 11:01:59 +0300 (0:00:00.206) 0:00:42.658 **********
423included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/php-fpm.yml for app0.stage.space307.tech
424
425TASK [olymp-backend : debug] ***************************************************
426Friday 13 March 2020 11:01:59 +0300 (0:00:00.085) 0:00:42.743 **********
427skipping: [app0.stage.space307.tech]
428
429TASK [olymp-backend : Install cgi-fcgi tool] ***********************************
430Friday 13 March 2020 11:01:59 +0300 (0:00:00.045) 0:00:42.789 **********
431skipping: [app0.stage.space307.tech]
432
433TASK [olymp-backend : Creating opcache scripts dir] ****************************
434Friday 13 March 2020 11:01:59 +0300 (0:00:00.056) 0:00:42.845 **********
435skipping: [app0.stage.space307.tech]
436
437TASK [olymp-backend : Copy fpm-fcgi script to /data/opcache/php-fcgi.sh] *******
438Friday 13 March 2020 11:01:59 +0300 (0:00:00.061) 0:00:42.907 **********
439skipping: [app0.stage.space307.tech]
440
441TASK [olymp-backend : Copy opcache php scripts to /data/opcache] ***************
442Friday 13 March 2020 11:01:59 +0300 (0:00:00.041) 0:00:42.948 **********
443skipping: [app0.stage.space307.tech] => (item=opcache-reset.php)
444skipping: [app0.stage.space307.tech] => (item=opcache-status.php)
445
446TASK [olymp-backend : Requesting opcache status] *******************************
447Friday 13 March 2020 11:01:59 +0300 (0:00:00.057) 0:00:43.006 **********
448skipping: [app0.stage.space307.tech]
449
450TASK [olymp-backend : Printing opcache status] *********************************
451Friday 13 March 2020 11:01:59 +0300 (0:00:00.056) 0:00:43.062 **********
452skipping: [app0.stage.space307.tech]
453
454TASK [olymp-backend : Resetting opcache using script /data/opcache/fpm-cgi.sh] ***
455Friday 13 March 2020 11:01:59 +0300 (0:00:00.073) 0:00:43.136 **********
456skipping: [app0.stage.space307.tech]
457
458TASK [olymp-backend : Printing opcache resetting result] ***********************
459Friday 13 March 2020 11:01:59 +0300 (0:00:00.044) 0:00:43.181 **********
460skipping: [app0.stage.space307.tech]
461
462TASK [olymp-backend : Reloading php7.3-fpm] ************************************
463Friday 13 March 2020 11:01:59 +0300 (0:00:00.057) 0:00:43.239 **********
464changed: [app0.stage.space307.tech]
465
466TASK [olymp-backend : Reloading pushprom] **************************************
467Friday 13 March 2020 11:02:02 +0300 (0:00:02.264) 0:00:45.504 **********
468changed: [app0.stage.space307.tech]
469
470TASK [olymp-backend : Run bin/console release:event to send event to Prometheus] ***
471Friday 13 March 2020 11:02:03 +0300 (0:00:01.345) 0:00:46.849 **********
472changed: [app0.stage.space307.tech]
473
474TASK [olymp-backend : Send event to Prometheus FAILED] *************************
475Friday 13 March 2020 11:02:04 +0300 (0:00:00.663) 0:00:47.512 **********
476skipping: [app0.stage.space307.tech]
477
478TASK [olymp-backend : include_tasks] *******************************************
479Friday 13 March 2020 11:02:04 +0300 (0:00:00.067) 0:00:47.580 **********
480included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/send-slack-msg.yml for app0.stage.space307.tech
481
482TASK [olymp-backend : Send slack report] ***************************************
483Friday 13 March 2020 11:02:04 +0300 (0:00:00.104) 0:00:47.684 **********
484skipping: [app0.stage.space307.tech]
485
486TASK [olymp-backend : include_tasks] *******************************************
487Friday 13 March 2020 11:02:04 +0300 (0:00:00.060) 0:00:47.745 **********
488included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/remove-old-releases.yml for app0.stage.space307.tech
489
490TASK [olymp-backend : Find releases at /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1] ***
491Friday 13 March 2020 11:02:04 +0300 (0:00:00.102) 0:00:47.848 **********
492ok: [app0.stage.space307.tech]
493
494TASK [olymp-backend : Stat root dir] *******************************************
495Friday 13 March 2020 11:02:05 +0300 (0:00:00.513) 0:00:48.362 **********
496ok: [app0.stage.space307.tech]
497
498TASK [olymp-backend : Preparing sorted list of releases] ***********************
499Friday 13 March 2020 11:02:05 +0300 (0:00:00.870) 0:00:49.233 **********
500ok: [app0.stage.space307.tech]
501
502TASK [olymp-backend : Prepare list of releases to remove] **********************
503Friday 13 March 2020 11:02:06 +0300 (0:00:00.069) 0:00:49.302 **********
504ok: [app0.stage.space307.tech]
505
506TASK [olymp-backend : Current releases are] ************************************
507Friday 13 March 2020 11:02:06 +0300 (0:00:00.068) 0:00:49.371 **********
508ok: [app0.stage.space307.tech] => {
509 "olymp_backend__releases": [
510 "/data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633"
511 ]
512}
513
514TASK [olymp-backend : Releases to remove] **************************************
515Friday 13 March 2020 11:02:06 +0300 (0:00:00.076) 0:00:49.448 **********
516ok: [app0.stage.space307.tech] => {
517 "olymp_backend__remove_releases": []
518}
519
520TASK [olymp-backend : Remove releases] *****************************************
521Friday 13 March 2020 11:02:06 +0300 (0:00:00.059) 0:00:49.507 **********
522
523TASK [olymp-backend : Removing consul-template configs] ************************
524Friday 13 March 2020 11:02:06 +0300 (0:00:00.042) 0:00:49.550 **********
525
526TASK [olymp-backend : Reloading consul-template] *******************************
527Friday 13 March 2020 11:02:06 +0300 (0:00:00.051) 0:00:49.602 **********
528changed: [app0.stage.space307.tech]
529
530TASK [olymp-backend : Getting consul-template status"] *************************
531Friday 13 March 2020 11:02:07 +0300 (0:00:01.318) 0:00:50.920 **********
532[WARNING]: Consider using the service module rather than running 'service'. If
533you need to use command because service is insufficient you can add 'warn:
534false' to this command task or set 'command_warnings=False' in ansible.cfg to
535get rid of this message.
536changed: [app0.stage.space307.tech]
537
538TASK [olymp-backend : Validating variables] ************************************
539Friday 13 March 2020 11:02:08 +0300 (0:00:00.558) 0:00:51.479 **********
540ok: [app0.stage.space307.tech] => {
541 "changed": false,
542 "msg": "All assertions passed"
543}
544
545TASK [olymp-backend : include_tasks] *******************************************
546Friday 13 March 2020 11:02:08 +0300 (0:00:00.073) 0:00:51.553 **********
547skipping: [app0.stage.space307.tech]
548
549TASK [olymp-backend : include_tasks] *******************************************
550Friday 13 March 2020 11:02:08 +0300 (0:00:00.047) 0:00:51.601 **********
551skipping: [app0.stage.space307.tech]
552
553PLAY RECAP *********************************************************************
554app0.stage.space307.tech : ok=56 changed=17 unreachable=0 failed=0 skipped=27 rescued=0 ignored=0
555
556Friday 13 March 2020 11:02:08 +0300 (0:00:00.030) 0:00:51.631 **********
557===============================================================================
558olymp-backend ---------------------------------------------------------- 44.29s
559gather_facts ------------------------------------------------------------ 7.23s
560~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
561total ------------------------------------------------------------------ 51.52s
562Playbook run took 0 days, 0 hours, 0 minutes, 51 seconds
563[olymp-stage@2] $ /bin/sh -xe /tmp/jenkins5202194070907352223.sh
564+ ANSIBLE_CONFIG=plays/stage/ansible.cfg ansible-playbook -i inventories/stage-deac-common/hosts plays/stage/platform_frontend.yml -e platform__jfrog_front_src='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-local/dev/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz' -e platform__jfrog_cdn_src='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-cdn/dev/frontend-cdn-1.0.8905-feature_FE-135_interface-scale.tar.gz' -e platform__jfrog_cdn_public_src_url='https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-public/dev/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz' -e platform__jfrog_user=**** -e platform__jfrog_pass=**** -e platform__server_name=l-s-cac1-1.stage307.tech -e olymp_backend__php_fpm_service_name=php7.3-fpm -e olymp_backend__billing_host=billy4.billygate.com -e olymp_backend__billing_url=https://billy4.billygate.com -e platform__server_name=l-s-cac1-1.stage307.tech -l app
565[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to
566allow bad characters in group names by default, this will change, but still be
567user configurable on deprecation. This feature will be removed in version 2.10.
568 Deprecation warnings can be disabled by setting deprecation_warnings=False in
569ansible.cfg.
570[WARNING]: Invalid characters were found in group names but not replaced, use
571-vvvv to see details
572
573PLAY [all] *********************************************************************
574[WARNING]: While constructing a mapping from /data/jenkins/workspace/olymp-
575stage@2/inventories/stage-deac-common/group_vars/all/54-olymp-backend.yml, line
5761, column 1, found a duplicate dict key (olymp_backend__slack_enabled). Using
577last defined value only.
578
579TASK [Gathering Facts] *********************************************************
580Friday 13 March 2020 11:02:09 +0300 (0:00:00.109) 0:00:00.109 **********
581[WARNING]: Platform linux on host app0.stage.space307.tech is using the
582discovered Python interpreter at /usr/bin/python, but future installation of
583another Python interpreter could change this. See https://docs.ansible.com/ansi
584ble/2.9/reference_appendices/interpreter_discovery.html for more information.
585ok: [app0.stage.space307.tech]
586
587TASK [olymp-frontend : Validating variables] ***********************************
588Friday 13 March 2020 11:02:15 +0300 (0:00:05.922) 0:00:06.031 **********
589ok: [app0.stage.space307.tech] => {
590 "changed": false,
591 "msg": "All assertions passed"
592}
593
594TASK [olymp-frontend : include_tasks] ******************************************
595Friday 13 March 2020 11:02:15 +0300 (0:00:00.079) 0:00:06.111 **********
596included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-frontend/tasks/cdn/main.yml for app0.stage.space307.tech
597
598TASK [olymp-frontend : Validate variables] *************************************
599Friday 13 March 2020 11:02:15 +0300 (0:00:00.118) 0:00:06.229 **********
600ok: [app0.stage.space307.tech] => {
601 "changed": false,
602 "msg": "All assertions passed"
603}
604
605TASK [olymp-frontend : Splitting url to jfrog url and artifact path] ***********
606Friday 13 March 2020 11:02:15 +0300 (0:00:00.083) 0:00:06.312 **********
607ok: [app0.stage.space307.tech]
608
609TASK [olymp-frontend : Requesting properties https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/frontend-cdn/dev/frontend-cdn-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
610Friday 13 March 2020 11:02:15 +0300 (0:00:00.100) 0:00:06.413 **********
611ok: [app0.stage.space307.tech]
612
613TASK [olymp-frontend : debug] **************************************************
614Friday 13 March 2020 11:02:16 +0300 (0:00:00.696) 0:00:07.109 **********
615ok: [app0.stage.space307.tech] => {
616 "olymp_frontend__uri_properties.msg": "OK (unknown bytes)"
617}
618
619TASK [olymp-frontend : Fail when cdn release id is undifined] ******************
620Friday 13 March 2020 11:02:16 +0300 (0:00:00.045) 0:00:07.154 **********
621skipping: [app0.stage.space307.tech]
622
623TASK [olymp-frontend : CDN release from artifact is] ***************************
624Friday 13 March 2020 11:02:16 +0300 (0:00:00.047) 0:00:07.202 **********
625ok: [app0.stage.space307.tech] => {
626 "msg": "1.0.8905"
627}
628
629TASK [olymp-frontend : set_fact] ***********************************************
630Friday 13 March 2020 11:02:16 +0300 (0:00:00.049) 0:00:07.251 **********
631ok: [app0.stage.space307.tech]
632
633TASK [olymp-frontend : Validate cdn release id] ********************************
634Friday 13 March 2020 11:02:16 +0300 (0:00:00.056) 0:00:07.307 **********
635ok: [app0.stage.space307.tech] => {
636 "changed": false,
637 "msg": "All assertions passed"
638}
639
640TASK [olymp-frontend : include] ************************************************
641Friday 13 March 2020 11:02:16 +0300 (0:00:00.052) 0:00:07.360 **********
642included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-frontend/tasks/cdn/local.yml for app0.stage.space307.tech
643
644TASK [olymp-frontend : Verify CDN is already deployed] *************************
645Friday 13 March 2020 11:02:16 +0300 (0:00:00.135) 0:00:07.495 **********
646ok: [app0.stage.space307.tech]
647
648TASK [olymp-frontend : Requesting sha256 checksum of https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-cdn/dev/frontend-cdn-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
649Friday 13 March 2020 11:02:18 +0300 (0:00:01.180) 0:00:08.676 **********
650skipping: [app0.stage.space307.tech]
651
652TASK [olymp-frontend : Determining new release number] *************************
653Friday 13 March 2020 11:02:18 +0300 (0:00:00.035) 0:00:08.711 **********
654skipping: [app0.stage.space307.tech]
655
656TASK [olymp-frontend : Determining release path] *******************************
657Friday 13 March 2020 11:02:18 +0300 (0:00:00.039) 0:00:08.751 **********
658skipping: [app0.stage.space307.tech]
659
660TASK [olymp-frontend : Creating release directories] ***************************
661Friday 13 March 2020 11:02:18 +0300 (0:00:00.040) 0:00:08.792 **********
662skipping: [app0.stage.space307.tech]
663
664TASK [olymp-frontend : Downloading CDN artifact {{ olymp_frontend__cdn_src_url }} to {{ olymp_frontend__cdn_file_path }}] ***
665Friday 13 March 2020 11:02:18 +0300 (0:00:00.045) 0:00:08.837 **********
666skipping: [app0.stage.space307.tech]
667
668TASK [olymp-frontend : Unpacking {{ olymp_frontend__cdn_file_path }} to {{ olymp_frontend__cdn_full_dir }}] ***
669Friday 13 March 2020 11:02:18 +0300 (0:00:00.041) 0:00:08.878 **********
670skipping: [app0.stage.space307.tech]
671
672TASK [olymp-frontend : Delete {{ olymp_frontend__cdn_file_path }}] *************
673Friday 13 March 2020 11:02:18 +0300 (0:00:00.041) 0:00:08.919 **********
674skipping: [app0.stage.space307.tech]
675
676TASK [olymp-frontend : Requesting sha256 checksum of https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-public/dev/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
677Friday 13 March 2020 11:02:18 +0300 (0:00:00.040) 0:00:08.960 **********
678ok: [app0.stage.space307.tech]
679
680TASK [olymp-frontend : Determining release path] *******************************
681Friday 13 March 2020 11:02:18 +0300 (0:00:00.312) 0:00:09.273 **********
682ok: [app0.stage.space307.tech]
683
684TASK [olymp-frontend : Creating cdn-public release directories] ****************
685Friday 13 March 2020 11:02:18 +0300 (0:00:00.050) 0:00:09.323 **********
686ok: [app0.stage.space307.tech] => (item=Dir: /data/olymptrade.com-cdn/stage307.tech/l-s-cac1-1)
687
688TASK [olymp-frontend : Downloading CDN artifact https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-public/dev/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz to /data/olymptrade.com-cdn/stage307.tech/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
689Friday 13 March 2020 11:02:19 +0300 (0:00:00.475) 0:00:09.799 **********
690changed: [app0.stage.space307.tech]
691
692TASK [olymp-frontend : Unpacking /data/olymptrade.com-cdn/stage307.tech/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz to /data/olymptrade.com-cdn/stage307.tech/l-s-cac1-1] ***
693Friday 13 March 2020 11:02:20 +0300 (0:00:01.003) 0:00:10.802 **********
694ok: [app0.stage.space307.tech]
695
696TASK [olymp-frontend : Delete /data/olymptrade.com-cdn/stage307.tech/frontend-public-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
697Friday 13 March 2020 11:02:26 +0300 (0:00:06.310) 0:00:17.113 **********
698changed: [app0.stage.space307.tech]
699
700TASK [olymp-frontend : Creating shared dir] ************************************
701Friday 13 March 2020 11:02:26 +0300 (0:00:00.195) 0:00:17.308 **********
702changed: [app0.stage.space307.tech] => (item=Dir: /data/olymptrade.com-share/stage307.tech/l-s-cac1-1)
703
704TASK [olymp-frontend : Stat remove lock file] **********************************
705Friday 13 March 2020 11:02:26 +0300 (0:00:00.244) 0:00:17.553 **********
706ok: [app0.stage.space307.tech]
707
708TASK [olymp-frontend : Create lock file to protect from removing by other deploys] ***
709Friday 13 March 2020 11:02:27 +0300 (0:00:00.211) 0:00:17.764 **********
710changed: [app0.stage.space307.tech]
711
712TASK [olymp-frontend : Find releases at /data/olymptrade.com-cdn/stage307.tech which are older then 1 week] ***
713Friday 13 March 2020 11:02:27 +0300 (0:00:00.330) 0:00:18.095 **********
714ok: [app0.stage.space307.tech]
715
716TASK [olymp-frontend : Preparing sorted list of releases] **********************
717Friday 13 March 2020 11:02:27 +0300 (0:00:00.482) 0:00:18.577 **********
718ok: [app0.stage.space307.tech]
719
720TASK [olymp-frontend : Found old releases] *************************************
721Friday 13 March 2020 11:02:28 +0300 (0:00:00.063) 0:00:18.641 **********
722ok: [app0.stage.space307.tech] => {
723 "olymp_frontend__old_releases": []
724}
725
726TASK [olymp-frontend : Remove releases older then 1 week] **********************
727Friday 13 March 2020 11:02:28 +0300 (0:00:00.072) 0:00:18.713 **********
728
729TASK [olymp-frontend : Remove lock file] ***************************************
730Friday 13 March 2020 11:02:28 +0300 (0:00:00.078) 0:00:18.791 **********
731changed: [app0.stage.space307.tech]
732
733TASK [olymp-frontend : include] ************************************************
734Friday 13 March 2020 11:02:28 +0300 (0:00:00.228) 0:00:19.020 **********
735skipping: [app0.stage.space307.tech]
736
737TASK [olymp-frontend : include] ************************************************
738Friday 13 March 2020 11:02:28 +0300 (0:00:00.055) 0:00:19.075 **********
739skipping: [app0.stage.space307.tech]
740
741TASK [olymp-frontend : include_tasks] ******************************************
742Friday 13 March 2020 11:02:28 +0300 (0:00:00.055) 0:00:19.131 **********
743included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-frontend/tasks/deploy.yml for app0.stage.space307.tech
744
745TASK [olymp-frontend : Creating scripts dir] ***********************************
746Friday 13 March 2020 11:02:28 +0300 (0:00:00.077) 0:00:19.208 **********
747ok: [app0.stage.space307.tech]
748
749TASK [olymp-frontend : Copy release information script] ************************
750Friday 13 March 2020 11:02:28 +0300 (0:00:00.208) 0:00:19.417 **********
751changed: [app0.stage.space307.tech]
752
753TASK [olymp-frontend : Splitting url to jfrog url and artifact path] ***********
754Friday 13 March 2020 11:02:30 +0300 (0:00:01.589) 0:00:21.007 **********
755ok: [app0.stage.space307.tech]
756
757TASK [olymp-frontend : Copy json to php converting script] *********************
758Friday 13 March 2020 11:02:30 +0300 (0:00:00.051) 0:00:21.058 **********
759ok: [app0.stage.space307.tech]
760
761TASK [olymp-frontend : Requesting sha256 checksum of https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-local/dev/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
762Friday 13 March 2020 11:02:31 +0300 (0:00:01.267) 0:00:22.326 **********
763ok: [app0.stage.space307.tech]
764
765TASK [olymp-frontend : Requesting properties https://jfrog.space307.tech:443/api/storage/platform-olymptrade/olymptrade/frontend-local/dev/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
766Friday 13 March 2020 11:02:32 +0300 (0:00:00.304) 0:00:22.630 **********
767ok: [app0.stage.space307.tech]
768
769TASK [olymp-frontend : Determining new release number] *************************
770Friday 13 March 2020 11:02:32 +0300 (0:00:00.281) 0:00:22.911 **********
771ok: [app0.stage.space307.tech]
772
773TASK [olymp-frontend : Determining release path] *******************************
774Friday 13 March 2020 11:02:32 +0300 (0:00:00.047) 0:00:22.959 **********
775ok: [app0.stage.space307.tech]
776
777TASK [olymp-frontend : Branch and commit are] **********************************
778Friday 13 March 2020 11:02:32 +0300 (0:00:00.055) 0:00:23.015 **********
779ok: [app0.stage.space307.tech] => {
780 "msg": "feature/FE-135_interface-scale 6df1f8591836c310881bd2b4136b4506e81562a7"
781}
782
783TASK [olymp-frontend : Creating release directories] ***************************
784Friday 13 March 2020 11:02:32 +0300 (0:00:00.073) 0:00:23.089 **********
785ok: [app0.stage.space307.tech] => (item=Dir: /data/olymptrade.com-frontend/stage307.tech)
786ok: [app0.stage.space307.tech] => (item=Dir: /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1/1.0.8905)
787ok: [app0.stage.space307.tech] => (item=Dir: /data/olymptrade.com-share/stage307.tech/l-s-cac1-1)
788
789TASK [olymp-frontend : Downloading frontend https://jfrog.space307.tech:443/platform-olymptrade/olymptrade/frontend-local/dev/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz to /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
790Friday 13 March 2020 11:02:33 +0300 (0:00:00.509) 0:00:23.598 **********
791changed: [app0.stage.space307.tech]
792
793TASK [olymp-frontend : Unpacking /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz to /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1] ***
794Friday 13 March 2020 11:02:33 +0300 (0:00:00.977) 0:00:24.576 **********
795ok: [app0.stage.space307.tech]
796
797TASK [olymp-frontend : Delete /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1/frontend-local-1.0.8905-feature_FE-135_interface-scale.tar.gz] ***
798Friday 13 March 2020 11:02:37 +0300 (0:00:03.894) 0:00:28.470 **********
799changed: [app0.stage.space307.tech]
800
801TASK [olymp-frontend : Put tmp/entryPoints.json to /data/olymptrade.com-share/stage307.tech/l-s-cac1-1/client_map.1.0.8905.php using json-php converter] ***
802Friday 13 March 2020 11:02:38 +0300 (0:00:00.222) 0:00:28.693 **********
803changed: [app0.stage.space307.tech]
804
805TASK [olymp-frontend : Save cdn public folder to /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1/1.0.8905] ***
806Friday 13 March 2020 11:02:39 +0300 (0:00:00.900) 0:00:29.594 **********
807ok: [app0.stage.space307.tech]
808
809TASK [olymp-frontend : Making symlink from frontend release dir to frontend root dir] ***
810Friday 13 March 2020 11:02:40 +0300 (0:00:01.202) 0:00:30.797 **********
811ok: [app0.stage.space307.tech]
812
813TASK [olymp-frontend : Save cdn release id to shared dir] **********************
814Friday 13 March 2020 11:02:40 +0300 (0:00:00.210) 0:00:31.007 **********
815ok: [app0.stage.space307.tech]
816
817TASK [olymp-frontend : Save cdn public folder to shared dir] *******************
818Friday 13 March 2020 11:02:41 +0300 (0:00:01.173) 0:00:32.181 **********
819ok: [app0.stage.space307.tech]
820
821TASK [olymp-frontend : Save cdn release id to consul key config/cdn/build] *****
822Friday 13 March 2020 11:02:42 +0300 (0:00:01.233) 0:00:33.415 **********
823skipping: [app0.stage.space307.tech]
824
825TASK [olymp-frontend : Save cdn public folder to consul key config/cdn/folder] ***
826Friday 13 March 2020 11:02:42 +0300 (0:00:00.041) 0:00:33.457 **********
827skipping: [app0.stage.space307.tech]
828
829TASK [olymp-frontend : include_tasks] ******************************************
830Friday 13 March 2020 11:02:42 +0300 (0:00:00.035) 0:00:33.493 **********
831included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-frontend/tasks/send-slack-msg.yml for app0.stage.space307.tech
832
833TASK [olymp-frontend : Send slack report] **************************************
834Friday 13 March 2020 11:02:42 +0300 (0:00:00.078) 0:00:33.572 **********
835skipping: [app0.stage.space307.tech]
836
837TASK [olymp-frontend : include_tasks] ******************************************
838Friday 13 March 2020 11:02:43 +0300 (0:00:00.039) 0:00:33.611 **********
839included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-frontend/tasks/remove-old-releases.yml for app0.stage.space307.tech
840
841TASK [olymp-frontend : Find releases at /data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1] ***
842Friday 13 March 2020 11:02:43 +0300 (0:00:00.077) 0:00:33.688 **********
843ok: [app0.stage.space307.tech]
844
845TASK [olymp-frontend : Stat root dir] ******************************************
846Friday 13 March 2020 11:02:43 +0300 (0:00:00.183) 0:00:33.871 **********
847ok: [app0.stage.space307.tech]
848
849TASK [olymp-frontend : Preparing sorted list of releases] **********************
850Friday 13 March 2020 11:02:44 +0300 (0:00:01.000) 0:00:34.872 **********
851ok: [app0.stage.space307.tech]
852
853TASK [olymp-frontend : Prepare list of releases to remove] *********************
854Friday 13 March 2020 11:02:44 +0300 (0:00:00.054) 0:00:34.926 **********
855ok: [app0.stage.space307.tech]
856
857TASK [olymp-frontend : Current releases are] ***********************************
858Friday 13 March 2020 11:02:44 +0300 (0:00:00.050) 0:00:34.977 **********
859ok: [app0.stage.space307.tech] => {
860 "olymp_frontend__releases": [
861 "/data/releases/olymptrade.com-frontend/stage307.tech/l-s-cac1-1/1.0.8905"
862 ]
863}
864
865TASK [olymp-frontend : Releases to remove] *************************************
866Friday 13 March 2020 11:02:44 +0300 (0:00:00.055) 0:00:35.033 **********
867ok: [app0.stage.space307.tech] => {
868 "olymp_frontend__remove_releases": []
869}
870
871TASK [olymp-frontend : Remove releases] ****************************************
872Friday 13 March 2020 11:02:44 +0300 (0:00:00.065) 0:00:35.098 **********
873
874TASK [olymp-frontend : Validating variables] ***********************************
875Friday 13 March 2020 11:02:44 +0300 (0:00:00.051) 0:00:35.150 **********
876skipping: [app0.stage.space307.tech]
877
878TASK [olymp-frontend : include_tasks] ******************************************
879Friday 13 March 2020 11:02:44 +0300 (0:00:00.040) 0:00:35.191 **********
880skipping: [app0.stage.space307.tech]
881
882TASK [olymp-backend : Validating variables] ************************************
883Friday 13 March 2020 11:02:44 +0300 (0:00:00.053) 0:00:35.245 **********
884skipping: [app0.stage.space307.tech]
885
886TASK [olymp-backend : include_tasks] *******************************************
887Friday 13 March 2020 11:02:44 +0300 (0:00:00.044) 0:00:35.289 **********
888skipping: [app0.stage.space307.tech]
889
890TASK [olymp-backend : Validating variables] ************************************
891Friday 13 March 2020 11:02:44 +0300 (0:00:00.055) 0:00:35.344 **********
892skipping: [app0.stage.space307.tech]
893
894TASK [olymp-backend : include_tasks] *******************************************
895Friday 13 March 2020 11:02:44 +0300 (0:00:00.056) 0:00:35.401 **********
896skipping: [app0.stage.space307.tech]
897
898TASK [olymp-backend : include_tasks] *******************************************
899Friday 13 March 2020 11:02:44 +0300 (0:00:00.061) 0:00:35.462 **********
900included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/change_current_configs.yml for app0.stage.space307.tech
901
902TASK [olymp-backend : Stat root dir /data/olymptrade.com-backend/stage307.tech/l-s-cac1-1] ***
903Friday 13 March 2020 11:02:44 +0300 (0:00:00.076) 0:00:35.538 **********
904ok: [app0.stage.space307.tech]
905
906TASK [olymp-backend : Determine full release dir] ******************************
907Friday 13 March 2020 11:02:45 +0300 (0:00:00.979) 0:00:36.517 **********
908ok: [app0.stage.space307.tech]
909
910TASK [olymp-backend : include_tasks] *******************************************
911Friday 13 March 2020 11:02:45 +0300 (0:00:00.042) 0:00:36.560 **********
912included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/make-configs.yml for app0.stage.space307.tech
913
914TASK [olymp-backend : Remove cached files after fetch module] ******************
915Friday 13 March 2020 11:02:46 +0300 (0:00:00.068) 0:00:36.628 **********
916changed: [app0.stage.space307.tech -> localhost] => (item=/tmp/app0.stage.space307.tech/data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config.php.j2)
917changed: [app0.stage.space307.tech -> localhost] => (item=/tmp/app0.stage.space307.tech/data/olymptrade.com-share/stage307.tech/l-s-cac1-1/cdn_release_id)
918changed: [app0.stage.space307.tech -> localhost] => (item=/tmp/app0.stage.space307.tech//data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config/frontend.php.j2)
919
920TASK [olymp-backend : Fetching /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config.php.j2 from app0.stage.space307.tech] ***
921Friday 13 March 2020 11:02:46 +0300 (0:00:00.475) 0:00:37.103 **********
922changed: [app0.stage.space307.tech]
923
924TASK [olymp-backend : Fetching /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config/frontend.php.j2 from app0.stage.space307.tech] ***
925Friday 13 March 2020 11:02:46 +0300 (0:00:00.314) 0:00:37.418 **********
926changed: [app0.stage.space307.tech]
927
928TASK [olymp-backend : Fetching /data/olymptrade.com-share/stage307.tech/l-s-cac1-1/cdn_release_id from app0.stage.space307.tech] ***
929Friday 13 March 2020 11:02:47 +0300 (0:00:00.173) 0:00:37.592 **********
930changed: [app0.stage.space307.tech]
931
932TASK [olymp-backend : Fetching /data/olymptrade.com-share/stage307.tech/l-s-cac1-1/cdn_public_folder from app0.stage.space307.tech] ***
933Friday 13 March 2020 11:02:47 +0300 (0:00:00.195) 0:00:37.787 **********
934ok: [app0.stage.space307.tech]
935
936TASK [olymp-backend : set_fact] ************************************************
937Friday 13 March 2020 11:02:47 +0300 (0:00:00.217) 0:00:38.005 **********
938ok: [app0.stage.space307.tech]
939
940TASK [olymp-backend : set_fact] ************************************************
941Friday 13 March 2020 11:02:47 +0300 (0:00:00.055) 0:00:38.061 **********
942ok: [app0.stage.space307.tech]
943
944TASK [olymp-backend : set cd release id var from shared dir] *******************
945Friday 13 March 2020 11:02:47 +0300 (0:00:00.049) 0:00:38.110 **********
946ok: [app0.stage.space307.tech]
947
948TASK [olymp-backend : set cd release id var from shared dir] *******************
949Friday 13 March 2020 11:02:47 +0300 (0:00:00.051) 0:00:38.161 **********
950ok: [app0.stage.space307.tech]
951
952TASK [olymp-backend : CDN release id from shared dir is] ***********************
953Friday 13 March 2020 11:02:47 +0300 (0:00:00.054) 0:00:38.215 **********
954ok: [app0.stage.space307.tech] => {
955 "plf_deploy__cdn_release_id": "1.0.8905"
956}
957
958TASK [olymp-backend : CDN public folder from shared dir is] ********************
959Friday 13 March 2020 11:02:47 +0300 (0:00:00.057) 0:00:38.273 **********
960ok: [app0.stage.space307.tech] => {
961 "plf_deploy__cdn_public_folder": "l-s-cac1-1"
962}
963
964TASK [olymp-backend : set_fact] ************************************************
965Friday 13 March 2020 11:02:47 +0300 (0:00:00.053) 0:00:38.326 **********
966ok: [app0.stage.space307.tech]
967
968TASK [olymp-backend : set_fact] ************************************************
969Friday 13 March 2020 11:02:47 +0300 (0:00:00.051) 0:00:38.378 **********
970skipping: [app0.stage.space307.tech]
971
972TASK [olymp-backend : Setting billing host to billy4.billygate.com] ************
973Friday 13 March 2020 11:02:47 +0300 (0:00:00.034) 0:00:38.412 **********
974ok: [app0.stage.space307.tech]
975
976TASK [olymp-backend : Setting billing url to https://billy4.billygate.com] *****
977Friday 13 March 2020 11:02:47 +0300 (0:00:00.051) 0:00:38.464 **********
978ok: [app0.stage.space307.tech]
979
980TASK [olymp-backend : Templating /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config.php.j2] ***
981Friday 13 March 2020 11:02:47 +0300 (0:00:00.047) 0:00:38.511 **********
982skipping: [app0.stage.space307.tech]
983
984TASK [olymp-backend : Templating /data/releases/olymptrade.com-backend/stage307.tech/l-s-cac1-1/1.0.16633/config/frontend.php.j2] ***
985Friday 13 March 2020 11:02:47 +0300 (0:00:00.038) 0:00:38.549 **********
986ok: [app0.stage.space307.tech]
987
988TASK [olymp-backend : include_tasks] *******************************************
989Friday 13 March 2020 11:02:49 +0300 (0:00:01.276) 0:00:39.826 **********
990included: /data/jenkins/workspace/olymp-stage@2/plays/stage/roles/olymp-backend/tasks/php-fpm.yml for app0.stage.space307.tech
991
992TASK [olymp-backend : debug] ***************************************************
993Friday 13 March 2020 11:02:49 +0300 (0:00:00.120) 0:00:39.946 **********
994skipping: [app0.stage.space307.tech]
995
996TASK [olymp-backend : Install cgi-fcgi tool] ***********************************
997Friday 13 March 2020 11:02:49 +0300 (0:00:00.036) 0:00:39.982 **********
998skipping: [app0.stage.space307.tech]
999
1000TASK [olymp-backend : Creating opcache scripts dir] ****************************
1001Friday 13 March 2020 11:02:49 +0300 (0:00:00.035) 0:00:40.017 **********
1002skipping: [app0.stage.space307.tech]
1003
1004TASK [olymp-backend : Copy fpm-fcgi script to /data/opcache/php-fcgi.sh] *******
1005Friday 13 March 2020 11:02:49 +0300 (0:00:00.035) 0:00:40.053 **********
1006skipping: [app0.stage.space307.tech]
1007
1008TASK [olymp-backend : Copy opcache php scripts to /data/opcache] ***************
1009Friday 13 March 2020 11:02:49 +0300 (0:00:00.037) 0:00:40.090 **********
1010skipping: [app0.stage.space307.tech] => (item=opcache-reset.php)
1011skipping: [app0.stage.space307.tech] => (item=opcache-status.php)
1012
1013TASK [olymp-backend : Requesting opcache status] *******************************
1014Friday 13 March 2020 11:02:49 +0300 (0:00:00.047) 0:00:40.138 **********
1015skipping: [app0.stage.space307.tech]
1016
1017TASK [olymp-backend : Printing opcache status] *********************************
1018Friday 13 March 2020 11:02:49 +0300 (0:00:00.037) 0:00:40.176 **********
1019skipping: [app0.stage.space307.tech]
1020
1021TASK [olymp-backend : Resetting opcache using script /data/opcache/fpm-cgi.sh] ***
1022Friday 13 March 2020 11:02:49 +0300 (0:00:00.041) 0:00:40.218 **********
1023skipping: [app0.stage.space307.tech]
1024
1025TASK [olymp-backend : Printing opcache resetting result] ***********************
1026Friday 13 March 2020 11:02:49 +0300 (0:00:00.036) 0:00:40.254 **********
1027skipping: [app0.stage.space307.tech]
1028
1029TASK [olymp-backend : Reloading php7.3-fpm] ************************************
1030Friday 13 March 2020 11:02:49 +0300 (0:00:00.040) 0:00:40.295 **********
1031changed: [app0.stage.space307.tech]
1032
1033TASK [olymp-backend : Reloading pushprom] **************************************
1034Friday 13 March 2020 11:02:51 +0300 (0:00:02.040) 0:00:42.335 **********
1035changed: [app0.stage.space307.tech]
1036
1037PLAY RECAP *********************************************************************
1038app0.stage.space307.tech : ok=74 changed=15 unreachable=0 failed=0 skipped=32 rescued=0 ignored=0
1039
1040Friday 13 March 2020 11:02:53 +0300 (0:00:01.495) 0:00:43.831 **********
1041===============================================================================
1042olymp-frontend --------------------------------------------------------- 29.21s
1043olymp-backend ----------------------------------------------------------- 8.59s
1044gather_facts ------------------------------------------------------------ 5.92s
1045~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1046total ------------------------------------------------------------------ 43.72s
1047Playbook run took 0 days, 0 hours, 0 minutes, 43 seconds
1048[olymp-stage@2] $ /bin/sh -xe /tmp/jenkins7215828687884992036.sh
1049+ ANSIBLE_CONFIG=plays/stage/ansible.cfg ANSIBLE_VAULT_PASSWORD_FILE=**** ansible-playbook -i inventories/stage-deac-common/hosts plays/stage/nginx.yml -t nginx_config -e platform__server_name=l-s-cac1-1.stage307.tech -e nginx__mode=online -l app
1050[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to
1051allow bad characters in group names by default, this will change, but still be
1052user configurable on deprecation. This feature will be removed in version 2.10.
1053 Deprecation warnings can be disabled by setting deprecation_warnings=False in
1054ansible.cfg.
1055[WARNING]: Invalid characters were found in group names but not replaced, use
1056-vvvv to see details
1057
1058PLAY [all] *********************************************************************
1059[WARNING]: While constructing a mapping from /data/jenkins/workspace/olymp-
1060stage@2/inventories/stage-deac-common/group_vars/all/54-olymp-backend.yml, line
10611, column 1, found a duplicate dict key (olymp_backend__slack_enabled). Using
1062last defined value only.
1063
1064TASK [Gathering Facts] *********************************************************
1065Friday 13 March 2020 11:02:54 +0300 (0:00:00.122) 0:00:00.122 **********
1066[WARNING]: Platform linux on host app0.stage.space307.tech is using the
1067discovered Python interpreter at /usr/bin/python, but future installation of
1068another Python interpreter could change this. See https://docs.ansible.com/ansi
1069ble/2.9/reference_appendices/interpreter_discovery.html for more information.
1070ok: [app0.stage.space307.tech]
1071
1072TASK [nginx : Validating variables] ********************************************
1073Friday 13 March 2020 11:03:00 +0300 (0:00:06.353) 0:00:06.476 **********
1074skipping: [app0.stage.space307.tech]
1075
1076TASK [nginx : debug] ***********************************************************
1077Friday 13 March 2020 11:03:00 +0300 (0:00:00.105) 0:00:06.581 **********
1078skipping: [app0.stage.space307.tech]
1079
1080TASK [nginx : Copy platform virtual hosts in online mode] **********************
1081Friday 13 March 2020 11:03:00 +0300 (0:00:00.071) 0:00:06.653 **********
1082skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/upload.olymptrade.com)
1083skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/_alpha_.olymptrade.com)
1084skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/academy.olymptrade.com)
1085skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/back.olymptrade.com)
1086skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/metatrader-_alpha_.olymptrade.com)
1087skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/apicrm.olymptrade.com)
1088skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/api-services.olymptrade.com)
1089skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/tournament.olymptrade.com)
1090skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/forex._alpha_.olymptrade.com)
1091skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/_alpha_.api.olymptrade.com)
1092skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/internal-api.olymptrade.com)
1093skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/forex.olymptrade.com)
1094skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/back-office.olymptrade.com)
1095skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/m.olymptrade.com)
1096skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/metatrader.olymptrade.com)
1097skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/_alpha_.tournament.olymptrade.com)
1098skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/status)
1099skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/affiliate.olymptrade.com)
1100skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/olymptrade.com)
1101skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/api.olymptrade.com)
1102skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/back.academy)
1103skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-online/_alpha_.internal-api.olymptrade.com)
1104
1105TASK [nginx : Copy alpha virtual hosts] ****************************************
1106Friday 13 March 2020 11:03:01 +0300 (0:00:00.351) 0:00:07.004 **********
1107skipping: [app0.stage.space307.tech] => (item=alpha)
1108skipping: [app0.stage.space307.tech] => (item=beta)
1109skipping: [app0.stage.space307.tech] => (item=gamma)
1110skipping: [app0.stage.space307.tech] => (item=delta)
1111
1112TASK [nginx : Copy platform virtual hosts in maintained mode] ******************
1113Friday 13 March 2020 11:03:01 +0300 (0:00:00.221) 0:00:07.226 **********
1114skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-maintained/alpha.olymptrade.com)
1115skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-maintained/forex.olymptrade.com)
1116skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-maintained/back-office.olymptrade.com)
1117skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-maintained/m.olymptrade.com)
1118skipping: [app0.stage.space307.tech] => (item=/etc/nginx/mode-maintained/olymptrade.com)
1119
1120TASK [nginx : Copy other sites] ************************************************
1121Friday 13 March 2020 11:03:01 +0300 (0:00:00.145) 0:00:07.371 **********
1122skipping: [app0.stage.space307.tech] => (item=/etc/nginx/sites/wallarm-status.conf)
1123skipping: [app0.stage.space307.tech] => (item=/etc/nginx/sites/typo-errors)
1124skipping: [app0.stage.space307.tech] => (item=/etc/nginx/sites/olymptrade.biz)
1125skipping: [app0.stage.space307.tech] => (item=/etc/nginx/sites/profitelly.com)
1126skipping: [app0.stage.space307.tech] => (item=/etc/nginx/sites/default)
1127skipping: [app0.stage.space307.tech] => (item=/etc/nginx/sites/cpa.olymptrade.com)
1128
1129TASK [nginx : Copy fastcgi maintenance settings] *******************************
1130Friday 13 March 2020 11:03:01 +0300 (0:00:00.216) 0:00:07.588 **********
1131skipping: [app0.stage.space307.tech]
1132
1133TASK [nginx : Make symlink from mode-online to sites-enabled] ******************
1134Friday 13 March 2020 11:03:02 +0300 (0:00:00.104) 0:00:07.692 **********
1135skipping: [app0.stage.space307.tech]
1136
1137TASK [nginx : Validating variables] ********************************************
1138Friday 13 March 2020 11:03:02 +0300 (0:00:00.069) 0:00:07.762 **********
1139ok: [app0.stage.space307.tech] => {
1140 "changed": false,
1141 "msg": "All assertions passed"
1142}
1143
1144TASK [nginx : debug] ***********************************************************
1145Friday 13 March 2020 11:03:02 +0300 (0:00:00.120) 0:00:07.882 **********
1146ok: [app0.stage.space307.tech] => {
1147 "msg": "\"Nginx env is stage, domain - l-s-cac1-1.stage307.tech\"\n"
1148}
1149
1150TASK [nginx : Make user directories] *******************************************
1151Friday 13 March 2020 11:03:02 +0300 (0:00:00.068) 0:00:07.951 **********
1152ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1)
1153ok: [app0.stage.space307.tech] => (item=/var/log/nginx/l-s-cac1-1.stage307.tech)
1154
1155TASK [nginx : Copy nginx configs] **********************************************
1156Friday 13 March 2020 11:03:02 +0300 (0:00:00.642) 0:00:08.594 **********
1157ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/forex - file)
1158ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/metatrader - file)
1159ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/apiacademy - file)
1160ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/tournament - file)
1161ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/education - file)
1162ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/apicrm - file)
1163ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/apiaffiliate - file)
1164ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/ext - file)
1165ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/universal-links - file)
1166ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/api - file)
1167ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/backoffice - file)
1168ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/olymptrade - file)
1169ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/affiliate - file)
1170ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/offers - file)
1171ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/internal-api - file)
1172ok: [app0.stage.space307.tech] => (item=/etc/nginx/sites-platform/stage307.tech/l-s-cac1-1/back - file)
1173
1174TASK [nginx : Change permission on /etc/nginx/htpasswd/consul] *****************
1175Friday 13 March 2020 11:03:23 +0300 (0:00:20.156) 0:00:28.750 **********
1176ok: [app0.stage.space307.tech]
1177
1178TASK [nginx : Report] **********************************************************
1179Friday 13 March 2020 11:03:23 +0300 (0:00:00.159) 0:00:28.910 **********
1180ok: [app0.stage.space307.tech] => {
1181 "nginx__l3_domains_map": {
1182 "affiliate": "affiliate-l-s-cac1-1.stage307.tech",
1183 "affiliate_back": "back-affiliate-l-s-cac1-1.stage307.tech",
1184 "api": "api-l-s-cac1-1.stage307.tech",
1185 "apiacademy": "apiacademy-l-s-cac1-1.stage307.tech",
1186 "apiaffiliate": "apiaffiliate-l-s-cac1-1.stage307.tech",
1187 "apicrm": "apicrm-l-s-cac1-1.stage307.tech",
1188 "back": "back-l-s-cac1-1.stage307.tech",
1189 "back_office": "back-office-l-s-cac1-1.stage307.tech",
1190 "cdn": "cdn2.stage307.tech",
1191 "education": "education-l-s-cac1-1.stage307.tech",
1192 "ext": "ext-l-s-cac1-1.stage307.tech",
1193 "forex": "forex-l-s-cac1-1.stage307.tech",
1194 "internal_api": "internal-api-l-s-cac1-1.stage307.tech",
1195 "metatrader": "metatrader-l-s-cac1-1.stage307.tech",
1196 "offers": "offers-l-s-cac1-1.stage307.tech",
1197 "platform": "l-s-cac1-1.stage307.tech",
1198 "tournament": "tournament-l-s-cac1-1.stage307.tech",
1199 "ul": "ul-l-s-cac1-1.stage307.tech"
1200 }
1201}
1202
1203PLAY RECAP *********************************************************************
1204app0.stage.space307.tech : ok=7 changed=0 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0
1205
1206Friday 13 March 2020 11:03:23 +0300 (0:00:00.081) 0:00:28.991 **********
1207===============================================================================
1208nginx ------------------------------------------------------------------ 22.52s
1209gather_facts ------------------------------------------------------------ 6.35s
1210~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1211total ------------------------------------------------------------------ 28.87s
1212Playbook run took 0 days, 0 hours, 0 minutes, 28 seconds
1213[olymp-stage@2] $ /bin/sh -xe /tmp/jenkins6820074306742354251.sh
1214+ echo l-s-cac1-1.stage307.tech
1215+ sed s/\..*//g
1216+ USLOT=l-s-cac1-1
1217+ ANSIBLE_CONFIG=plays/stage/ansible.cfg ANSIBLE_VAULT_PASSWORD_FILE=**** ansible app -i inventories/stage-deac-common/hosts -m shell -a sudo chmod -R 0777 /data/olymptrade.com-backend/stage307.tech/l-s-cac1-1/cache/translate/
1218[DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to
1219allow bad characters in group names by default, this will change, but still be
1220user configurable on deprecation. This feature will be removed in version 2.10.
1221 Deprecation warnings can be disabled by setting deprecation_warnings=False in
1222ansible.cfg.
1223[WARNING]: Invalid characters were found in group names but not replaced, use
1224-vvvv to see details
1225[WARNING]: While constructing a mapping from /data/jenkins/workspace/olymp-
1226stage@2/inventories/stage-deac-common/group_vars/all/54-olymp-backend.yml, line
12271, column 1, found a duplicate dict key (olymp_backend__slack_enabled). Using
1228last defined value only.
1229[WARNING]: Consider using 'become', 'become_method', and 'become_user' rather
1230than running sudo
1231[WARNING]: Platform linux on host app0.stage.space307.tech is using the
1232discovered Python interpreter at /usr/bin/python, but future installation of
1233another Python interpreter could change this. See https://docs.ansible.com/ansi
1234ble/2.9/reference_appendices/interpreter_discovery.html for more information.
1235app0.stage.space307.tech | CHANGED | rc=0 >>
1236
1237[Boolean condition] checking [YES] against [^(1|y|yes|t|true|on|run)$] (origin token: ${RUN_TESTS})
1238Run condition [Boolean condition] enabling perform for step [Trigger/call builds on other projects]
1239Triggering projects: qa-platform-web-tests
1240Triggering projects: qa-platform-backend-tests
1241Notifying upstream projects of job completion
1242[Boolean condition] checking [YES] against [^(1|y|yes|t|true|on|run)$] (origin token: ${RUN_TESTS})
1243Run condition [Boolean condition] enabling perform for step [Builder to mark whether executed]
1244[Boolean condition] checking [YES] against [^(1|y|yes|t|true|on|run)$] (origin token: ${RUN_TESTS})
1245Run condition [Boolean condition] enabling perform for step [Builder to mark whether executed]
1246Finished: SUCCESS