Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.80 KB | None | 0 0
  1. Started by an SCM change
  2. Running as SYSTEM
  3. Building remotely on Windows_slave in workspace C:\Jenkins\workspace\Front-qa docker build
  4. using credential 49ebae9e-141e-44a3-9d67-98671c61b080
  5. Cloning the remote Git repository
  6. Cloning repository https://git.tetron.ru/Tetron/tcp-front.git
  7. > git init /home/mmy/C:\Jenkins/C:\Jenkins\workspace\Front-qa docker build # timeout=10
  8. Fetching upstream changes from https://git.tetron.ru/Tetron/tcp-front.git
  9. > git --version # timeout=10
  10. using GIT_ASKPASS to set credentials
  11. > git fetch --tags --progress -- https://git.tetron.ru/Tetron/tcp-front.git +refs/heads/*:refs/remotes/origin/* # timeout=10
  12. > git config remote.origin.url https://git.tetron.ru/Tetron/tcp-front.git # timeout=10
  13. > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  14. > git config remote.origin.url https://git.tetron.ru/Tetron/tcp-front.git # timeout=10
  15. Fetching upstream changes from https://git.tetron.ru/Tetron/tcp-front.git
  16. using GIT_ASKPASS to set credentials
  17. > git fetch --tags --progress -- https://git.tetron.ru/Tetron/tcp-front.git +refs/heads/*:refs/remotes/origin/* # timeout=10
  18. > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
  19. > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
  20. Checking out Revision 2dbd04661e56abc9929f07652b0854fbf23d6b9a (refs/remotes/origin/develop)
  21. > git config core.sparsecheckout # timeout=10
  22. > git checkout -f 2dbd04661e56abc9929f07652b0854fbf23d6b9a # timeout=10
  23. Commit message: "Merge branch 'feature/TCP-331' of Tetron/tcp-front into develop"
  24. > git rev-list --no-walk 526f64aff738042ca7f95980952c1e687a3d1341 # timeout=10
  25. [Front-qa docker build] $ /bin/sh -xe /tmp/jenkins6223185734565110081.sh
  26. + echo mmy
  27. mmy
  28. + cat /var/lib/jenkins/my_password.txt
  29. + docker login --username tetronru --password-stdin
  30. WARNING! Your password will be stored unencrypted in /home/mmy/.docker/config.json.
  31. Configure a credential helper to remove this warning. See
  32. https://docs.docker.com/engine/reference/commandline/login/#credentials-store
  33.  
  34. Login Succeeded
  35. + make build-docker-image CONT_NAME=front-qa AUTH_SERVER_ENABLED=true AUTH_SERVER=http://unginx.ad.tetron.ru
  36. docker build --no-cache=false . -t front-qa \
  37. --build-arg ROOT_API="" \
  38. --build-arg AUTH_SERVER="http://unginx.ad.tetron.ru" \
  39. --build-arg AUTH_SERVER_ENABLED="true" \
  40. --build-arg SENTRY_DSN="" \
  41. --build-arg SENTRY_DISABLE_CLI="" \
  42. --build-arg SENTRY_PRIVATE_ORG="" \
  43. --build-arg SENTRY_PRIVATE_PROJECT="" \
  44. --build-arg SENTRY_PRIVATE_URL="" \
  45. --build-arg SENTRY_PRIVATE_TOKEN=""
  46. Sending build context to Docker daemon 7.008MB
  47.  
  48. Step 1/29 : FROM node:12.13.0-alpine as build
  49. ---> 5d187500daae
  50. Step 2/29 : RUN apk add --no-cache git
  51. ---> Using cache
  52. ---> 512433e40e3c
  53. Step 3/29 : WORKDIR /app
  54. ---> Using cache
  55. ---> b5f0ae7b2803
  56. Step 4/29 : COPY package.json package-lock.json ./
  57. ---> d3320d348821
  58. Step 5/29 : RUN npm i
  59. ---> Running in 4132bc85c29f
  60.  
  61. > fmerge@1.2.0 install /app/node_modules/fmerge
  62. > node install.js
  63.  
  64. `fmerge.min.js` created
  65.  
  66. > nodent-runtime@3.2.1 install /app/node_modules/nodent-runtime
  67. > node build.js
  68.  
  69. ## Built /app/node_modules/nodent-runtime/dist/index.js
  70.  
  71. > @sentry/cli@1.47.1 install /app/node_modules/@sentry/cli
  72. > node scripts/install.js
  73.  
  74.  
  75. > yorkie@2.0.0 install /app/node_modules/yorkie
  76. > node bin/install.js
  77.  
  78. setting up Git hooks
  79. can't find .git directory, skipping Git hooks installation
  80.  
  81. > node-sass@4.12.0 install /app/node_modules/node-sass
  82. > node scripts/install.js
  83.  
  84. Downloading binary from https://github.com/sass/node-sass/releases/download/v4.12.0/linux_musl-x64-72_binding.node
  85. Download complete
  86. Binary saved to /app/node_modules/node-sass/vendor/linux_musl-x64-72/binding.node
  87. Caching binary to /root/.npm/node-sass/4.12.0/linux_musl-x64-72_binding.node
  88.  
  89. > core-js@2.6.9 postinstall /app/node_modules/@babel/runtime-corejs2/node_modules/core-js
  90. > node scripts/postinstall || echo "ignore"
  91.  
  92. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  93.  
  94. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
  95. > https://opencollective.com/core-js 
  96. > https://www.patreon.com/zloirock 
  97.  
  98. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  99.  
  100.  
  101. > core-js@2.6.9 postinstall /app/node_modules/@vue/babel-preset-app/node_modules/core-js
  102. > node scripts/postinstall || echo "ignore"
  103.  
  104. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  105.  
  106. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
  107. > https://opencollective.com/core-js 
  108. > https://www.patreon.com/zloirock 
  109.  
  110. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  111.  
  112.  
  113. > core-js@2.6.9 postinstall /app/node_modules/babel-runtime/node_modules/core-js
  114. > node scripts/postinstall || echo "ignore"
  115.  
  116. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  117.  
  118. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
  119. > https://opencollective.com/core-js 
  120. > https://www.patreon.com/zloirock 
  121.  
  122. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  123.  
  124.  
  125. > core-js@3.1.4 postinstall /app/node_modules/core-js
  126. > node scripts/postinstall || echo "ignore"
  127.  
  128. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  129.  
  130. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
  131. > https://opencollective.com/core-js 
  132. > https://www.patreon.com/zloirock 
  133.  
  134. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  135.  
  136.  
  137. > core-js@3.1.4 postinstall /app/node_modules/react-styleguidist/node_modules/core-js
  138. > node scripts/postinstall || echo "ignore"
  139.  
  140. Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
  141.  
  142. The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
  143. > https://opencollective.com/core-js 
  144. > https://www.patreon.com/zloirock 
  145.  
  146. Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
  147.  
  148.  
  149. > jss@9.8.7 postinstall /app/node_modules/jss
  150. > node -e "console.log('\u001b[35m\u001b[1mLove JSS? You can now support us on open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/jss/donate\u001b[0m')"
  151.  
  152. Love JSS? You can now support us on open collective:
  153. > https://opencollective.com/jss/donate
  154.  
  155. > node-sass@4.12.0 postinstall /app/node_modules/node-sass
  156. > node scripts/build.js
  157.  
  158. Binary found at /app/node_modules/node-sass/vendor/linux_musl-x64-72/binding.node
  159. Testing binary
  160. Binary is fine
  161.  
  162. > nodemon@1.19.1 postinstall /app/node_modules/nodemon
  163. > node bin/postinstall || exit 0
  164.  
  165. Love nodemon? You can now support the project via the open collective:
  166. > https://opencollective.com/nodemon/donate
  167.  
  168. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
  169. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  170. 
  171. added 1899 packages from 2381 contributors and audited 46396 packages in 46.001s
  172. found 1 low severity vulnerability
  173. run `npm audit fix` to fix them, or `npm audit` for details
  174. Removing intermediate container 4132bc85c29f
  175. ---> 445488f6aede
  176. Step 6/29 : COPY . ./
  177. ---> 3d265a480d43
  178. Step 7/29 : ARG AUTH_SERVER
  179. ---> Running in 8ef75ed5432b
  180. Removing intermediate container 8ef75ed5432b
  181. ---> 737ef5a636f6
  182. Step 8/29 : ARG AUTH_SERVER_ENABLED
  183. ---> Running in 721f8b03d356
  184. Removing intermediate container 721f8b03d356
  185. ---> 102d60aeb786
  186. Step 9/29 : ENV AUTH_SERVER "$AUTH_SERVER"
  187. ---> Running in 1240b37e7436
  188. Removing intermediate container 1240b37e7436
  189. ---> be591c48c2f5
  190. Step 10/29 : ENV AUTH_SERVER_ENABLED "$AUTH_SERVER_ENABLED"
  191. ---> Running in 406272502f49
  192. Removing intermediate container 406272502f49
  193. ---> e193724095af
  194. Step 11/29 : ARG ROOT_API
  195. ---> Running in a5140668c390
  196. Removing intermediate container a5140668c390
  197. ---> 7b290b7ed717
  198. Step 12/29 : ENV ROOT_API "$ROOT_API"
  199. ---> Running in f7a1afd8d2ce
  200. Removing intermediate container f7a1afd8d2ce
  201. ---> d92d6327ca25
  202. Step 13/29 : ARG SENTRY_DSN
  203. ---> Running in c2de3cea35d7
  204. Removing intermediate container c2de3cea35d7
  205. ---> 9383292c229c
  206. Step 14/29 : ENV SENTRY_DSN "$SENTRY_DSN"
  207. ---> Running in d7988eb5db8f
  208. Removing intermediate container d7988eb5db8f
  209. ---> f0a52ff5074d
  210. Step 15/29 : ARG SENTRY_DISABLE_CLI
  211. ---> Running in 7bb190312d11
  212. Removing intermediate container 7bb190312d11
  213. ---> 837285749af6
  214. Step 16/29 : ENV SENTRY_DISABLE_CLI "$SENTRY_DISABLE_CLI"
  215. ---> Running in c7b6d5be8b93
  216. Removing intermediate container c7b6d5be8b93
  217. ---> 4eef1ac4c7fe
  218. Step 17/29 : ARG SENTRY_PRIVATE_ORG
  219. ---> Running in 78638a94e43f
  220. Removing intermediate container 78638a94e43f
  221. ---> ad7fe9189a10
  222. Step 18/29 : ARG SENTRY_PRIVATE_PROJECT
  223. ---> Running in 94e524ef681c
  224. Removing intermediate container 94e524ef681c
  225. ---> 01d27f0fce6a
  226. Step 19/29 : ARG SENTRY_PRIVATE_URL
  227. ---> Running in b809cc23e4f0
  228. Removing intermediate container b809cc23e4f0
  229. ---> 2f78960c7070
  230. Step 20/29 : ARG SENTRY_PRIVATE_TOKEN
  231. ---> Running in acc718e62e75
  232. Removing intermediate container acc718e62e75
  233. ---> d61063bb488e
  234. Step 21/29 : RUN if [ -n "$SENTRY_PRIVATE_ORG" ] ; then printf "%s\r\n" "#generated on build container" "[defaults]" "org=$SENTRY_PRIVATE_ORG" "project=$SENTRY_PRIVATE_PROJECT" "url=$SENTRY_PRIVATE_URL" "[auth]" "token=$SENTRY_PRIVATE_TOKEN" > .sentryclirc ; fi
  235. ---> Running in b7d131f2da43
  236. Removing intermediate container b7d131f2da43
  237. ---> aaf8de37cb18
  238. Step 22/29 : RUN printf "%s\n" "#generated on build container" "GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2)" "GIT_LAST_COMMIT=$(git log --format="%H" -n 1)" >> .env
  239. ---> Running in c0ce1debe01b
  240. Removing intermediate container c0ce1debe01b
  241. ---> f8640390e704
  242. Step 23/29 : RUN npm run test:unit
  243. ---> Running in a649fe7cb159
  244.  
  245. > tcp-front@0.3.0 test:unit /app
  246. > vue-cli-service test:unit
  247.  
  248.  
  249. APP_LAST_BUILD=Thu, 21 Nov 2019 08:43:05 GMT
  250. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  251. process.env.NODE_ENV=test
  252. process.env.IS_E2E_TEST=undefined
  253. process.env.AUTH_SERVER_ENABLED=true
  254. process.env.AUTH_SERVER=http://unginx.ad.tetron.ru
  255. process.env.ROOT_API=
  256. process.env.AGENT_ID=undefined
  257. process.env.GIT_BRANCH=(HEAD
  258. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  259. process.env.SENTRY_DISABLE_CLI=false
  260. process.env.SENTRY_DSN=
  261.  
  262.  
  263. APP_LAST_BUILD=Thu, 21 Nov 2019 08:43:07 GMT
  264. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  265. process.env.NODE_ENV=test
  266. process.env.IS_E2E_TEST=undefined
  267. process.env.AUTH_SERVER_ENABLED=true
  268. process.env.AUTH_SERVER=http://unginx.ad.tetron.ru
  269. process.env.ROOT_API=
  270. process.env.AGENT_ID=undefined
  271. process.env.GIT_BRANCH=(HEAD
  272. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  273. process.env.SENTRY_DISABLE_CLI=false
  274. process.env.SENTRY_DSN=
  275.  
  276. WEBPACK Compiling...
  277.  
  278. Download the Vue Devtools extension for a better development experience:
  279. https://github.com/vuejs/vue-devtools
  280. You are running Vue in development mode.
  281. Make sure to turn on production mode when deploying for production.
  282. See more tips at https://vuejs.org/guide/deployment.html
  283. DONE Compiled successfully in 6299ms
  284.  
  285. WEBPACK Compiled successfully in 6299ms
  286.  
  287. MOCHA Testing...
  288.  
  289.  
  290.  
  291. Аутентификация через SSO
  292. ✓ проверка вызова аутентификац. сервиса
  293. ApiClient authServerService 0 {
  294. store: { state: {}, getters: { isGuest: true }, commit: [Function: commit] },
  295. services: {
  296. authServerService: AuthServerService {
  297. _isLaunchedOnAppStartup: true,
  298. _responsePromise: [Object],
  299. httpCalls: [],
  300. token: 'test',
  301. getHTTPLibInstance: [Function],
  302. authServerEnabled: [Function]
  303. }
  304. }
  305. }
  306. ApiClient authServerService 0 {
  307. store: {
  308. state: { authStatus: false, mutateError: [Object] },
  309. getters: { isGuest: true },
  310. commit: [Function: commit]
  311. },
  312. services: {
  313. authServerService: AuthServerService {
  314. _isLaunchedOnAppStartup: true,
  315. _responsePromise: [Object],
  316. httpCalls: [],
  317. token: 'test',
  318. getHTTPLibInstance: [Function],
  319. authServerEnabled: [Function]
  320. }
  321. }
  322. }
  323. ✓ проверка повторов вызовов в ApiClient
  324.  
  325. src/app/workspace/utils/collides.js
  326. ✓ алогоритм разрешения удаления
  327.  
  328. src/components/button/button.vue
  329. ✓ проверка состояний кнопки
  330.  
  331. src/components/error/error.vue
  332. ✓ сообщение об ошибке отображается
  333.  
  334. src/components/form/form.vue
  335. ✓ форма отображает и валидирует данные
  336.  
  337. src/components/input/input.vue
  338. ✓ првоерка состойний и опций
  339.  
  340. src/components/modal/modal.vue
  341. ✓ модальное окно всплывает и закрывается
  342.  
  343. src/components/pagination/pagination.vue
  344. ✓ пагинатор рендерится корректно
  345. ✓ события всплывают
  346.  
  347. src/components/select/select.vue
  348. ✓ проверка выбора селекта и опций
  349.  
  350. src/components/table/table.vue
  351. ✓ проверка рендренига таблицы
  352. ✓ проверка сортировки таблицы
  353.  
  354. src/components/tabs/tabs.vue
  355. ✓ проверка ренедерндинга и переключение без ротинга
  356. ✓ проверка авто роутинга
  357.  
  358. src/store/actions.js
  359. renewToken
  360. sec after last check 1574325794.276
  361. jwt {"token":"asdasd","expireInUTCMilliseconds":1574325794276}
  362. expireAt undefined
  363. expireAtWithTolerance 1574325434276
  364. +new Date() 1574325794277
  365. untilRefresh -360000
  366. run update jwt
  367. renewToken
  368. sec after last check 0.001
  369. jwt {"token":"asdasd","expireInUTCMilliseconds":1574327594277}
  370. expireAt undefined
  371. expireAtWithTolerance 1574327234277
  372. +new Date() 1574325794277
  373. untilRefresh 1440000
  374. ✓ проверка обновления jwt
  375.  
  376. src/store/mutations.js
  377. ✓ userSetAuthData
  378.  
  379. src/utils/url.js
  380. ✓ buildURLQueryFromRoute
  381.  
  382.  
  383. 18 passing (241ms)
  384.  
  385. MOCHA Tests completed successfully
  386.  
  387. Removing intermediate container a649fe7cb159
  388. ---> 584e8ab7c56f
  389. Step 24/29 : RUN npm run build
  390. ---> Running in e2958ef14f7e
  391.  
  392. > tcp-front@0.3.0 build /app
  393. > cross-env NODE_OPTIONS='--max-old-space-size=1800' vue-cli-service build
  394.  
  395.  
  396. APP_LAST_BUILD=Thu, 21 Nov 2019 08:43:17 GMT
  397. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  398. process.env.NODE_ENV=production
  399. process.env.IS_E2E_TEST=undefined
  400. process.env.AUTH_SERVER_ENABLED=true
  401. process.env.AUTH_SERVER=http://unginx.ad.tetron.ru
  402. process.env.ROOT_API=
  403. process.env.AGENT_ID=undefined
  404. process.env.GIT_BRANCH=(HEAD
  405. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  406. process.env.SENTRY_DISABLE_CLI=false
  407. process.env.SENTRY_DSN=
  408.  
  409.  
  410. - Building for production...
  411. 0.00 compiling
  412. 10.60 building
  413. 12.40 building
  414. 20.92 building
  415. 49.00 building
  416. 65.47 building
  417. 67.18 building
  418. 67.50 building
  419. 68.62 building
  420. 70.00 building
  421. 93.04 after chunk asset optimization
  422. 93.04 after chunk asset optimization
  423. 95.00 emitting
  424. > Analyzing 6 sources
  425. > Rewriting sources
  426. > Adding source map references
  427. > Uploading source maps for release 0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  428.  
  429. Source Map Upload Report
  430. Scripts
  431. ~/external/config.js
  432. Minified Scripts
  433. ~/js/app.b83493e8.js (sourcemap at app.b83493e8.js.map)
  434. ~/js/chunk-vendors.ea3bb1af.js (sourcemap at chunk-vendors.ea3bb1af.js.map)
  435. ~/leaflet-superclaster.worker.js (sourcemap at leaflet-superclaster.worker.js.map)
  436. - warning: could not determine a source map reference (Could not auto-detect referenced sourcemap for ~/leaflet-superclaster.worker.js.)
  437. Source Maps
  438. ~/js/app.b83493e8.js.map
  439. ~/js/chunk-vendors.ea3bb1af.js.map
  440. 98.00 after emitting
  441. WARNING Compiled with 13 warnings8:44:41 AM
  442.  
  443. Module Warning (from ./node_modules/eslint-loader/index.js):
  444. warning: Unexpected console statement (no-console) at src/app/main/components/help/help.vue:71:13:
  445. 69 | }
  446. 70 | } catch (e) {
  447. > 71 | console.warn(e.toString())
  448. | ^
  449. 72 | }
  450. 73 | }
  451. 74 | }
  452.  
  453.  
  454. 1 warning found.
  455.  
  456. Module Warning (from ./node_modules/eslint-loader/index.js):
  457. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:224:9:
  458. 222 | clearInterval(this.mapUpdates)
  459. 223 | }
  460. > 224 | console.debug('update is stoped')
  461. | ^
  462. 225 | },
  463. 226 | startUpdate (interval = 5000) {
  464. 227 | if (this.mapUpdates) {
  465.  
  466.  
  467. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:235:9:
  468. 233 | this.fetchData()
  469. 234 | }, interval)
  470. > 235 | console.debug('update is running')
  471. | ^
  472. 236 | },
  473. 237 | async fetchData () {
  474. 238 | if (this.fetchDataLocked) {
  475.  
  476.  
  477. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:254:11:
  478. 252 | this.drawMarkerClusterGroups(this.getFeatures(this.$route))
  479. 253 | } catch (e) {
  480. > 254 | console.error(e)
  481. | ^
  482. 255 | // не отображать пользователю ошибки при поллинге данных
  483. 256 | // handleApiActionError(this, e)
  484. 257 | }
  485.  
  486.  
  487. 3 warnings found.
  488.  
  489. Module Warning (from ./node_modules/eslint-loader/index.js):
  490. warning: Unexpected console statement (no-console) at src/app/transport-map/components/car-selected.vue:135:13:
  491. 133 | } catch (e) {
  492. 134 | if (this.item && this.car && this.item.id === this.car.id) {
  493. > 135 | console.error(e)
  494. | ^
  495. 136 | // не отображать пользователю ошибки при поллинге данных
  496. 137 | // handleApiActionError(this, e)
  497. 138 | } else {
  498.  
  499.  
  500. 1 warning found.
  501.  
  502. Module Warning (from ./node_modules/eslint-loader/index.js):
  503. warning: Unexpected console statement (no-console) at src/app/workspace/components/widgets-background.vue:60:11:
  504. 58 | })
  505. 59 | } catch (e) {
  506. > 60 | console.debug(e)
  507. | ^
  508. 61 | this.$store.commit('setUserServerlessDataItem', {
  509. 62 | key: 'widgetsBackground',
  510. 63 | data: {
  511.  
  512.  
  513. 1 warning found.
  514.  
  515. Module Warning (from ./node_modules/eslint-loader/index.js):
  516. warning: Unexpected console statement (no-console) at src/components/pagination/pagination.vue:60:13:
  517. 58 | const isValid = meta.hasOwnProperty('pageCount') && meta.hasOwnProperty('currentPage') && meta.hasOwnProperty('perPage')
  518. 59 | if (isValid === false) {
  519. > 60 | console.warn('Need meta with: {pageCount: 0, currentPage: 0 ...}')
  520. | ^
  521. 61 | }
  522. 62 | return isValid
  523. 63 | }
  524.  
  525.  
  526. 1 warning found.
  527.  
  528. You may use special comments to disable some warnings.
  529. Use // eslint-disable-next-line to ignore the next line.
  530. Use /* eslint-disable */ to ignore all warnings in a file.
  531. warning in ./src/api/AuthServerService.js
  532.  
  533. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  534.  
  535. /app/src/api/AuthServerService.js
  536. 104:7 warning Unexpected console statement no-console
  537.  
  538. ✖ 1 problem (0 errors, 1 warning)
  539.  
  540.  
  541. @ ./src/main.js 41:0-56 48:23-40
  542. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  543.  
  544. warning in ./src/app/workspace/store/actions.js
  545.  
  546. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  547.  
  548. /app/src/app/workspace/store/actions.js
  549. 51:5 warning Unexpected console statement no-console
  550.  
  551. ✖ 1 problem (0 errors, 1 warning)
  552.  
  553.  
  554. @ ./src/store/index.js 7:0-66 19:15-31
  555. @ ./src/main.js
  556. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  557.  
  558. warning in ./src/configs/config.js
  559.  
  560. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  561.  
  562. /app/src/configs/config.js
  563. 47:7 warning Unexpected console statement no-console
  564. 51:7 warning Unexpected console statement no-console
  565.  
  566. ✖ 2 problems (0 errors, 2 warnings)
  567.  
  568.  
  569. @ ./src/main.js 16:0-46 27:9-19
  570. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  571.  
  572. warning in ./src/store/actions.js
  573.  
  574. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  575.  
  576. /app/src/store/actions.js
  577. 59:7 warning Unexpected console statement no-console
  578. 63:5 warning Unexpected console statement no-console
  579. 67:7 warning Unexpected console statement no-console
  580. 68:7 warning Unexpected console statement no-console
  581. 72:5 warning Unexpected console statement no-console
  582. 78:5 warning Unexpected console statement no-console
  583. 79:5 warning Unexpected console statement no-console
  584. 80:5 warning Unexpected console statement no-console
  585. 81:5 warning Unexpected console statement no-console
  586. 82:5 warning Unexpected console statement no-console
  587. 85:7 warning Unexpected console statement no-console
  588. 96:5 warning Unexpected console statement no-console
  589.  
  590. ✖ 12 problems (0 errors, 12 warnings)
  591.  
  592.  
  593. @ ./src/store/index.js 6:0-32 13:11-18
  594. @ ./src/main.js
  595. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  596.  
  597. warning in ./src/store/mutations.js
  598.  
  599. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  600.  
  601. /app/src/store/mutations.js
  602. 44:9 warning Unexpected console statement no-console
  603. 48:7 warning Unexpected console statement no-console
  604. 83:7 warning Unexpected console statement no-console
  605. 94:7 warning Unexpected console statement no-console
  606. 117:9 warning Unexpected console statement no-console
  607.  
  608. ✖ 5 problems (0 errors, 5 warnings)
  609.  
  610.  
  611. @ ./src/store/index.js 5:0-36 14:13-22
  612. @ ./src/main.js
  613. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  614.  
  615. warning
  616.  
  617. asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
  618. This can impact web performance.
  619. Assets:
  620. fonts/Montserrat-ExtraLight.38bc5e07.ttf (254 KiB)
  621. fonts/Montserrat-Thin.0052573b.ttf (253 KiB)
  622. fonts/Montserrat-ThinItalic.3cb62113.ttf (257 KiB)
  623. fonts/Montserrat-ExtraLightItalic.6885cd49.ttf (258 KiB)
  624. fonts/Montserrat-Light.100b38fa.ttf (253 KiB)
  625. fonts/Montserrat-LightItalic.428b2306.ttf (258 KiB)
  626. fonts/Montserrat-Regular.9c460951.ttf (257 KiB)
  627. fonts/Montserrat-Medium.a98626e1.ttf (254 KiB)
  628. fonts/Montserrat-Italic.67865463.ttf (260 KiB)
  629. fonts/Montserrat-MediumItalic.287208c8.ttf (259 KiB)
  630. fonts/Montserrat-SemiBoldItalic.2d3cef91.ttf (260 KiB)
  631. fonts/Montserrat-SemiBold.c88cecbf.ttf (255 KiB)
  632. fonts/Montserrat-Bold.88932dad.ttf (255 KiB)
  633. fonts/Montserrat-BoldItalic.781190ae.ttf (260 KiB)
  634. fonts/Montserrat-ExtraBold.9bc77c3b.ttf (256 KiB)
  635. fonts/Montserrat-ExtraBoldItalic.09a2d256.ttf (261 KiB)
  636. fonts/Montserrat-Black.6d1796a9.ttf (269 KiB)
  637. fonts/Montserrat-BlackItalic.b5331c5f.ttf (273 KiB)
  638. css/chunk-vendors.3449b626.css (296 KiB)
  639. js/chunk-vendors.ea3bb1af.js (2.35 MiB)
  640.  
  641. warning
  642.  
  643. entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
  644. Entrypoints:
  645. app (2.94 MiB)
  646. css/chunk-vendors.3449b626.css
  647. js/chunk-vendors.ea3bb1af.js
  648. css/app.3540ff4e.css
  649. js/app.b83493e8.js
  650.  
  651.  
  652. warning
  653.  
  654. webpack performance recommendations:
  655. You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
  656. For more info visit https://webpack.js.org/guides/code-splitting/
  657.  
  658. Webpack Bundle Analyzer saved report to /app/dist/report.html
  659. File Size Gzipped
  660.  
  661. dist/js/chunk-vendors.ea3bb1af.js 2409.23 KiB 711.23 KiB
  662. dist/js/app.b83493e8.js 192.61 KiB 48.49 KiB
  663. dist/leaflet-superclaster.worker.js 39.21 KiB 13.67 KiB
  664. dist/external/config.js 0.58 KiB 0.40 KiB
  665. dist/css/chunk-vendors.3449b626.css 296.01 KiB 48.33 KiB
  666. dist/css/app.3540ff4e.css 108.15 KiB 17.63 KiB
  667.  
  668. Images and other types of assets omitted.
  669.  
  670. DONE Build complete. The dist directory is ready to be deployed.
  671. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
  672.  
  673. Removing intermediate container e2958ef14f7e
  674. ---> 38c4a3c08aad
  675. Step 25/29 : FROM nginx:1.17.1-alpine
  676. ---> ea1193fd3dde
  677. Step 26/29 : COPY --from=build /app/dist /usr/share/nginx/html
  678. ---> 59607bef45ca
  679. Step 27/29 : COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
  680. ---> 721df84b7691
  681. Step 28/29 : WORKDIR /usr/share/nginx/html
  682. ---> Running in 4dad5f915a93
  683. Removing intermediate container 4dad5f915a93
  684. ---> 3dedfb752ac3
  685. Step 29/29 : CMD ["nginx", "-g", "daemon off;"]
  686. ---> Running in 923ecc1fb0f9
  687. Removing intermediate container 923ecc1fb0f9
  688. ---> 8aa375b511bd
  689. Successfully built 8aa375b511bd
  690. Successfully tagged front-qa:latest
  691. + docker tag front-qa tetronru/tcp-front:qa-latest
  692. + docker push tetronru/tcp-front:qa-latest
  693. The push refers to repository [docker.io/tetronru/tcp-front]
  694. 34f4a37996a0: Preparing
  695. e80208914f61: Preparing
  696. fbe0fc9bcf95: Preparing
  697. f1b5933fe4b5: Preparing
  698. f1b5933fe4b5: Layer already exists
  699. fbe0fc9bcf95: Layer already exists
  700. 34f4a37996a0: Pushed
  701. e80208914f61: Pushed
  702. qa-latest: digest: sha256:f313352ca6dfac84409c5ac04693792926dfeb1dd98d3d42f2d57e6430457457 size: 1157
  703. + make build-docker-image CONT_NAME=front-cloud AUTH_SERVER_ENABLED=false
  704. docker build --no-cache=false . -t front-cloud \
  705. --build-arg ROOT_API="" \
  706. --build-arg AUTH_SERVER="" \
  707. --build-arg AUTH_SERVER_ENABLED="false" \
  708. --build-arg SENTRY_DSN="" \
  709. --build-arg SENTRY_DISABLE_CLI="" \
  710. --build-arg SENTRY_PRIVATE_ORG="" \
  711. --build-arg SENTRY_PRIVATE_PROJECT="" \
  712. --build-arg SENTRY_PRIVATE_URL="" \
  713. --build-arg SENTRY_PRIVATE_TOKEN=""
  714. Sending build context to Docker daemon 7.008MB
  715.  
  716. Step 1/29 : FROM node:12.13.0-alpine as build
  717. ---> 5d187500daae
  718. Step 2/29 : RUN apk add --no-cache git
  719. ---> Using cache
  720. ---> 512433e40e3c
  721. Step 3/29 : WORKDIR /app
  722. ---> Using cache
  723. ---> b5f0ae7b2803
  724. Step 4/29 : COPY package.json package-lock.json ./
  725. ---> Using cache
  726. ---> d3320d348821
  727. Step 5/29 : RUN npm i
  728. ---> Using cache
  729. ---> 445488f6aede
  730. Step 6/29 : COPY . ./
  731. ---> Using cache
  732. ---> 3d265a480d43
  733. Step 7/29 : ARG AUTH_SERVER
  734. ---> Using cache
  735. ---> 737ef5a636f6
  736. Step 8/29 : ARG AUTH_SERVER_ENABLED
  737. ---> Using cache
  738. ---> 102d60aeb786
  739. Step 9/29 : ENV AUTH_SERVER "$AUTH_SERVER"
  740. ---> Running in f4a7d21a9409
  741. Removing intermediate container f4a7d21a9409
  742. ---> 6a9679fa6c8b
  743. Step 10/29 : ENV AUTH_SERVER_ENABLED "$AUTH_SERVER_ENABLED"
  744. ---> Running in 72342fcd0357
  745. Removing intermediate container 72342fcd0357
  746. ---> a9ffff8800f3
  747. Step 11/29 : ARG ROOT_API
  748. ---> Running in efd3a65cc766
  749. Removing intermediate container efd3a65cc766
  750. ---> b9c6f96b8183
  751. Step 12/29 : ENV ROOT_API "$ROOT_API"
  752. ---> Running in 7c898c48f7e7
  753. Removing intermediate container 7c898c48f7e7
  754. ---> aa1ce287ba46
  755. Step 13/29 : ARG SENTRY_DSN
  756. ---> Running in b0529ddd71cf
  757. Removing intermediate container b0529ddd71cf
  758. ---> ecb50cd119b7
  759. Step 14/29 : ENV SENTRY_DSN "$SENTRY_DSN"
  760. ---> Running in 97ed713fe816
  761. Removing intermediate container 97ed713fe816
  762. ---> 5ac353c4e162
  763. Step 15/29 : ARG SENTRY_DISABLE_CLI
  764. ---> Running in 7654a0c932ab
  765. Removing intermediate container 7654a0c932ab
  766. ---> aa56114d7c04
  767. Step 16/29 : ENV SENTRY_DISABLE_CLI "$SENTRY_DISABLE_CLI"
  768. ---> Running in 97b03cdd54d6
  769. Removing intermediate container 97b03cdd54d6
  770. ---> 640bf0389cc5
  771. Step 17/29 : ARG SENTRY_PRIVATE_ORG
  772. ---> Running in 50dbd28af03a
  773. Removing intermediate container 50dbd28af03a
  774. ---> 61020e0aba82
  775. Step 18/29 : ARG SENTRY_PRIVATE_PROJECT
  776. ---> Running in 69099c047824
  777. Removing intermediate container 69099c047824
  778. ---> 905a4a58a344
  779. Step 19/29 : ARG SENTRY_PRIVATE_URL
  780. ---> Running in 010fc2f4b297
  781. Removing intermediate container 010fc2f4b297
  782. ---> 25bab3d80f55
  783. Step 20/29 : ARG SENTRY_PRIVATE_TOKEN
  784. ---> Running in 625b3e9b1e10
  785. Removing intermediate container 625b3e9b1e10
  786. ---> 97ea3bdcf54e
  787. Step 21/29 : RUN if [ -n "$SENTRY_PRIVATE_ORG" ] ; then printf "%s\r\n" "#generated on build container" "[defaults]" "org=$SENTRY_PRIVATE_ORG" "project=$SENTRY_PRIVATE_PROJECT" "url=$SENTRY_PRIVATE_URL" "[auth]" "token=$SENTRY_PRIVATE_TOKEN" > .sentryclirc ; fi
  788. ---> Running in 0e3ff003bdc1
  789. Removing intermediate container 0e3ff003bdc1
  790. ---> 54bc10f6cee7
  791. Step 22/29 : RUN printf "%s\n" "#generated on build container" "GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2)" "GIT_LAST_COMMIT=$(git log --format="%H" -n 1)" >> .env
  792. ---> Running in 311107b1d99b
  793. Removing intermediate container 311107b1d99b
  794. ---> 0d6aaa3f3443
  795. Step 23/29 : RUN npm run test:unit
  796. ---> Running in 3ddd5f72d204
  797.  
  798. > tcp-front@0.3.0 test:unit /app
  799. > vue-cli-service test:unit
  800.  
  801.  
  802. APP_LAST_BUILD=Thu, 21 Nov 2019 08:45:10 GMT
  803. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  804. process.env.NODE_ENV=test
  805. process.env.IS_E2E_TEST=undefined
  806. process.env.AUTH_SERVER_ENABLED=false
  807. process.env.AUTH_SERVER=
  808. process.env.ROOT_API=
  809. process.env.AGENT_ID=undefined
  810. process.env.GIT_BRANCH=(HEAD
  811. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  812. process.env.SENTRY_DISABLE_CLI=false
  813. process.env.SENTRY_DSN=
  814.  
  815.  
  816. APP_LAST_BUILD=Thu, 21 Nov 2019 08:45:19 GMT
  817. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  818. process.env.NODE_ENV=test
  819. process.env.IS_E2E_TEST=undefined
  820. process.env.AUTH_SERVER_ENABLED=false
  821. process.env.AUTH_SERVER=
  822. process.env.ROOT_API=
  823. process.env.AGENT_ID=undefined
  824. process.env.GIT_BRANCH=(HEAD
  825. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  826. process.env.SENTRY_DISABLE_CLI=false
  827. process.env.SENTRY_DSN=
  828.  
  829. WEBPACK Compiling...
  830.  
  831. Download the Vue Devtools extension for a better development experience:
  832. https://github.com/vuejs/vue-devtools
  833. You are running Vue in development mode.
  834. Make sure to turn on production mode when deploying for production.
  835. See more tips at https://vuejs.org/guide/deployment.html
  836. DONE Compiled successfully in 7392ms
  837.  
  838. WEBPACK Compiled successfully in 7392ms
  839.  
  840. MOCHA Testing...
  841.  
  842.  
  843.  
  844. Аутентификация через SSO
  845. ✓ проверка вызова аутентификац. сервиса
  846. ApiClient authServerService 0 {
  847. store: { state: {}, getters: { isGuest: true }, commit: [Function: commit] },
  848. services: {
  849. authServerService: AuthServerService {
  850. _isLaunchedOnAppStartup: true,
  851. _responsePromise: [Object],
  852. httpCalls: [],
  853. token: 'test',
  854. getHTTPLibInstance: [Function],
  855. authServerEnabled: [Function]
  856. }
  857. }
  858. }
  859. ApiClient authServerService 0 {
  860. store: {
  861. state: { authStatus: false, mutateError: [Object] },
  862. getters: { isGuest: true },
  863. commit: [Function: commit]
  864. },
  865. services: {
  866. authServerService: AuthServerService {
  867. _isLaunchedOnAppStartup: true,
  868. _responsePromise: [Object],
  869. httpCalls: [],
  870. token: 'test',
  871. getHTTPLibInstance: [Function],
  872. authServerEnabled: [Function]
  873. }
  874. }
  875. }
  876. ✓ проверка повторов вызовов в ApiClient
  877.  
  878. src/app/workspace/utils/collides.js
  879. ✓ алогоритм разрешения удаления
  880.  
  881. src/components/button/button.vue
  882. ✓ проверка состояний кнопки (41ms)
  883.  
  884. src/components/error/error.vue
  885. ✓ сообщение об ошибке отображается
  886.  
  887. src/components/form/form.vue
  888. ✓ форма отображает и валидирует данные
  889.  
  890. src/components/input/input.vue
  891. ✓ првоерка состойний и опций
  892.  
  893. src/components/modal/modal.vue
  894. ✓ модальное окно всплывает и закрывается
  895.  
  896. src/components/pagination/pagination.vue
  897. ✓ пагинатор рендерится корректно
  898. ✓ события всплывают
  899.  
  900. src/components/select/select.vue
  901. ✓ проверка выбора селекта и опций
  902.  
  903. src/components/table/table.vue
  904. ✓ проверка рендренига таблицы
  905. ✓ проверка сортировки таблицы
  906.  
  907. src/components/tabs/tabs.vue
  908. ✓ проверка ренедерндинга и переключение без ротинга
  909. ✓ проверка авто роутинга
  910.  
  911. src/store/actions.js
  912. renewToken
  913. sec after last check 1574325927.293
  914. jwt {"token":"asdasd","expireInUTCMilliseconds":1574325927292}
  915. expireAt undefined
  916. expireAtWithTolerance 1574325567292
  917. +new Date() 1574325927293
  918. untilRefresh -360001
  919. run update jwt
  920. renewToken
  921. sec after last check 0.001
  922. jwt {"token":"asdasd","expireInUTCMilliseconds":1574327727294}
  923. expireAt undefined
  924. expireAtWithTolerance 1574327367294
  925. +new Date() 1574325927295
  926. untilRefresh 1440000
  927. ✓ проверка обновления jwt
  928.  
  929. src/store/mutations.js
  930. ✓ userSetAuthData
  931.  
  932. src/utils/url.js
  933. ✓ buildURLQueryFromRoute
  934.  
  935.  
  936. 18 passing (297ms)
  937.  
  938. MOCHA Tests completed successfully
  939.  
  940. Removing intermediate container 3ddd5f72d204
  941. ---> a73ac6ea541b
  942. Step 24/29 : RUN npm run build
  943. ---> Running in 6dc2f3fb0cc2
  944.  
  945. > tcp-front@0.3.0 build /app
  946. > cross-env NODE_OPTIONS='--max-old-space-size=1800' vue-cli-service build
  947.  
  948.  
  949. APP_LAST_BUILD=Thu, 21 Nov 2019 08:45:30 GMT
  950. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  951. process.env.NODE_ENV=production
  952. process.env.IS_E2E_TEST=undefined
  953. process.env.AUTH_SERVER_ENABLED=false
  954. process.env.AUTH_SERVER=
  955. process.env.ROOT_API=
  956. process.env.AGENT_ID=undefined
  957. process.env.GIT_BRANCH=(HEAD
  958. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  959. process.env.SENTRY_DISABLE_CLI=false
  960. process.env.SENTRY_DSN=
  961.  
  962.  
  963. - Building for production...
  964. 0.00 compiling
  965. 10.60 building
  966. 12.28 building
  967. 25.84 building
  968. 44.08 building
  969. 65.90 building
  970. 65.82 building
  971. 66.71 building
  972. 69.61 building
  973. 70.00 building
  974.  
  975. 93.04 after chunk asset optimization
  976.  
  977. 93.04 after chunk asset optimization
  978.  
  979. 95.00 emitting
  980.  
  981. > Analyzing 6 sources
  982. > Rewriting sources
  983. > Adding source map references
  984. > Uploading source maps for release 0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  985.  
  986. Source Map Upload Report
  987. Scripts
  988. ~/external/config.js
  989. Minified Scripts
  990. ~/js/app.3e2e46fd.js (sourcemap at app.3e2e46fd.js.map)
  991. ~/js/chunk-vendors.ea3bb1af.js (sourcemap at chunk-vendors.ea3bb1af.js.map)
  992. ~/leaflet-superclaster.worker.js (sourcemap at leaflet-superclaster.worker.js.map)
  993. - warning: could not determine a source map reference (Could not auto-detect referenced sourcemap for ~/leaflet-superclaster.worker.js.)
  994. Source Maps
  995. ~/js/app.3e2e46fd.js.map
  996. ~/js/chunk-vendors.ea3bb1af.js.map
  997. 98.00 after emitting
  998. WARNING Compiled with 13 warnings8:46:55 AM
  999.  
  1000. Module Warning (from ./node_modules/eslint-loader/index.js):
  1001. warning: Unexpected console statement (no-console) at src/app/main/components/help/help.vue:71:13:
  1002. 69 | }
  1003. 70 | } catch (e) {
  1004. > 71 | console.warn(e.toString())
  1005. | ^
  1006. 72 | }
  1007. 73 | }
  1008. 74 | }
  1009.  
  1010.  
  1011. 1 warning found.
  1012.  
  1013. Module Warning (from ./node_modules/eslint-loader/index.js):
  1014. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:224:9:
  1015. 222 | clearInterval(this.mapUpdates)
  1016. 223 | }
  1017. > 224 | console.debug('update is stoped')
  1018. | ^
  1019. 225 | },
  1020. 226 | startUpdate (interval = 5000) {
  1021. 227 | if (this.mapUpdates) {
  1022.  
  1023.  
  1024. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:235:9:
  1025. 233 | this.fetchData()
  1026. 234 | }, interval)
  1027. > 235 | console.debug('update is running')
  1028. | ^
  1029. 236 | },
  1030. 237 | async fetchData () {
  1031. 238 | if (this.fetchDataLocked) {
  1032.  
  1033.  
  1034. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:254:11:
  1035. 252 | this.drawMarkerClusterGroups(this.getFeatures(this.$route))
  1036. 253 | } catch (e) {
  1037. > 254 | console.error(e)
  1038. | ^
  1039. 255 | // не отображать пользователю ошибки при поллинге данных
  1040. 256 | // handleApiActionError(this, e)
  1041. 257 | }
  1042.  
  1043.  
  1044. 3 warnings found.
  1045.  
  1046. Module Warning (from ./node_modules/eslint-loader/index.js):
  1047. warning: Unexpected console statement (no-console) at src/app/transport-map/components/car-selected.vue:135:13:
  1048. 133 | } catch (e) {
  1049. 134 | if (this.item && this.car && this.item.id === this.car.id) {
  1050. > 135 | console.error(e)
  1051. | ^
  1052. 136 | // не отображать пользователю ошибки при поллинге данных
  1053. 137 | // handleApiActionError(this, e)
  1054. 138 | } else {
  1055.  
  1056.  
  1057. 1 warning found.
  1058.  
  1059. Module Warning (from ./node_modules/eslint-loader/index.js):
  1060. warning: Unexpected console statement (no-console) at src/app/workspace/components/widgets-background.vue:60:11:
  1061. 58 | })
  1062. 59 | } catch (e) {
  1063. > 60 | console.debug(e)
  1064. | ^
  1065. 61 | this.$store.commit('setUserServerlessDataItem', {
  1066. 62 | key: 'widgetsBackground',
  1067. 63 | data: {
  1068.  
  1069.  
  1070. 1 warning found.
  1071.  
  1072. Module Warning (from ./node_modules/eslint-loader/index.js):
  1073. warning: Unexpected console statement (no-console) at src/components/pagination/pagination.vue:60:13:
  1074. 58 | const isValid = meta.hasOwnProperty('pageCount') && meta.hasOwnProperty('currentPage') && meta.hasOwnProperty('perPage')
  1075. 59 | if (isValid === false) {
  1076. > 60 | console.warn('Need meta with: {pageCount: 0, currentPage: 0 ...}')
  1077. | ^
  1078. 61 | }
  1079. 62 | return isValid
  1080. 63 | }
  1081.  
  1082.  
  1083. 1 warning found.
  1084.  
  1085. You may use special comments to disable some warnings.
  1086. Use // eslint-disable-next-line to ignore the next line.
  1087. Use /* eslint-disable */ to ignore all warnings in a file.
  1088. warning in ./src/api/AuthServerService.js
  1089.  
  1090. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1091.  
  1092. /app/src/api/AuthServerService.js
  1093. 104:7 warning Unexpected console statement no-console
  1094.  
  1095. ✖ 1 problem (0 errors, 1 warning)
  1096.  
  1097.  
  1098. @ ./src/main.js 41:0-56 48:23-40
  1099. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  1100.  
  1101. warning in ./src/app/workspace/store/actions.js
  1102.  
  1103. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1104.  
  1105. /app/src/app/workspace/store/actions.js
  1106. 51:5 warning Unexpected console statement no-console
  1107.  
  1108. ✖ 1 problem (0 errors, 1 warning)
  1109.  
  1110.  
  1111. @ ./src/store/index.js 7:0-66 19:15-31
  1112. @ ./src/main.js
  1113. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  1114.  
  1115. warning in ./src/configs/config.js
  1116.  
  1117. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1118.  
  1119. /app/src/configs/config.js
  1120. 47:7 warning Unexpected console statement no-console
  1121. 51:7 warning Unexpected console statement no-console
  1122.  
  1123. ✖ 2 problems (0 errors, 2 warnings)
  1124.  
  1125.  
  1126. @ ./src/main.js 16:0-46 27:9-19
  1127. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  1128.  
  1129. warning in ./src/store/actions.js
  1130.  
  1131. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1132.  
  1133. /app/src/store/actions.js
  1134. 59:7 warning Unexpected console statement no-console
  1135. 63:5 warning Unexpected console statement no-console
  1136. 67:7 warning Unexpected console statement no-console
  1137. 68:7 warning Unexpected console statement no-console
  1138. 72:5 warning Unexpected console statement no-console
  1139. 78:5 warning Unexpected console statement no-console
  1140. 79:5 warning Unexpected console statement no-console
  1141. 80:5 warning Unexpected console statement no-console
  1142. 81:5 warning Unexpected console statement no-console
  1143. 82:5 warning Unexpected console statement no-console
  1144. 85:7 warning Unexpected console statement no-console
  1145. 96:5 warning Unexpected console statement no-console
  1146.  
  1147. ✖ 12 problems (0 errors, 12 warnings)
  1148.  
  1149.  
  1150. @ ./src/store/index.js 6:0-32 13:11-18
  1151. @ ./src/main.js
  1152. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  1153.  
  1154. warning in ./src/store/mutations.js
  1155.  
  1156. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1157.  
  1158. /app/src/store/mutations.js
  1159. 44:9 warning Unexpected console statement no-console
  1160. 48:7 warning Unexpected console statement no-console
  1161. 83:7 warning Unexpected console statement no-console
  1162. 94:7 warning Unexpected console statement no-console
  1163. 117:9 warning Unexpected console statement no-console
  1164.  
  1165. ✖ 5 problems (0 errors, 5 warnings)
  1166.  
  1167.  
  1168. @ ./src/store/index.js 5:0-36 14:13-22
  1169. @ ./src/main.js
  1170. @ multi ./node_modules/@sentry/webpack-plugin/src/sentry-webpack.module.js ./src/main.js
  1171.  
  1172. warning
  1173.  
  1174. asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
  1175. This can impact web performance.
  1176. Assets:
  1177. fonts/Montserrat-Thin.0052573b.ttf (253 KiB)
  1178. fonts/Montserrat-ThinItalic.3cb62113.ttf (257 KiB)
  1179. fonts/Montserrat-ExtraLight.38bc5e07.ttf (254 KiB)
  1180. fonts/Montserrat-ExtraLightItalic.6885cd49.ttf (258 KiB)
  1181. fonts/Montserrat-Light.100b38fa.ttf (253 KiB)
  1182. fonts/Montserrat-LightItalic.428b2306.ttf (258 KiB)
  1183. fonts/Montserrat-Regular.9c460951.ttf (257 KiB)
  1184. fonts/Montserrat-Italic.67865463.ttf (260 KiB)
  1185. fonts/Montserrat-Medium.a98626e1.ttf (254 KiB)
  1186. fonts/Montserrat-MediumItalic.287208c8.ttf (259 KiB)
  1187. fonts/Montserrat-SemiBold.c88cecbf.ttf (255 KiB)
  1188. fonts/Montserrat-SemiBoldItalic.2d3cef91.ttf (260 KiB)
  1189. fonts/Montserrat-Bold.88932dad.ttf (255 KiB)
  1190. fonts/Montserrat-BoldItalic.781190ae.ttf (260 KiB)
  1191. fonts/Montserrat-ExtraBold.9bc77c3b.ttf (256 KiB)
  1192. fonts/Montserrat-ExtraBoldItalic.09a2d256.ttf (261 KiB)
  1193. fonts/Montserrat-Black.6d1796a9.ttf (269 KiB)
  1194. fonts/Montserrat-BlackItalic.b5331c5f.ttf (273 KiB)
  1195. css/chunk-vendors.3449b626.css (296 KiB)
  1196. js/chunk-vendors.ea3bb1af.js (2.35 MiB)
  1197.  
  1198. warning
  1199.  
  1200. entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
  1201. Entrypoints:
  1202. app (2.94 MiB)
  1203. css/chunk-vendors.3449b626.css
  1204. js/chunk-vendors.ea3bb1af.js
  1205. css/app.3540ff4e.css
  1206. js/app.3e2e46fd.js
  1207.  
  1208.  
  1209. warning
  1210.  
  1211. webpack performance recommendations:
  1212. You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
  1213. For more info visit https://webpack.js.org/guides/code-splitting/
  1214.  
  1215. Webpack Bundle Analyzer saved report to /app/dist/report.html
  1216. File Size Gzipped
  1217.  
  1218. dist/js/chunk-vendors.ea3bb1af.js 2409.23 KiB 711.23 KiB
  1219. dist/js/app.3e2e46fd.js 192.59 KiB 48.48 KiB
  1220. dist/leaflet-superclaster.worker.js 39.21 KiB 13.67 KiB
  1221. dist/external/config.js 0.58 KiB 0.40 KiB
  1222. dist/css/chunk-vendors.3449b626.css 296.01 KiB 48.33 KiB
  1223. dist/css/app.3540ff4e.css 108.15 KiB 17.63 KiB
  1224.  
  1225. Images and other types of assets omitted.
  1226.  
  1227. DONE Build complete. The dist directory is ready to be deployed.
  1228. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
  1229.  
  1230.  
  1231. Removing intermediate container 6dc2f3fb0cc2
  1232. ---> fcb3de436898
  1233. Step 25/29 : FROM nginx:1.17.1-alpine
  1234. ---> ea1193fd3dde
  1235. Step 26/29 : COPY --from=build /app/dist /usr/share/nginx/html
  1236.  
  1237. ---> 6e03b9625a1d
  1238. Step 27/29 : COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
  1239. ---> 99b4d4964bed
  1240. Step 28/29 : WORKDIR /usr/share/nginx/html
  1241. ---> Running in 56696ae03b93
  1242.  
  1243. Removing intermediate container 56696ae03b93
  1244. ---> fdc1f8533763
  1245. Step 29/29 : CMD ["nginx", "-g", "daemon off;"]
  1246. ---> Running in 771ef9c7d3ed
  1247. Removing intermediate container 771ef9c7d3ed
  1248. ---> 7b9f7daee0fc
  1249. Successfully built 7b9f7daee0fc
  1250. Successfully tagged front-cloud:latest
  1251. + docker tag front-cloud tetronru/tcp-front:cloud-latest
  1252.  
  1253. + docker push tetronru/tcp-front:cloud-latest
  1254. The push refers to repository [docker.io/tetronru/tcp-front]
  1255.  
  1256. 085f4ee5478f: Preparing
  1257. 7a19850a9bcc: Preparing
  1258. fbe0fc9bcf95: Preparing
  1259. f1b5933fe4b5: Preparing
  1260.  
  1261. f1b5933fe4b5: Layer already exists
  1262. fbe0fc9bcf95: Layer already exists
  1263.  
  1264. 085f4ee5478f: Pushed
  1265.  
  1266. 7a19850a9bcc: Pushed
  1267.  
  1268. cloud-latest: digest: sha256:5697642eec7be4a3f1d82452797446edd9a9e2d9e083c5b15d7a8fd141ad5409 size: 1157
  1269. + make build-docker-image CONT_NAME=front-mrsk-c AUTH_SERVER_ENABLED=true AUTH_SERVER=http://auth.wialon.mrsk-c.local SENTRY_DISABLE_CLI=true SENTRY_DSN=http://1030c952c00042768eaac27369ac203f@10.52.45.136:8888/7
  1270. docker build --no-cache=false . -t front-mrsk-c \
  1271. --build-arg ROOT_API="" \
  1272. --build-arg AUTH_SERVER="http://auth.wialon.mrsk-c.local" \
  1273. --build-arg AUTH_SERVER_ENABLED="true" \
  1274. --build-arg SENTRY_DSN="http://1030c952c00042768eaac27369ac203f@10.52.45.136:8888/7" \
  1275. --build-arg SENTRY_DISABLE_CLI="true" \
  1276. --build-arg SENTRY_PRIVATE_ORG="" \
  1277. --build-arg SENTRY_PRIVATE_PROJECT="" \
  1278. --build-arg SENTRY_PRIVATE_URL="" \
  1279. --build-arg SENTRY_PRIVATE_TOKEN=""
  1280. Sending build context to Docker daemon 7.008MB
  1281.  
  1282. Step 1/29 : FROM node:12.13.0-alpine as build
  1283. ---> 5d187500daae
  1284. Step 2/29 : RUN apk add --no-cache git
  1285. ---> Using cache
  1286. ---> 512433e40e3c
  1287. Step 3/29 : WORKDIR /app
  1288. ---> Using cache
  1289. ---> b5f0ae7b2803
  1290. Step 4/29 : COPY package.json package-lock.json ./
  1291. ---> Using cache
  1292. ---> d3320d348821
  1293. Step 5/29 : RUN npm i
  1294. ---> Using cache
  1295. ---> 445488f6aede
  1296. Step 6/29 : COPY . ./
  1297. ---> Using cache
  1298. ---> 3d265a480d43
  1299. Step 7/29 : ARG AUTH_SERVER
  1300. ---> Using cache
  1301. ---> 737ef5a636f6
  1302. Step 8/29 : ARG AUTH_SERVER_ENABLED
  1303. ---> Using cache
  1304. ---> 102d60aeb786
  1305. Step 9/29 : ENV AUTH_SERVER "$AUTH_SERVER"
  1306.  
  1307. ---> Running in 57ba7603902d
  1308. Removing intermediate container 57ba7603902d
  1309. ---> 850d61de14e8
  1310. Step 10/29 : ENV AUTH_SERVER_ENABLED "$AUTH_SERVER_ENABLED"
  1311. ---> Running in 348c854a0bc2
  1312. Removing intermediate container 348c854a0bc2
  1313. ---> 81f91348dc12
  1314. Step 11/29 : ARG ROOT_API
  1315. ---> Running in 48fbf18b27b2
  1316. Removing intermediate container 48fbf18b27b2
  1317. ---> 6d0944b5d278
  1318. Step 12/29 : ENV ROOT_API "$ROOT_API"
  1319. ---> Running in e97bd9858e8d
  1320. Removing intermediate container e97bd9858e8d
  1321. ---> f709e32ce9a4
  1322. Step 13/29 : ARG SENTRY_DSN
  1323. ---> Running in 546249a1729d
  1324. Removing intermediate container 546249a1729d
  1325. ---> 13e0533aa3af
  1326. Step 14/29 : ENV SENTRY_DSN "$SENTRY_DSN"
  1327. ---> Running in 0a082e4207ee
  1328.  
  1329. Removing intermediate container 0a082e4207ee
  1330. ---> 69337b009561
  1331. Step 15/29 : ARG SENTRY_DISABLE_CLI
  1332. ---> Running in 1fa2ecf857fe
  1333. Removing intermediate container 1fa2ecf857fe
  1334. ---> a1fd0d22519b
  1335. Step 16/29 : ENV SENTRY_DISABLE_CLI "$SENTRY_DISABLE_CLI"
  1336. ---> Running in 5bf953477d27
  1337. Removing intermediate container 5bf953477d27
  1338. ---> 09117d3633be
  1339. Step 17/29 : ARG SENTRY_PRIVATE_ORG
  1340. ---> Running in 46ff6f77443b
  1341.  
  1342. Removing intermediate container 46ff6f77443b
  1343. ---> 235781b1b1a7
  1344. Step 18/29 : ARG SENTRY_PRIVATE_PROJECT
  1345. ---> Running in 18399ad617f6
  1346. Removing intermediate container 18399ad617f6
  1347. ---> 44d24c407ad7
  1348. Step 19/29 : ARG SENTRY_PRIVATE_URL
  1349. ---> Running in 04bef45cd941
  1350. Removing intermediate container 04bef45cd941
  1351. ---> 71da7021be4d
  1352. Step 20/29 : ARG SENTRY_PRIVATE_TOKEN
  1353.  
  1354. ---> Running in 9a95a7443a50
  1355. Removing intermediate container 9a95a7443a50
  1356. ---> 86e17982dd29
  1357. Step 21/29 : RUN if [ -n "$SENTRY_PRIVATE_ORG" ] ; then printf "%s\r\n" "#generated on build container" "[defaults]" "org=$SENTRY_PRIVATE_ORG" "project=$SENTRY_PRIVATE_PROJECT" "url=$SENTRY_PRIVATE_URL" "[auth]" "token=$SENTRY_PRIVATE_TOKEN" > .sentryclirc ; fi
  1358. ---> Running in 93577a23bdd2
  1359.  
  1360. Removing intermediate container 93577a23bdd2
  1361. ---> 49628ecaebd2
  1362. Step 22/29 : RUN printf "%s\n" "#generated on build container" "GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2)" "GIT_LAST_COMMIT=$(git log --format="%H" -n 1)" >> .env
  1363. ---> Running in c9d6fe6dcc18
  1364.  
  1365. Removing intermediate container c9d6fe6dcc18
  1366. ---> bb5ab085fa34
  1367. Step 23/29 : RUN npm run test:unit
  1368. ---> Running in 8243b3300a88
  1369.  
  1370. > tcp-front@0.3.0 test:unit /app
  1371. > vue-cli-service test:unit
  1372.  
  1373. APP_LAST_BUILD=Thu, 21 Nov 2019 08:47:39 GMT
  1374. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1375. process.env.NODE_ENV=test
  1376. process.env.IS_E2E_TEST=undefined
  1377. process.env.AUTH_SERVER_ENABLED=true
  1378. process.env.AUTH_SERVER=http://auth.wialon.mrsk-c.local
  1379. process.env.ROOT_API=
  1380. process.env.AGENT_ID=undefined
  1381. process.env.GIT_BRANCH=(HEAD
  1382. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1383. process.env.SENTRY_DISABLE_CLI=true
  1384. process.env.SENTRY_DSN=http://1030c952c00042768eaac27369ac203f@10.52.45.136:8888/7
  1385.  
  1386. APP_LAST_BUILD=Thu, 21 Nov 2019 08:47:47 GMT
  1387. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1388. process.env.NODE_ENV=test
  1389. process.env.IS_E2E_TEST=undefined
  1390. process.env.AUTH_SERVER_ENABLED=true
  1391. process.env.AUTH_SERVER=http://auth.wialon.mrsk-c.local
  1392. process.env.ROOT_API=
  1393. process.env.AGENT_ID=undefined
  1394. process.env.GIT_BRANCH=(HEAD
  1395. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1396. process.env.SENTRY_DISABLE_CLI=true
  1397. process.env.SENTRY_DSN=http://1030c952c00042768eaac27369ac203f@10.52.45.136:8888/7
  1398.  
  1399. WEBPACK Compiling...
  1400.  
  1401. Download the Vue Devtools extension for a better development experience:
  1402. https://github.com/vuejs/vue-devtools
  1403. You are running Vue in development mode.
  1404. Make sure to turn on production mode when deploying for production.
  1405. See more tips at https://vuejs.org/guide/deployment.html
  1406.  
  1407. DONE Compiled successfully in 8516ms
  1408.  
  1409. WEBPACK Compiled successfully in 8516ms
  1410.  
  1411. MOCHA Testing...
  1412.  
  1413.  
  1414.  
  1415. Аутентификация через SSO
  1416. ✓ проверка вызова аутентификац. сервиса
  1417. ApiClient authServerService 0 {
  1418. store: { state: {}, getters: { isGuest: true }, commit: [Function: commit] },
  1419. services: {
  1420. authServerService: AuthServerService {
  1421. _isLaunchedOnAppStartup: true,
  1422. _responsePromise: [Object],
  1423. httpCalls: [],
  1424. token: 'test',
  1425. getHTTPLibInstance: [Function],
  1426. authServerEnabled: [Function]
  1427. }
  1428. }
  1429. }
  1430. ApiClient authServerService 0 {
  1431. store: {
  1432. state: { authStatus: false, mutateError: [Object] },
  1433. getters: { isGuest: true },
  1434. commit: [Function: commit]
  1435. },
  1436. services: {
  1437. authServerService: AuthServerService {
  1438. _isLaunchedOnAppStartup: true,
  1439. _responsePromise: [Object],
  1440. httpCalls: [],
  1441. token: 'test',
  1442. getHTTPLibInstance: [Function],
  1443. authServerEnabled: [Function]
  1444. }
  1445. }
  1446. }
  1447. ✓ проверка повторов вызовов в ApiClient
  1448.  
  1449. src/app/workspace/utils/collides.js
  1450. ✓ алогоритм разрешения удаления
  1451.  
  1452. src/components/button/button.vue
  1453. ✓ проверка состояний кнопки (38ms)
  1454.  
  1455. src/components/error/error.vue
  1456. ✓ сообщение об ошибке отображается
  1457.  
  1458. src/components/form/form.vue
  1459. ✓ форма отображает и валидирует данные (41ms)
  1460.  
  1461. src/components/input/input.vue
  1462. ✓ првоерка состойний и опций
  1463.  
  1464. src/components/modal/modal.vue
  1465. ✓ модальное окно всплывает и закрывается
  1466.  
  1467. src/components/pagination/pagination.vue
  1468. ✓ пагинатор рендерится корректно
  1469. ✓ события всплывают
  1470.  
  1471. src/components/select/select.vue
  1472. ✓ проверка выбора селекта и опций
  1473.  
  1474. src/components/table/table.vue
  1475. ✓ проверка рендренига таблицы
  1476. ✓ проверка сортировки таблицы
  1477.  
  1478. src/components/tabs/tabs.vue
  1479. ✓ проверка ренедерндинга и переключение без ротинга
  1480. ✓ проверка авто роутинга
  1481.  
  1482. src/store/actions.js
  1483. renewToken
  1484. sec after last check 1574326076.949
  1485. jwt {"token":"asdasd","expireInUTCMilliseconds":1574326076948}
  1486. expireAt undefined
  1487. expireAtWithTolerance 1574325716948
  1488. +new Date() 1574326076949
  1489. untilRefresh -360001
  1490. run update jwt
  1491. renewToken
  1492. sec after last check 0.001
  1493. jwt {"token":"asdasd","expireInUTCMilliseconds":1574327876950}
  1494. expireAt undefined
  1495. expireAtWithTolerance 1574327516950
  1496. +new Date() 1574326076950
  1497. untilRefresh 1440000
  1498. ✓ проверка обновления jwt
  1499.  
  1500. src/store/mutations.js
  1501. ✓ userSetAuthData
  1502.  
  1503. src/utils/url.js
  1504. ✓ buildURLQueryFromRoute
  1505.  
  1506.  
  1507. 18 passing (288ms)
  1508.  
  1509. MOCHA Tests completed successfully
  1510.  
  1511. Removing intermediate container 8243b3300a88
  1512. ---> 7c024b883d8c
  1513. Step 24/29 : RUN npm run build
  1514. ---> Running in 0c77dde75119
  1515.  
  1516. > tcp-front@0.3.0 build /app
  1517. > cross-env NODE_OPTIONS='--max-old-space-size=1800' vue-cli-service build
  1518.  
  1519.  
  1520. APP_LAST_BUILD=Thu, 21 Nov 2019 08:48:00 GMT
  1521. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1522. process.env.NODE_ENV=production
  1523. process.env.IS_E2E_TEST=undefined
  1524. process.env.AUTH_SERVER_ENABLED=true
  1525. process.env.AUTH_SERVER=http://auth.wialon.mrsk-c.local
  1526. process.env.ROOT_API=
  1527. process.env.AGENT_ID=undefined
  1528. process.env.GIT_BRANCH=(HEAD
  1529. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1530. process.env.SENTRY_DISABLE_CLI=true
  1531. process.env.SENTRY_DSN=http://1030c952c00042768eaac27369ac203f@10.52.45.136:8888/7
  1532.  
  1533.  
  1534. - Building for production...
  1535.  
  1536. Upload map files skipped
  1537. 0.00 compiling
  1538.  
  1539. 10.36 building
  1540.  
  1541. 12.16 building
  1542.  
  1543. 13.72 building
  1544.  
  1545. 37.24 building
  1546.  
  1547. 64.25 building
  1548.  
  1549. 66.38 building
  1550.  
  1551. 68.36 building
  1552.  
  1553. 69.79 building
  1554.  
  1555. 70.00 building
  1556.  
  1557. 93.04 after chunk asset optimization
  1558.  
  1559. 93.04 after chunk asset optimization
  1560.  
  1561. 95.00 emitting
  1562. WARNING Compiled with 13 warnings8:49:11 AM
  1563.  
  1564. Module Warning (from ./node_modules/eslint-loader/index.js):
  1565. warning: Unexpected console statement (no-console) at src/app/main/components/help/help.vue:71:13:
  1566. 69 | }
  1567. 70 | } catch (e) {
  1568. > 71 | console.warn(e.toString())
  1569. | ^
  1570. 72 | }
  1571. 73 | }
  1572. 74 | }
  1573.  
  1574.  
  1575. 1 warning found.
  1576.  
  1577. Module Warning (from ./node_modules/eslint-loader/index.js):
  1578. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:224:9:
  1579. 222 | clearInterval(this.mapUpdates)
  1580. 223 | }
  1581. > 224 | console.debug('update is stoped')
  1582. | ^
  1583. 225 | },
  1584. 226 | startUpdate (interval = 5000) {
  1585. 227 | if (this.mapUpdates) {
  1586.  
  1587.  
  1588. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:235:9:
  1589. 233 | this.fetchData()
  1590. 234 | }, interval)
  1591. > 235 | console.debug('update is running')
  1592. | ^
  1593. 236 | },
  1594. 237 | async fetchData () {
  1595. 238 | if (this.fetchDataLocked) {
  1596.  
  1597.  
  1598. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:254:11:
  1599. 252 | this.drawMarkerClusterGroups(this.getFeatures(this.$route))
  1600. 253 | } catch (e) {
  1601. > 254 | console.error(e)
  1602. | ^
  1603. 255 | // не отображать пользователю ошибки при поллинге данных
  1604. 256 | // handleApiActionError(this, e)
  1605. 257 | }
  1606.  
  1607.  
  1608. 3 warnings found.
  1609.  
  1610. Module Warning (from ./node_modules/eslint-loader/index.js):
  1611. warning: Unexpected console statement (no-console) at src/app/transport-map/components/car-selected.vue:135:13:
  1612. 133 | } catch (e) {
  1613. 134 | if (this.item && this.car && this.item.id === this.car.id) {
  1614. > 135 | console.error(e)
  1615. | ^
  1616. 136 | // не отображать пользователю ошибки при поллинге данных
  1617. 137 | // handleApiActionError(this, e)
  1618. 138 | } else {
  1619.  
  1620.  
  1621. 1 warning found.
  1622.  
  1623. Module Warning (from ./node_modules/eslint-loader/index.js):
  1624. warning: Unexpected console statement (no-console) at src/app/workspace/components/widgets-background.vue:60:11:
  1625. 58 | })
  1626. 59 | } catch (e) {
  1627. > 60 | console.debug(e)
  1628. | ^
  1629. 61 | this.$store.commit('setUserServerlessDataItem', {
  1630. 62 | key: 'widgetsBackground',
  1631. 63 | data: {
  1632.  
  1633.  
  1634. 1 warning found.
  1635.  
  1636. Module Warning (from ./node_modules/eslint-loader/index.js):
  1637. warning: Unexpected console statement (no-console) at src/components/pagination/pagination.vue:60:13:
  1638. 58 | const isValid = meta.hasOwnProperty('pageCount') && meta.hasOwnProperty('currentPage') && meta.hasOwnProperty('perPage')
  1639. 59 | if (isValid === false) {
  1640. > 60 | console.warn('Need meta with: {pageCount: 0, currentPage: 0 ...}')
  1641. | ^
  1642. 61 | }
  1643. 62 | return isValid
  1644. 63 | }
  1645.  
  1646.  
  1647. 1 warning found.
  1648.  
  1649. You may use special comments to disable some warnings.
  1650. Use // eslint-disable-next-line to ignore the next line.
  1651. Use /* eslint-disable */ to ignore all warnings in a file.
  1652. warning in ./src/api/AuthServerService.js
  1653.  
  1654. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1655.  
  1656. /app/src/api/AuthServerService.js
  1657. 104:7 warning Unexpected console statement no-console
  1658.  
  1659. ✖ 1 problem (0 errors, 1 warning)
  1660.  
  1661.  
  1662. @ ./src/main.js 41:0-56 48:23-40
  1663. @ multi ./src/main.js
  1664.  
  1665. warning in ./src/app/workspace/store/actions.js
  1666.  
  1667. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1668.  
  1669. /app/src/app/workspace/store/actions.js
  1670. 51:5 warning Unexpected console statement no-console
  1671.  
  1672. ✖ 1 problem (0 errors, 1 warning)
  1673.  
  1674.  
  1675. @ ./src/store/index.js 7:0-66 19:15-31
  1676. @ ./src/main.js
  1677. @ multi ./src/main.js
  1678.  
  1679. warning in ./src/configs/config.js
  1680.  
  1681. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1682.  
  1683. /app/src/configs/config.js
  1684. 47:7 warning Unexpected console statement no-console
  1685. 51:7 warning Unexpected console statement no-console
  1686.  
  1687. ✖ 2 problems (0 errors, 2 warnings)
  1688.  
  1689.  
  1690. @ ./src/main.js 16:0-46 27:9-19
  1691. @ multi ./src/main.js
  1692.  
  1693. warning in ./src/store/actions.js
  1694.  
  1695. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1696.  
  1697. /app/src/store/actions.js
  1698. 59:7 warning Unexpected console statement no-console
  1699. 63:5 warning Unexpected console statement no-console
  1700. 67:7 warning Unexpected console statement no-console
  1701. 68:7 warning Unexpected console statement no-console
  1702. 72:5 warning Unexpected console statement no-console
  1703. 78:5 warning Unexpected console statement no-console
  1704. 79:5 warning Unexpected console statement no-console
  1705. 80:5 warning Unexpected console statement no-console
  1706. 81:5 warning Unexpected console statement no-console
  1707. 82:5 warning Unexpected console statement no-console
  1708. 85:7 warning Unexpected console statement no-console
  1709. 96:5 warning Unexpected console statement no-console
  1710.  
  1711. ✖ 12 problems (0 errors, 12 warnings)
  1712.  
  1713.  
  1714. @ ./src/store/index.js 6:0-32 13:11-18
  1715. @ ./src/main.js
  1716. @ multi ./src/main.js
  1717.  
  1718. warning in ./src/store/mutations.js
  1719.  
  1720. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  1721.  
  1722. /app/src/store/mutations.js
  1723. 44:9 warning Unexpected console statement no-console
  1724. 48:7 warning Unexpected console statement no-console
  1725. 83:7 warning Unexpected console statement no-console
  1726. 94:7 warning Unexpected console statement no-console
  1727. 117:9 warning Unexpected console statement no-console
  1728.  
  1729. ✖ 5 problems (0 errors, 5 warnings)
  1730.  
  1731.  
  1732. @ ./src/store/index.js 5:0-36 14:13-22
  1733. @ ./src/main.js
  1734. @ multi ./src/main.js
  1735.  
  1736. warning
  1737.  
  1738. asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
  1739. This can impact web performance.
  1740. Assets:
  1741. fonts/Montserrat-Thin.0052573b.ttf (253 KiB)
  1742. fonts/Montserrat-ThinItalic.3cb62113.ttf (257 KiB)
  1743. fonts/Montserrat-ExtraLightItalic.6885cd49.ttf (258 KiB)
  1744. fonts/Montserrat-Light.100b38fa.ttf (253 KiB)
  1745. fonts/Montserrat-LightItalic.428b2306.ttf (258 KiB)
  1746. fonts/Montserrat-Regular.9c460951.ttf (257 KiB)
  1747. fonts/Montserrat-Italic.67865463.ttf (260 KiB)
  1748. fonts/Montserrat-Medium.a98626e1.ttf (254 KiB)
  1749. fonts/Montserrat-MediumItalic.287208c8.ttf (259 KiB)
  1750. fonts/Montserrat-SemiBold.c88cecbf.ttf (255 KiB)
  1751. fonts/Montserrat-SemiBoldItalic.2d3cef91.ttf (260 KiB)
  1752. fonts/Montserrat-Bold.88932dad.ttf (255 KiB)
  1753. fonts/Montserrat-ExtraLight.38bc5e07.ttf (254 KiB)
  1754. fonts/Montserrat-ExtraBold.9bc77c3b.ttf (256 KiB)
  1755. fonts/Montserrat-ExtraBoldItalic.09a2d256.ttf (261 KiB)
  1756. fonts/Montserrat-Black.6d1796a9.ttf (269 KiB)
  1757. fonts/Montserrat-BlackItalic.b5331c5f.ttf (273 KiB)
  1758. fonts/Montserrat-BoldItalic.781190ae.ttf (260 KiB)
  1759. css/chunk-vendors.3449b626.css (296 KiB)
  1760. js/chunk-vendors.1ad8089c.js (2.35 MiB)
  1761.  
  1762. warning
  1763.  
  1764. entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
  1765. Entrypoints:
  1766. app (2.94 MiB)
  1767. css/chunk-vendors.3449b626.css
  1768. js/chunk-vendors.1ad8089c.js
  1769. css/app.3540ff4e.css
  1770. js/app.d8326b60.js
  1771.  
  1772.  
  1773. warning
  1774.  
  1775. webpack performance recommendations:
  1776. You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
  1777. For more info visit https://webpack.js.org/guides/code-splitting/
  1778.  
  1779. Webpack Bundle Analyzer saved report to /app/dist/report.html
  1780. File Size Gzipped
  1781.  
  1782. dist/js/chunk-vendors.1ad8089c.js 2409.00 KiB 711.12 KiB
  1783. dist/js/app.d8326b60.js 192.61 KiB 48.48 KiB
  1784. dist/leaflet-superclaster.worker.js 39.21 KiB 13.67 KiB
  1785. dist/external/config.js 0.58 KiB 0.40 KiB
  1786. dist/css/chunk-vendors.3449b626.css 296.01 KiB 48.33 KiB
  1787. dist/css/app.3540ff4e.css 108.15 KiB 17.63 KiB
  1788.  
  1789. Images and other types of assets omitted.
  1790.  
  1791. DONE Build complete. The dist directory is ready to be deployed.
  1792. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
  1793.  
  1794.  
  1795. Removing intermediate container 0c77dde75119
  1796. ---> ff1880e7d19c
  1797. Step 25/29 : FROM nginx:1.17.1-alpine
  1798. ---> ea1193fd3dde
  1799. Step 26/29 : COPY --from=build /app/dist /usr/share/nginx/html
  1800.  
  1801. ---> 84b654e1b5fb
  1802. Step 27/29 : COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
  1803. ---> 37c583a4eb86
  1804. Step 28/29 : WORKDIR /usr/share/nginx/html
  1805. ---> Running in 778b2b177012
  1806. Removing intermediate container 778b2b177012
  1807. ---> b45429fc17ea
  1808. Step 29/29 : CMD ["nginx", "-g", "daemon off;"]
  1809. ---> Running in e6f6221551a3
  1810. Removing intermediate container e6f6221551a3
  1811. ---> b431bc269daf
  1812. Successfully built b431bc269daf
  1813. Successfully tagged front-mrsk-c:latest
  1814. + docker tag front-mrsk-c tetronru/tcp-front:mrsk-c-latest
  1815. + docker push tetronru/tcp-front:mrsk-c-latest
  1816. The push refers to repository [docker.io/tetronru/tcp-front]
  1817.  
  1818. 4a565845e9b4: Preparing
  1819. 5cfc949d7e57: Preparing
  1820. fbe0fc9bcf95: Preparing
  1821. f1b5933fe4b5: Preparing
  1822. fbe0fc9bcf95: Layer already exists
  1823. f1b5933fe4b5: Layer already exists
  1824.  
  1825. 4a565845e9b4: Pushed
  1826.  
  1827. 5cfc949d7e57: Pushed
  1828.  
  1829. mrsk-c-latest: digest: sha256:9332938f321e94bf46944574da7d1fd3728ca64f0a073730f3bfae2ee3cd8347 size: 1157
  1830. + make build-docker-image CONT_NAME=front-mrsk-cp AUTH_SERVER_ENABLED=true AUTH_SERVER=http://auth.wialon.dc.mrsk-cp.net SENTRY_DISABLE_CLI=true SENTRY_DSN=http://bb45374396c843808c85204da2822c4a@10.52.45.136:8888/6
  1831. docker build --no-cache=false . -t front-mrsk-cp \
  1832. --build-arg ROOT_API="" \
  1833. --build-arg AUTH_SERVER="http://auth.wialon.dc.mrsk-cp.net" \
  1834. --build-arg AUTH_SERVER_ENABLED="true" \
  1835. --build-arg SENTRY_DSN="http://bb45374396c843808c85204da2822c4a@10.52.45.136:8888/6" \
  1836. --build-arg SENTRY_DISABLE_CLI="true" \
  1837. --build-arg SENTRY_PRIVATE_ORG="" \
  1838. --build-arg SENTRY_PRIVATE_PROJECT="" \
  1839. --build-arg SENTRY_PRIVATE_URL="" \
  1840. --build-arg SENTRY_PRIVATE_TOKEN=""
  1841. Sending build context to Docker daemon 7.008MB
  1842.  
  1843. Step 1/29 : FROM node:12.13.0-alpine as build
  1844. ---> 5d187500daae
  1845. Step 2/29 : RUN apk add --no-cache git
  1846. ---> Using cache
  1847. ---> 512433e40e3c
  1848. Step 3/29 : WORKDIR /app
  1849. ---> Using cache
  1850. ---> b5f0ae7b2803
  1851. Step 4/29 : COPY package.json package-lock.json ./
  1852. ---> Using cache
  1853. ---> d3320d348821
  1854. Step 5/29 : RUN npm i
  1855. ---> Using cache
  1856. ---> 445488f6aede
  1857. Step 6/29 : COPY . ./
  1858. ---> Using cache
  1859. ---> 3d265a480d43
  1860. Step 7/29 : ARG AUTH_SERVER
  1861. ---> Using cache
  1862. ---> 737ef5a636f6
  1863. Step 8/29 : ARG AUTH_SERVER_ENABLED
  1864. ---> Using cache
  1865. ---> 102d60aeb786
  1866. Step 9/29 : ENV AUTH_SERVER "$AUTH_SERVER"
  1867. ---> Running in 73277121e3d6
  1868. Removing intermediate container 73277121e3d6
  1869. ---> d3e464a870df
  1870. Step 10/29 : ENV AUTH_SERVER_ENABLED "$AUTH_SERVER_ENABLED"
  1871. ---> Running in 1b20e9c3a974
  1872. Removing intermediate container 1b20e9c3a974
  1873. ---> 30379297d927
  1874. Step 11/29 : ARG ROOT_API
  1875.  
  1876. ---> Running in 7aedc64ad869
  1877. Removing intermediate container 7aedc64ad869
  1878. ---> 62e0417d4a85
  1879. Step 12/29 : ENV ROOT_API "$ROOT_API"
  1880. ---> Running in 10693555b4d2
  1881. Removing intermediate container 10693555b4d2
  1882. ---> df325e79d87f
  1883. Step 13/29 : ARG SENTRY_DSN
  1884. ---> Running in ce1acf0f4a59
  1885. Removing intermediate container ce1acf0f4a59
  1886. ---> 378ca8f2932f
  1887. Step 14/29 : ENV SENTRY_DSN "$SENTRY_DSN"
  1888. ---> Running in 5367958ff773
  1889. Removing intermediate container 5367958ff773
  1890. ---> 543600256c0d
  1891. Step 15/29 : ARG SENTRY_DISABLE_CLI
  1892. ---> Running in 82efef0f60fe
  1893. Removing intermediate container 82efef0f60fe
  1894. ---> d42a53f13fe9
  1895. Step 16/29 : ENV SENTRY_DISABLE_CLI "$SENTRY_DISABLE_CLI"
  1896. ---> Running in 6dbda2476d04
  1897. Removing intermediate container 6dbda2476d04
  1898. ---> 8013c45c6df5
  1899. Step 17/29 : ARG SENTRY_PRIVATE_ORG
  1900.  
  1901. ---> Running in 4423e94d1d98
  1902. Removing intermediate container 4423e94d1d98
  1903. ---> e0a4bf25b315
  1904. Step 18/29 : ARG SENTRY_PRIVATE_PROJECT
  1905. ---> Running in 488fef7e76c4
  1906. Removing intermediate container 488fef7e76c4
  1907. ---> 9f26602779d9
  1908. Step 19/29 : ARG SENTRY_PRIVATE_URL
  1909. ---> Running in fb27d4d6b49e
  1910. Removing intermediate container fb27d4d6b49e
  1911. ---> c1634a0ce159
  1912. Step 20/29 : ARG SENTRY_PRIVATE_TOKEN
  1913. ---> Running in 44ce6826559d
  1914. Removing intermediate container 44ce6826559d
  1915. ---> 86bfc16552dd
  1916. Step 21/29 : RUN if [ -n "$SENTRY_PRIVATE_ORG" ] ; then printf "%s\r\n" "#generated on build container" "[defaults]" "org=$SENTRY_PRIVATE_ORG" "project=$SENTRY_PRIVATE_PROJECT" "url=$SENTRY_PRIVATE_URL" "[auth]" "token=$SENTRY_PRIVATE_TOKEN" > .sentryclirc ; fi
  1917. ---> Running in 0e6590542f0e
  1918.  
  1919. Removing intermediate container 0e6590542f0e
  1920. ---> 70f40fdadc30
  1921. Step 22/29 : RUN printf "%s\n" "#generated on build container" "GIT_BRANCH=$(git branch | grep \* | cut -d ' ' -f2)" "GIT_LAST_COMMIT=$(git log --format="%H" -n 1)" >> .env
  1922. ---> Running in 84333aaa6fb4
  1923. Removing intermediate container 84333aaa6fb4
  1924. ---> 9ce6b1f21f3c
  1925. Step 23/29 : RUN npm run test:unit
  1926.  
  1927. ---> Running in b67c2e797d60
  1928.  
  1929. > tcp-front@0.3.0 test:unit /app
  1930. > vue-cli-service test:unit
  1931.  
  1932. APP_LAST_BUILD=Thu, 21 Nov 2019 08:49:38 GMT
  1933. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1934. process.env.NODE_ENV=test
  1935. process.env.IS_E2E_TEST=undefined
  1936. process.env.AUTH_SERVER_ENABLED=true
  1937. process.env.AUTH_SERVER=http://auth.wialon.dc.mrsk-cp.net
  1938. process.env.ROOT_API=
  1939. process.env.AGENT_ID=undefined
  1940. process.env.GIT_BRANCH=(HEAD
  1941. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1942. process.env.SENTRY_DISABLE_CLI=true
  1943. process.env.SENTRY_DSN=http://bb45374396c843808c85204da2822c4a@10.52.45.136:8888/6
  1944.  
  1945. APP_LAST_BUILD=Thu, 21 Nov 2019 08:49:40 GMT
  1946. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1947. process.env.NODE_ENV=test
  1948. process.env.IS_E2E_TEST=undefined
  1949. process.env.AUTH_SERVER_ENABLED=true
  1950. process.env.AUTH_SERVER=http://auth.wialon.dc.mrsk-cp.net
  1951. process.env.ROOT_API=
  1952. process.env.AGENT_ID=undefined
  1953. process.env.GIT_BRANCH=(HEAD
  1954. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  1955. process.env.SENTRY_DISABLE_CLI=true
  1956. process.env.SENTRY_DSN=http://bb45374396c843808c85204da2822c4a@10.52.45.136:8888/6
  1957.  
  1958. WEBPACK Compiling...
  1959.  
  1960. Download the Vue Devtools extension for a better development experience:
  1961. https://github.com/vuejs/vue-devtools
  1962. You are running Vue in development mode.
  1963. Make sure to turn on production mode when deploying for production.
  1964. See more tips at https://vuejs.org/guide/deployment.html
  1965.  
  1966. DONE Compiled successfully in 6585ms
  1967.  
  1968. WEBPACK Compiled successfully in 6585ms
  1969.  
  1970. MOCHA Testing...
  1971.  
  1972.  
  1973.  
  1974. Аутентификация через SSO
  1975. ✓ проверка вызова аутентификац. сервиса
  1976. ApiClient authServerService 0 {
  1977. store: { state: {}, getters: { isGuest: true }, commit: [Function: commit] },
  1978. services: {
  1979. authServerService: AuthServerService {
  1980. _isLaunchedOnAppStartup: true,
  1981. _responsePromise: [Object],
  1982. httpCalls: [],
  1983. token: 'test',
  1984. getHTTPLibInstance: [Function],
  1985. authServerEnabled: [Function]
  1986. }
  1987. }
  1988. }
  1989. ApiClient authServerService 0 {
  1990. store: {
  1991. state: { authStatus: false, mutateError: [Object] },
  1992. getters: { isGuest: true },
  1993. commit: [Function: commit]
  1994. },
  1995. services: {
  1996. authServerService: AuthServerService {
  1997. _isLaunchedOnAppStartup: true,
  1998. _responsePromise: [Object],
  1999. httpCalls: [],
  2000. token: 'test',
  2001. getHTTPLibInstance: [Function],
  2002. authServerEnabled: [Function]
  2003. }
  2004. }
  2005. }
  2006. ✓ проверка повторов вызовов в ApiClient
  2007.  
  2008. src/app/workspace/utils/collides.js
  2009. ✓ алогоритм разрешения удаления
  2010.  
  2011. src/components/button/button.vue
  2012. ✓ проверка состояний кнопки
  2013.  
  2014. src/components/error/error.vue
  2015. ✓ сообщение об ошибке отображается
  2016.  
  2017. src/components/form/form.vue
  2018. ✓ форма отображает и валидирует данные
  2019.  
  2020. src/components/input/input.vue
  2021. ✓ првоерка состойний и опций
  2022.  
  2023. src/components/modal/modal.vue
  2024. ✓ модальное окно всплывает и закрывается
  2025.  
  2026. src/components/pagination/pagination.vue
  2027. ✓ пагинатор рендерится корректно
  2028. ✓ события всплывают
  2029.  
  2030. src/components/select/select.vue
  2031. ✓ проверка выбора селекта и опций
  2032.  
  2033. src/components/table/table.vue
  2034. ✓ проверка рендренига таблицы
  2035. ✓ проверка сортировки таблицы
  2036.  
  2037. src/components/tabs/tabs.vue
  2038. ✓ проверка ренедерндинга и переключение без ротинга
  2039. ✓ проверка авто роутинга
  2040.  
  2041. src/store/actions.js
  2042. renewToken
  2043. sec after last check 1574326187.951
  2044. jwt {"token":"asdasd","expireInUTCMilliseconds":1574326187950}
  2045. expireAt undefined
  2046. expireAtWithTolerance 1574325827950
  2047. +new Date() 1574326187951
  2048. untilRefresh -360001
  2049. run update jwt
  2050. renewToken
  2051. sec after last check 0.001
  2052. jwt {"token":"asdasd","expireInUTCMilliseconds":1574327987952}
  2053. expireAt undefined
  2054. expireAtWithTolerance 1574327627952
  2055. +new Date() 1574326187952
  2056. untilRefresh 1440000
  2057. ✓ проверка обновления jwt
  2058.  
  2059. src/store/mutations.js
  2060. ✓ userSetAuthData
  2061.  
  2062. src/utils/url.js
  2063. ✓ buildURLQueryFromRoute
  2064.  
  2065.  
  2066. 18 passing (259ms)
  2067.  
  2068. MOCHA Tests completed successfully
  2069.  
  2070. Removing intermediate container b67c2e797d60
  2071. ---> 02518d8cb1d8
  2072. Step 24/29 : RUN npm run build
  2073. ---> Running in 9b5296150766
  2074.  
  2075. > tcp-front@0.3.0 build /app
  2076. > cross-env NODE_OPTIONS='--max-old-space-size=1800' vue-cli-service build
  2077.  
  2078. APP_LAST_BUILD=Thu, 21 Nov 2019 08:49:51 GMT
  2079. APP_RELEASE=0.3.0:unknown_agent:_HEAD:2dbd04661e56abc9929f07652b0854fbf23d6b9a
  2080. process.env.NODE_ENV=production
  2081. process.env.IS_E2E_TEST=undefined
  2082. process.env.AUTH_SERVER_ENABLED=true
  2083. process.env.AUTH_SERVER=http://auth.wialon.dc.mrsk-cp.net
  2084. process.env.ROOT_API=
  2085. process.env.AGENT_ID=undefined
  2086. process.env.GIT_BRANCH=(HEAD
  2087. process.env.GIT_LAST_COMMIT=2dbd04661e56abc9929f07652b0854fbf23d6b9a
  2088. process.env.SENTRY_DISABLE_CLI=true
  2089. process.env.SENTRY_DSN=http://bb45374396c843808c85204da2822c4a@10.52.45.136:8888/6
  2090.  
  2091.  
  2092. - Building for production...
  2093. Upload map files skipped
  2094. 0.00 compiling
  2095.  
  2096. 10.36 building
  2097.  
  2098. 12.04 building
  2099.  
  2100. 24.40 building
  2101.  
  2102. 46.96 building
  2103.  
  2104. 65.63 building
  2105.  
  2106. 67.16 building
  2107.  
  2108. 66.41 building
  2109.  
  2110. 69.32 building
  2111.  
  2112. 70.00 building
  2113.  
  2114. 93.04 after chunk asset optimization
  2115.  
  2116. 93.04 after chunk asset optimization
  2117.  
  2118. 95.00 emitting
  2119.  
  2120. WARNING Compiled with 13 warnings8:51:04 AM
  2121.  
  2122. Module Warning (from ./node_modules/eslint-loader/index.js):
  2123. warning: Unexpected console statement (no-console) at src/app/main/components/help/help.vue:71:13:
  2124. 69 | }
  2125. 70 | } catch (e) {
  2126. > 71 | console.warn(e.toString())
  2127. | ^
  2128. 72 | }
  2129. 73 | }
  2130. 74 | }
  2131.  
  2132.  
  2133. 1 warning found.
  2134.  
  2135. Module Warning (from ./node_modules/eslint-loader/index.js):
  2136. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:224:9:
  2137. 222 | clearInterval(this.mapUpdates)
  2138. 223 | }
  2139. > 224 | console.debug('update is stoped')
  2140. | ^
  2141. 225 | },
  2142. 226 | startUpdate (interval = 5000) {
  2143. 227 | if (this.mapUpdates) {
  2144.  
  2145.  
  2146. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:235:9:
  2147. 233 | this.fetchData()
  2148. 234 | }, interval)
  2149. > 235 | console.debug('update is running')
  2150. | ^
  2151. 236 | },
  2152. 237 | async fetchData () {
  2153. 238 | if (this.fetchDataLocked) {
  2154.  
  2155.  
  2156. warning: Unexpected console statement (no-console) at src/app/transport-map/Transports.vue:254:11:
  2157. 252 | this.drawMarkerClusterGroups(this.getFeatures(this.$route))
  2158. 253 | } catch (e) {
  2159. > 254 | console.error(e)
  2160. | ^
  2161. 255 | // не отображать пользователю ошибки при поллинге данных
  2162. 256 | // handleApiActionError(this, e)
  2163. 257 | }
  2164.  
  2165.  
  2166. 3 warnings found.
  2167.  
  2168. Module Warning (from ./node_modules/eslint-loader/index.js):
  2169. warning: Unexpected console statement (no-console) at src/app/transport-map/components/car-selected.vue:135:13:
  2170. 133 | } catch (e) {
  2171. 134 | if (this.item && this.car && this.item.id === this.car.id) {
  2172. > 135 | console.error(e)
  2173. | ^
  2174. 136 | // не отображать пользователю ошибки при поллинге данных
  2175. 137 | // handleApiActionError(this, e)
  2176. 138 | } else {
  2177.  
  2178.  
  2179. 1 warning found.
  2180.  
  2181. Module Warning (from ./node_modules/eslint-loader/index.js):
  2182. warning: Unexpected console statement (no-console) at src/app/workspace/components/widgets-background.vue:60:11:
  2183. 58 | })
  2184. 59 | } catch (e) {
  2185. > 60 | console.debug(e)
  2186. | ^
  2187. 61 | this.$store.commit('setUserServerlessDataItem', {
  2188. 62 | key: 'widgetsBackground',
  2189. 63 | data: {
  2190.  
  2191.  
  2192. 1 warning found.
  2193.  
  2194. Module Warning (from ./node_modules/eslint-loader/index.js):
  2195. warning: Unexpected console statement (no-console) at src/app/workspace/store/actions.js:51:5:
  2196. 49 | */
  2197. 50 | fetchWidgetsAndSettings: function (store) {
  2198. > 51 | console.debug('fetchWidgetsAndSettings', new Date())
  2199. | ^
  2200. 52 |
  2201. 53 | return Promise.all([
  2202. 54 | store.dispatch(REST.actions.updateUrlEndpoint, {
  2203.  
  2204.  
  2205. 1 warning found.
  2206.  
  2207. Module Warning (from ./node_modules/eslint-loader/index.js):
  2208. warning: Unexpected console statement (no-console) at src/components/pagination/pagination.vue:60:13:
  2209. 58 | const isValid = meta.hasOwnProperty('pageCount') && meta.hasOwnProperty('currentPage') && meta.hasOwnProperty('perPage')
  2210. 59 | if (isValid === false) {
  2211. > 60 | console.warn('Need meta with: {pageCount: 0, currentPage: 0 ...}')
  2212. | ^
  2213. 61 | }
  2214. 62 | return isValid
  2215. 63 | }
  2216.  
  2217.  
  2218. 1 warning found.
  2219.  
  2220. Module Warning (from ./node_modules/eslint-loader/index.js):
  2221. warning: Unexpected console statement (no-console) at src/store/actions.js:59:7:
  2222. 57 | } = {}) {
  2223. 58 | if (ADMIN_LOGGED_AS_USER_USER_DATA) {
  2224. > 59 | console.warn('skip renewToken, reason: Logged as other user')
  2225. | ^
  2226. 60 | return
  2227. 61 | }
  2228. 62 |
  2229.  
  2230.  
  2231. warning: Unexpected console statement (no-console) at src/store/actions.js:63:5:
  2232. 61 | }
  2233. 62 |
  2234. > 63 | console.group("renewToken")
  2235. | ^
  2236. 64 |
  2237. 65 | const jwt = context.getters.jwtToken
  2238. 66 | if (!jwt) {
  2239.  
  2240.  
  2241. warning: Unexpected console statement (no-console) at src/store/actions.js:67:7:
  2242. 65 | const jwt = context.getters.jwtToken
  2243. 66 | if (!jwt) {
  2244. > 67 | console.debug('jwt not found')
  2245. | ^
  2246. 68 | console.groupEnd()
  2247. 69 | return
  2248. 70 | }
  2249.  
  2250.  
  2251. warning: Unexpected console statement (no-console) at src/store/actions.js:68:7:
  2252. 66 | if (!jwt) {
  2253. 67 | console.debug('jwt not found')
  2254. > 68 | console.groupEnd()
  2255. | ^
  2256. 69 | return
  2257. 70 | }
  2258. 71 |
  2259.  
  2260.  
  2261. warning: Unexpected console statement (no-console) at src/store/actions.js:72:5:
  2262. 70 | }
  2263. 71 |
  2264. > 72 | console.debug('sec after last check', (+new Date() - lastCheck) / 1000)
  2265. | ^
  2266. 73 | lastCheck = +new Date()
  2267. 74 |
  2268. 75 | const expireAtWithTolerance = +jwt.expireInUTCMilliseconds - tolerance
  2269.  
  2270.  
  2271. warning: Unexpected console statement (no-console) at src/store/actions.js:78:5:
  2272. 76 | const untilRefresh = expireAtWithTolerance - +new Date()
  2273. 77 |
  2274. > 78 | console.debug('jwt', JSON.stringify(jwt))
  2275. | ^
  2276. 79 | console.debug('expireAt', jwt.expire_at)
  2277. 80 | console.debug('expireAtWithTolerance', expireAtWithTolerance)
  2278. 81 | console.debug('+new Date()', +new Date())
  2279.  
  2280.  
  2281. warning: Unexpected console statement (no-console) at src/store/actions.js:79:5:
  2282. 77 |
  2283. 78 | console.debug('jwt', JSON.stringify(jwt))
  2284. > 79 | console.debug('expireAt', jwt.expire_at)
  2285. | ^
  2286. 80 | console.debug('expireAtWithTolerance', expireAtWithTolerance)
  2287. 81 | console.debug('+new Date()', +new Date())
  2288. 82 | console.debug('untilRefresh', untilRefresh)
  2289.  
  2290.  
  2291. warning: Unexpected console statement (no-console) at src/store/actions.js:80:5:
  2292. 78 | console.debug('jwt', JSON.stringify(jwt))
  2293. 79 | console.debug('expireAt', jwt.expire_at)
  2294. > 80 | console.debug('expireAtWithTolerance', expireAtWithTolerance)
  2295. | ^
  2296. 81 | console.debug('+new Date()', +new Date())
  2297. 82 | console.debug('untilRefresh', untilRefresh)
  2298. 83 |
  2299.  
  2300.  
  2301. warning: Unexpected console statement (no-console) at src/store/actions.js:81:5:
  2302. 79 | console.debug('expireAt', jwt.expire_at)
  2303. 80 | console.debug('expireAtWithTolerance', expireAtWithTolerance)
  2304. > 81 | console.debug('+new Date()', +new Date())
  2305. | ^
  2306. 82 | console.debug('untilRefresh', untilRefresh)
  2307. 83 |
  2308. 84 | if (untilRefresh <= 0 || isNaN(untilRefresh) || forceUpdate === true) {
  2309.  
  2310.  
  2311. warning: Unexpected console statement (no-console) at src/store/actions.js:82:5:
  2312. 80 | console.debug('expireAtWithTolerance', expireAtWithTolerance)
  2313. 81 | console.debug('+new Date()', +new Date())
  2314. > 82 | console.debug('untilRefresh', untilRefresh)
  2315. | ^
  2316. 83 |
  2317. 84 | if (untilRefresh <= 0 || isNaN(untilRefresh) || forceUpdate === true) {
  2318. 85 | console.debug('run update jwt')
  2319.  
  2320.  
  2321. warning: Unexpected console statement (no-console) at src/store/actions.js:85:7:
  2322. 83 |
  2323. 84 | if (untilRefresh <= 0 || isNaN(untilRefresh) || forceUpdate === true) {
  2324. > 85 | console.debug('run update jwt')
  2325. | ^
  2326. 86 |
  2327. 87 | const services = await context.dispatch(REST.actions.getServices)
  2328. 88 | const {data} = await http.update(services, user.refreshToken(), jwt)
  2329.  
  2330.  
  2331. warning: Unexpected console statement (no-console) at src/store/actions.js:96:5:
  2332. 94 | }
  2333. 95 |
  2334. > 96 | console.groupEnd()
  2335. | ^
  2336. 97 | }
  2337. 98 | }
  2338. 99 |
  2339.  
  2340.  
  2341. 12 warnings found.
  2342.  
  2343. Module Warning (from ./node_modules/eslint-loader/index.js):
  2344. warning: Unexpected console statement (no-console) at src/store/mutations.js:44:9:
  2345. 42 | break
  2346. 43 | default:
  2347. > 44 | console.warn('Unknown strategy', strategy)
  2348. | ^
  2349. 45 | }
  2350. 46 |
  2351. 47 | if (ADMIN_LOGGED_AS_USER_USER_DATA) {
  2352.  
  2353.  
  2354. warning: Unexpected console statement (no-console) at src/store/mutations.js:48:7:
  2355. 46 |
  2356. 47 | if (ADMIN_LOGGED_AS_USER_USER_DATA) {
  2357. > 48 | console.warn('skip save setUserServerlessDataItem in localStorage, reason: Logged as other user')
  2358. | ^
  2359. 49 | } else {
  2360. 50 | if (typeof window !== 'undefined') {
  2361. 51 | window.localStorage.setItem(USER_SERVERLESS_DATA, JSON.stringify(state._userServerlessData))
  2362.  
  2363.  
  2364. warning: Unexpected console statement (no-console) at src/store/mutations.js:83:7:
  2365. 81 |
  2366. 82 | if (ADMIN_LOGGED_AS_USER_USER_DATA && newUserData.jwt) {
  2367. > 83 | console.warn('setting new jwt token skipped - used old, reason: Logged as other user')
  2368. | ^
  2369. 84 | newUserData.jwt = {...ADMIN_LOGGED_AS_USER_USER_DATA.jwt}
  2370. 85 | }
  2371. 86 |
  2372.  
  2373.  
  2374. warning: Unexpected console statement (no-console) at src/store/mutations.js:94:7:
  2375. 92 |
  2376. 93 | if (ADMIN_LOGGED_AS_USER_USER_DATA) {
  2377. > 94 | console.warn('skip userSetAuthData in localStorage, reason: Logged as other user')
  2378. | ^
  2379. 95 | } else {
  2380. 96 | if (typeof window !== 'undefined' && dontSaveInStorage === false) {
  2381. 97 | window.localStorage.setItem(USER_DATA, JSON.stringify(state._userData))
  2382.  
  2383.  
  2384. warning: Unexpected console statement (no-console) at src/store/mutations.js:117:9:
  2385. 115 | if (typeof window !== 'undefined') {
  2386. 116 | if (ADMIN_LOGGED_AS_USER_USER_DATA) {
  2387. > 117 | console.warn('skip removeItem from localStorage, reason: Logged as other user')
  2388. | ^
  2389. 118 | } else {
  2390. 119 | window.localStorage.removeItem(USER_DATA)
  2391. 120 | }
  2392.  
  2393.  
  2394. 5 warnings found.
  2395.  
  2396. You may use special comments to disable some warnings.
  2397. Use // eslint-disable-next-line to ignore the next line.
  2398. Use /* eslint-disable */ to ignore all warnings in a file.
  2399. warning in ./src/api/AuthServerService.js
  2400.  
  2401. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  2402.  
  2403. /app/src/api/AuthServerService.js
  2404. 104:7 warning Unexpected console statement no-console
  2405.  
  2406. ✖ 1 problem (0 errors, 1 warning)
  2407.  
  2408.  
  2409. @ ./src/main.js 41:0-56 48:23-40
  2410. @ multi ./src/main.js
  2411.  
  2412. warning in ./src/configs/config.js
  2413.  
  2414. Module Warning (from ./node_modules/thread-loader/dist/cjs.js):
  2415.  
  2416. /app/src/configs/config.js
  2417. 47:7 warning Unexpected console statement no-console
  2418. 51:7 warning Unexpected console statement no-console
  2419.  
  2420. ✖ 2 problems (0 errors, 2 warnings)
  2421.  
  2422.  
  2423. @ ./src/main.js 16:0-46 27:9-19
  2424. @ multi ./src/main.js
  2425.  
  2426. warning
  2427.  
  2428. asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
  2429. This can impact web performance.
  2430. Assets:
  2431. fonts/Montserrat-Thin.0052573b.ttf (253 KiB)
  2432. fonts/Montserrat-ThinItalic.3cb62113.ttf (257 KiB)
  2433. fonts/Montserrat-ExtraLight.38bc5e07.ttf (254 KiB)
  2434. fonts/Montserrat-ExtraLightItalic.6885cd49.ttf (258 KiB)
  2435. fonts/Montserrat-Light.100b38fa.ttf (253 KiB)
  2436. fonts/Montserrat-LightItalic.428b2306.ttf (258 KiB)
  2437. fonts/Montserrat-Regular.9c460951.ttf (257 KiB)
  2438. fonts/Montserrat-Italic.67865463.ttf (260 KiB)
  2439. fonts/Montserrat-Medium.a98626e1.ttf (254 KiB)
  2440. fonts/Montserrat-MediumItalic.287208c8.ttf (259 KiB)
  2441. fonts/Montserrat-SemiBold.c88cecbf.ttf (255 KiB)
  2442. fonts/Montserrat-SemiBoldItalic.2d3cef91.ttf (260 KiB)
  2443. fonts/Montserrat-Bold.88932dad.ttf (255 KiB)
  2444. fonts/Montserrat-BoldItalic.781190ae.ttf (260 KiB)
  2445. fonts/Montserrat-ExtraBold.9bc77c3b.ttf (256 KiB)
  2446. fonts/Montserrat-ExtraBoldItalic.09a2d256.ttf (261 KiB)
  2447. fonts/Montserrat-Black.6d1796a9.ttf (269 KiB)
  2448. fonts/Montserrat-BlackItalic.b5331c5f.ttf (273 KiB)
  2449. css/chunk-vendors.3449b626.css (296 KiB)
  2450. js/chunk-vendors.1ad8089c.js (2.35 MiB)
  2451.  
  2452. warning
  2453.  
  2454. entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
  2455. Entrypoints:
  2456. app (2.94 MiB)
  2457. css/chunk-vendors.3449b626.css
  2458. js/chunk-vendors.1ad8089c.js
  2459. css/app.3540ff4e.css
  2460. js/app.27b70b90.js
  2461.  
  2462.  
  2463. warning
  2464.  
  2465. webpack performance recommendations:
  2466. You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
  2467. For more info visit https://webpack.js.org/guides/code-splitting/
  2468.  
  2469. Webpack Bundle Analyzer saved report to /app/dist/report.html
  2470. File Size Gzipped
  2471.  
  2472. dist/js/chunk-vendors.1ad8089c.js 2409.00 KiB 711.12 KiB
  2473. dist/js/app.27b70b90.js 192.61 KiB 48.49 KiB
  2474. dist/leaflet-superclaster.worker.js 39.21 KiB 13.67 KiB
  2475. dist/external/config.js 0.58 KiB 0.40 KiB
  2476. dist/css/chunk-vendors.3449b626.css 296.01 KiB 48.33 KiB
  2477. dist/css/app.3540ff4e.css 108.15 KiB 17.63 KiB
  2478.  
  2479. Images and other types of assets omitted.
  2480.  
  2481. DONE Build complete. The dist directory is ready to be deployed.
  2482. INFO Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
  2483.  
  2484.  
  2485. Removing intermediate container 9b5296150766
  2486. ---> 80fcf04e6196
  2487. Step 25/29 : FROM nginx:1.17.1-alpine
  2488. ---> ea1193fd3dde
  2489. Step 26/29 : COPY --from=build /app/dist /usr/share/nginx/html
  2490. ---> 9e554a407492
  2491. Step 27/29 : COPY docker/nginx/nginx.conf /etc/nginx/nginx.conf
  2492. ---> 060b59903193
  2493. Step 28/29 : WORKDIR /usr/share/nginx/html
  2494. ---> Running in a1a4b1acfb50
  2495.  
  2496. Removing intermediate container a1a4b1acfb50
  2497. ---> 6caba0548bce
  2498. Step 29/29 : CMD ["nginx", "-g", "daemon off;"]
  2499. ---> Running in 548f8701c9b0
  2500. Removing intermediate container 548f8701c9b0
  2501. ---> 30bdc54cb044
  2502. Successfully built 30bdc54cb044
  2503. Successfully tagged front-mrsk-cp:latest
  2504. + docker tag front-mrsk-cp tetronru/tcp-front:mrsk-cp-latest
  2505. + docker push tetronru/tcp-front:mrsk-cp-latest
  2506. The push refers to repository [docker.io/tetronru/tcp-front]
  2507.  
  2508. 2b2f22658177: Preparing
  2509. d5ffa09824d2: Preparing
  2510. fbe0fc9bcf95: Preparing
  2511. f1b5933fe4b5: Preparing
  2512. f1b5933fe4b5: Layer already exists
  2513.  
  2514. fbe0fc9bcf95: Layer already exists
  2515.  
  2516. 2b2f22658177: Pushed
  2517.  
  2518. d5ffa09824d2: Pushed
  2519.  
  2520. mrsk-cp-latest: digest: sha256:31c6bf3d38e78252f01a1544327048aed3bccd866cb7f048fb007fc1bbb3500a size: 1157
  2521. + ssh -v -i /var/lib/jenkins/.ssh/id_rsa root@172.23.0.239 -p 22 ls -l
  2522. Warning: Identity file /var/lib/jenkins/.ssh/id_rsa not accessible: Permission denied.
  2523. OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
  2524. debug1: Reading configuration data /etc/ssh/ssh_config
  2525. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  2526. debug1: Connecting to 172.23.0.239 [172.23.0.239] port 22.
  2527. debug1: Connection established.
  2528. debug1: key_load_public: No such file or directory
  2529. debug1: identity file /home/mmy/.ssh/id_rsa type -1
  2530. debug1: key_load_public: No such file or directory
  2531. debug1: identity file /home/mmy/.ssh/id_rsa-cert type -1
  2532. debug1: key_load_public: No such file or directory
  2533. debug1: identity file /home/mmy/.ssh/id_dsa type -1
  2534. debug1: key_load_public: No such file or directory
  2535. debug1: identity file /home/mmy/.ssh/id_dsa-cert type -1
  2536. debug1: key_load_public: No such file or directory
  2537. debug1: identity file /home/mmy/.ssh/id_ecdsa type -1
  2538. debug1: key_load_public: No such file or directory
  2539. debug1: identity file /home/mmy/.ssh/id_ecdsa-cert type -1
  2540. debug1: key_load_public: No such file or directory
  2541. debug1: identity file /home/mmy/.ssh/id_ed25519 type -1
  2542. debug1: key_load_public: No such file or directory
  2543. debug1: identity file /home/mmy/.ssh/id_ed25519-cert type -1
  2544. debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
  2545. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
  2546. debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH* compat 0x04000000
  2547. debug1: Authenticating to 172.23.0.239:22 as 'root'
  2548. debug1: SSH2_MSG_KEXINIT sent
  2549. debug1: SSH2_MSG_KEXINIT received
  2550. debug1: kex: algorithm: curve25519-sha256
  2551. debug1: kex: host key algorithm: ecdsa-sha2-nistp256
  2552. debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  2553. debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  2554. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  2555. debug1: Server host key: ecdsa-sha2-nistp256 SHA256:Hm5i+QzXWS8PyIuGQTkkRFuZUYvvVad+nwPoF9GK56c
  2556. debug1: read_passphrase: can't open /dev/tty: No such device or address
  2557. Host key verification failed.
  2558. Build step 'Execute shell' marked build as failure
  2559.  
  2560. Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement