[0KRunning with gitlab-runner 11.5.0 (3afdaba6) [0;m[0K on sd-134519-docker 15451e3f [0;m[0KUsing Docker executor with image node:14 ... [0;m[0KPulling docker image node:14 ... [0;m[0KUsing docker image sha256:41706aa77d808818518b87d4e1456367c1cf4acc3ee6e5dbd3d372d3599669ed for node:14 ... [0;msection_start:1662975615:prepare_script [0KRunning on runner-15451e3f-project-38-concurrent-0 via sd-134519... section_end:1662975617:prepare_script [0Ksection_start:1662975617:get_sources [0K[32;1mFetching changes...[0;m Removing envelops/__pycache__/ Removing envelops/migrations/__pycache__/ Removing envelops/tests/__pycache__/ Removing inventory/__pycache__/ Removing inventory/migrations/__pycache__/ Removing inventory/tests/__pycache__/ Removing log/debug.log Removing log/errors.log Removing members/__pycache__/ Removing members/middleware/__pycache__/ Removing members/migrations/__pycache__/ Removing members/tests/__pycache__/ Removing members_space/__pycache__/ Removing members_space/migrations/__pycache__/ Removing members_space/tests/__pycache__/ Removing orders/__pycache__/ Removing orders/migrations/__pycache__/ Removing orders/tests/__pycache__/ Removing outils/__pycache__/ Removing outils/config.py Removing outils/lib/__pycache__/ Removing outils/settings.py Removing outils/settings_secret.py Removing outils/tests/__pycache__/ Removing pip-cache/ Removing products/__pycache__/ Removing products/migrations/__pycache__/ Removing products/tests/__pycache__/ Removing reception/__pycache__/ Removing reception/migrations/__pycache__/ Removing reception/tests/__pycache__/ Removing sales/__pycache__/ Removing sales/migrations/__pycache__/ Removing sales/tests/__pycache__/ Removing shelfs/__pycache__/ Removing shelfs/migrations/__pycache__/ Removing shelfs/tests/__pycache__/ Removing shifts/__pycache__/ Removing shifts/migrations/__pycache__/ Removing shifts/tests/__pycache__/ Removing shop/__pycache__/ Removing shop/migrations/__pycache__/ Removing shop/tests/__pycache__/ Removing stock/__pycache__/ Removing stock/migrations/__pycache__/ Removing stock/tests/__pycache__/ Removing website/__pycache__/ Removing website/migrations/__pycache__/ Removing website/tests/__pycache__/ HEAD is now at aa2ef67 Improve UX on membespace shift template change From https://gl.cooperatic.fr/cooperatic-foodcoops/third-party aa2ef67..4f7740d adaptation_supercoop_supercafoutch -> origin/adaptation_supercoop_supercafoutch [32;1mChecking out 4f7740d4 as adaptation_supercoop_supercafoutch...[0;m [32;1mSkipping Git submodules setup[0;m section_end:1662975618:get_sources [0Ksection_start:1662975618:restore_cache [0K[32;1mChecking cache for node-modules...[0;m No URL provided, cache will be not downloaded from shared cache server. Instead a local version of cache will be extracted.[0;m [32;1mSuccessfully extracted cache[0;m section_end:1662975620:restore_cache [0Ksection_start:1662975620:download_artifacts [0Ksection_end:1662975622:download_artifacts [0Ksection_start:1662975622:build_script [0K[32;1m$ make lint-js[0;m npm install npm WARN third-party@1.0.0 No license field. audited 126 packages in 0.976s 21 packages are looking for funding run `npm fund` for details found 2 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details npm run lint > third-party@1.0.0 lint /builds/cooperatic-foodcoops/third-party > eslint . --max-warnings 292 '**/*.js' /builds/cooperatic-foodcoops/third-party/envelops/static/js/envelops.js 498:10 warning 'archive_envelop' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/inventory/static/js/inventory.js 149:9 warning 'online' is assigned a value but never used no-unused-vars 152:29 warning 'err' is defined but never used no-unused-vars 155:31 warning 'info' is defined but never used no-unused-vars 213:40 warning Array.prototype.every() expects a return value from function array-callback-return 213:50 warning 'rowIdx' is defined but never used no-unused-vars 213:58 warning 'tableLoop' is defined but never used no-unused-vars 213:69 warning 'rowLoop' is defined but never used no-unused-vars 237:42 warning 'button' is defined but never used no-unused-vars 237:50 warning 'config' is defined but never used no-unused-vars 246:42 warning 'button' is defined but never used no-unused-vars 246:50 warning 'config' is defined but never used no-unused-vars 309:42 warning 'index' is defined but never used no-unused-vars 335:32 warning 'result' is defined but never used no-unused-vars 373:17 warning 'i' is assigned a value but never used no-unused-vars 408:57 warning Expected to return a value at the end of function consistent-return 455:32 warning 'result' is defined but never used no-unused-vars 480:40 warning Array.prototype.every() expects a return value from function array-callback-return 480:50 warning 'rowIdx' is defined but never used no-unused-vars 480:58 warning 'tableLoop' is defined but never used no-unused-vars 480:69 warning 'rowLoop' is defined but never used no-unused-vars 500:47 warning 'result' is defined but never used no-unused-vars 622:71 warning 'oldValue' is defined but never used no-unused-vars 779:57 warning Expected to return a value at the end of function consistent-return /builds/cooperatic-foodcoops/third-party/members/static/js/admin/manage_attached.js 287:21 warning Expected newline before return statement newline-before-return /builds/cooperatic-foodcoops/third-party/members/static/js/inscriptions.js 95:59 warning Missing semicolon semi 96:67 warning Missing semicolon semi 99:1 warning Expected indentation of 8 spaces but found 6 indent 99:83 warning Missing semicolon semi 100:1 warning Expected indentation of 8 spaces but found 6 indent 100:69 warning Missing semicolon semi 129:64 warning Missing semicolon semi 273:9 warning Expected blank line after variable declarations newline-after-var 275:103 warning Expected line break before `.trim` newline-per-chained-call 278:1 warning Expected indentation of 8 spaces but found 12 indent 321:2 warning Trailing spaces not allowed no-trailing-spaces 363:13 warning Expected blank line after variable declarations newline-after-var 498:10 warning 'get_next_coop_num' is defined but never used no-unused-vars 729:65 warning Trailing spaces not allowed no-trailing-spaces /builds/cooperatic-foodcoops/third-party/members/static/js/members.js 78:2 warning Missing semicolon semi 331:13 warning Expected blank line after variable declarations newline-after-var 332:1 warning Expected indentation of 16 spaces but found 30 indent 333:1 warning Expected indentation of 16 spaces but found 30 indent 333:41 warning A space is required after ',' comma-spacing 335:96 warning Missing space before opening brace space-before-blocks 338:49 warning Missing semicolon semi 344:1 warning Expected indentation of 28 spaces but found 24 indent 345:1 warning Expected indentation of 32 spaces but found 28 indent 346:1 warning Expected indentation of 36 spaces but found 32 indent 347:1 warning Expected indentation of 36 spaces but found 32 indent 348:1 warning Expected indentation of 32 spaces but found 28 indent 349:1 warning Expected indentation of 36 spaces but found 32 indent 350:1 warning Expected indentation of 36 spaces but found 32 indent 351:1 warning Expected indentation of 36 spaces but found 32 indent 352:1 warning Expected indentation of 32 spaces but found 28 indent 353:1 warning Expected indentation of 28 spaces but found 24 indent 358:1 warning Trailing spaces not allowed no-trailing-spaces 363:1 warning Trailing spaces not allowed no-trailing-spaces 634:10 warning 'preview_snapshot' is defined but never used no-unused-vars 653:10 warning 'save_photo' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/members/static/js/prepa_odoo.js 68:10 warning 'is_in_coops' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/members/static/js/subscription_common.js 26:10 warning 'display_current_coop_form' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/members_space/static/js/members-space-faq.js 2:10 warning 'init_faq' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/members_space/static/js/members-space-home.js 25:10 warning 'process_asked_shift_template_change' is defined but never used no-unused-vars 28:53 warning Missing semicolon semi 88:1 warning Trailing spaces not allowed no-trailing-spaces 97:44 warning Missing space before opening brace space-before-blocks 98:5 warning Expected blank line after variable declarations newline-after-var 106:35 warning Expected line break before `.change` newline-per-chained-call 106:44 error Missing space before => arrow-spacing 106:47 error Missing space after => arrow-spacing 106:47 warning Requires a space after '{' block-spacing 106:47 warning Statement inside of curly braces should be on next line brace-style 106:70 warning Requires a space before '}' block-spacing 106:70 warning Closing curly brace should be on the same line as opening curly brace or on the line after the previous block brace-style 106:70 warning Missing semicolon semi 108:1 warning Trailing spaces not allowed no-trailing-spaces 112:10 warning 'init_home' is defined but never used no-unused-vars 130:39 warning Expected line break before `.change` newline-per-chained-call /builds/cooperatic-foodcoops/third-party/members_space/static/js/members-space-my-shifts.js 216:10 warning 'init_my_shifts' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/members_space/static/js/members-space-shifts-exchange.js 278:1 warning Trailing spaces not allowed no-trailing-spaces 596:25 warning Expected blank line after variable declarations newline-after-var 607:1 warning Trailing spaces not allowed no-trailing-spaces 755:26 warning Expected line break before `.parent` newline-per-chained-call 762:1 warning Trailing spaces not allowed no-trailing-spaces 772:1 warning Trailing spaces not allowed no-trailing-spaces 777:10 warning 'init_shifts_exchange' is defined but never used no-unused-vars 837:1 warning Expected indentation of 8 spaces but found 12 indent 838:1 warning Expected indentation of 12 spaces but found 16 indent 839:1 warning Expected indentation of 12 spaces but found 16 indent 840:1 warning Expected indentation of 16 spaces but found 20 indent 841:1 warning Expected indentation of 16 spaces but found 20 indent 841:40 warning Trailing spaces not allowed no-trailing-spaces 842:1 warning Expected indentation of 16 spaces but found 20 indent 843:1 warning Expected indentation of 12 spaces but found 16 indent 844:1 warning Expected indentation of 12 spaces but found 16 indent 845:1 warning Expected indentation of 12 spaces but found 16 indent 846:1 warning Expected indentation of 8 spaces but found 12 indent 847:1 warning Expected indentation of 4 spaces but found 8 indent /builds/cooperatic-foodcoops/third-party/members_space/static/js/members-space.js 8:5 warning 'partner_history' is assigned a value but never used no-unused-vars 29:10 warning 'load_partner_shifts' is defined but never used no-unused-vars 38:17 warning 'incoming_shifts' is assigned a value but never used no-unused-vars 204:10 warning 'prepare_shift_line_template' is defined but never used no-unused-vars 223:10 warning 'init_my_info_data' is defined but never used no-unused-vars 316:5 warning Expected blank line after variable declarations newline-after-var 334:17 warning Unexpected alias 'obj' for 'this' consistent-this /builds/cooperatic-foodcoops/third-party/orders/static/js/orders_helper.js 141:7 warning There should be no space after this paren space-in-parens 141:17 warning There should be no space before this paren space-in-parens 141:28 warning There should be no space after this paren space-in-parens 141:36 warning There should be no space before this paren space-in-parens 313:1 warning Trailing spaces not allowed no-trailing-spaces 316:13 warning Expected blank line after variable declarations newline-after-var 316:57 warning Multiple spaces found before '// min sequenc...' no-multi-spaces 494:1 warning Trailing spaces not allowed no-trailing-spaces 562:1 warning Trailing spaces not allowed no-trailing-spaces 564:1 warning Trailing spaces not allowed no-trailing-spaces 570:1 warning Trailing spaces not allowed no-trailing-spaces 640:1 warning Trailing spaces not allowed no-trailing-spaces 744:1 warning Trailing spaces not allowed no-trailing-spaces 746:1 warning Trailing spaces not allowed no-trailing-spaces 752:1 warning Trailing spaces not allowed no-trailing-spaces 803:1 warning Trailing spaces not allowed no-trailing-spaces 809:1 warning Trailing spaces not allowed no-trailing-spaces 983:1 warning Trailing spaces not allowed no-trailing-spaces 989:1 warning Trailing spaces not allowed no-trailing-spaces 1001:1 warning Trailing spaces not allowed no-trailing-spaces 1084:1 warning Trailing spaces not allowed no-trailing-spaces 1089:1 warning Trailing spaces not allowed no-trailing-spaces 1365:1 warning Trailing spaces not allowed no-trailing-spaces 1371:1 warning Trailing spaces not allowed no-trailing-spaces 2829:1 warning Trailing spaces not allowed no-trailing-spaces /builds/cooperatic-foodcoops/third-party/products/static/js/barcodes.js 117:33 warning Trailing spaces not allowed no-trailing-spaces /builds/cooperatic-foodcoops/third-party/products/static/js/destocking.js 7:5 warning 'bc_scanner' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/products/static/js/pos_product_sales.js 5:5 warning 'pareto_sales_80_data' is assigned a value but never used no-unused-vars 98:42 warning 'index' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/products/static/js/products_common.js 1:10 warning 'products_shelf_label_print' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/products/static/js/products_index.js 35:61 warning 'meta' is defined but never used no-unused-vars 59:49 warning 'type' is defined but never used no-unused-vars 59:55 warning 'full' is defined but never used no-unused-vars 59:61 warning 'meta' is defined but never used no-unused-vars 77:80 warning Expected to return a value at the end of function consistent-return 160:27 warning 'data' is defined but never used no-unused-vars 192:10 warning Expected to return a value at the end of function 'fetch_product_from_bc' consistent-return 217:18 warning Expected to return a value at the end of method 'success' consistent-return /builds/cooperatic-foodcoops/third-party/reception/static/js/reception_index.js 105:10 warning 'group_goto' is defined but never used no-unused-vars 256:10 warning 'group_action' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/reception/static/js/reception_produits.js 371:10 warning 'get_pdf_labels' is defined but never used no-unused-vars 1454:26 warning 'form' is assigned a value but never used no-unused-vars 1463:10 warning 'setAllQties' is defined but never used no-unused-vars 1482:10 warning 'print_product_labels' is defined but never used no-unused-vars 1528:10 warning 'pre_send' is defined but never used no-unused-vars 1928:10 warning 'confirmPricesAllValid' is defined but never used no-unused-vars 1934:10 warning 'confirm_all_left_is_good' is defined but never used no-unused-vars 1982:49 warning Expected line break before `.find` newline-per-chained-call 1985:49 warning Expected line break before `.find` newline-per-chained-call 2027:46 warning Expected line break before `.text` newline-per-chained-call 2028:59 warning Expected line break before `.text` newline-per-chained-call 2047:9 warning Expected blank line after variable declarations newline-after-var 2053:39 warning There should be no space before this paren space-in-parens 2056:69 warning Missing semicolon semi 2208:10 warning 'openFAQ' is defined but never used no-unused-vars 2212:10 warning 'openErrorReport' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shelfs/static/js/shelf_inventory.js 16:5 warning 'change_shelf_form' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shelfs/static/js/shelf_view.js 20:10 warning 'back' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shelfs/static/js/shelfs_admin.js 9:5 warning 'eye' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shelfs/static/js/shelfs_sales.js 87:10 warning 'get_shelfs_sales_data' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shifts/static/js/shift_exchange.js 63:21 warning 'date' is assigned a value but never used no-unused-vars 68:21 warning 'lost_points' is assigned a value but never used no-unused-vars 333:5 warning Closing curly brace does not appear on the same line as the subsequent block brace-style 395:27 warning 'doc' is defined but never used no-unused-vars 474:5 warning 'dp' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shifts/static/js/shift_states_not_allowed.js 2:10 warning 'request_delay' is defined but never used no-unused-vars 19:27 warning 'doc' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shop/static/js/shop.js 134:5 warning Unexpected alias 'dragSrcEl' for 'this' consistent-this 152:26 warning 'e' is defined but never used no-unused-vars 186:24 warning 'e' is defined but never used no-unused-vars 208:22 warning 'err' is defined but never used no-unused-vars 208:27 warning 'result' is defined but never used no-unused-vars 366:13 warning 'start' is assigned a value but never used no-unused-vars 367:13 warning 'end' is assigned a value but never used no-unused-vars 476:9 warning 'start' is assigned a value but never used no-unused-vars 1188:5 warning 'search_product' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shop/static/js/shop_admin.js 2:5 warning 'orders' is assigned a value but never used no-unused-vars 16:5 warning 'cart_id' is assigned a value but never used no-unused-vars 51:29 warning 'err' is defined but never used no-unused-vars 54:31 warning 'info' is defined but never used no-unused-vars 191:58 warning 'action_btn' is defined but never used no-unused-vars 296:42 warning 'index' is defined but never used no-unused-vars 327:57 warning Expected to return a value at the end of function consistent-return 411:5 warning 'unselectRows' is assigned a value but never used no-unused-vars 495:39 warning 'res' is defined but never used no-unused-vars 783:9 warning 'clicked' is assigned a value but never used no-unused-vars 811:22 warning Expected to return a value at the end of function consistent-return 974:59 warning 'res' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/shop/static/js/shop_drafts.js 2:5 warning 'orders' is assigned a value but never used no-unused-vars 12:5 warning 'remove_closing_date_msg' is assigned a value but never used no-unused-vars 13:5 warning 'internal_get_msg' is assigned a value but never used no-unused-vars 16:5 warning 'cart_id' is assigned a value but never used no-unused-vars 17:5 warning 'cart_revisions' is assigned a value but never used no-unused-vars 18:5 warning 'shop_settings' is assigned a value but never used no-unused-vars 51:29 warning 'err' is defined but never used no-unused-vars 54:31 warning 'info' is defined but never used no-unused-vars 65:5 warning 'putLoadingImgOn' is assigned a value but never used no-unused-vars 68:5 warning 'removeLoadingImg' is assigned a value but never used no-unused-vars 125:58 warning 'action_btn' is defined but never used no-unused-vars 210:57 warning Expected to return a value at the end of function consistent-return 250:5 warning 'selectRow' is assigned a value but never used no-unused-vars 271:5 warning 'unselectRows' is assigned a value but never used no-unused-vars 285:5 warning 'updateCouchDB' is assigned a value but never used no-unused-vars 335:5 warning 'showCart' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/stock/static/js/stock_graphSale.js 1:5 warning Variable 'myChart' should be initialized on declaration init-declarations /builds/cooperatic-foodcoops/third-party/stock/static/js/stock_listArticleBreaking.js 7:5 warning Variable 'table_article' should be initialized on declaration init-declarations 8:5 warning 'dataSet' is assigned a value but never used no-unused-vars 9:5 warning Variable 'csrftoken' should be initialized on declaration init-declarations 44:27 warning 'data' is defined but never used no-unused-vars 66:55 warning 'meta' is defined but never used no-unused-vars 76:42 warning 'type' is defined but never used no-unused-vars 76:48 warning 'row' is defined but never used no-unused-vars 84:42 warning 'type' is defined but never used no-unused-vars 84:48 warning 'row' is defined but never used no-unused-vars 96:43 warning 'type' is defined but never used no-unused-vars 96:49 warning 'full' is defined but never used no-unused-vars 96:55 warning 'meta' is defined but never used no-unused-vars 107:37 warning 'data' is defined but never used no-unused-vars 107:43 warning 'type' is defined but never used no-unused-vars 107:49 warning 'full' is defined but never used no-unused-vars 107:55 warning 'meta' is defined but never used no-unused-vars 190:5 warning Variable 'selArctileData' should be initialized on declaration init-declarations /builds/cooperatic-foodcoops/third-party/stock/static/js/stock_movements.js 552:29 warning 'data' is defined but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/stock/static/js/stock_order.js 12:5 warning Variable 'table_article' should be initialized on declaration init-declarations 13:5 warning 'dataSet' is assigned a value but never used no-unused-vars 14:5 warning Variable 'csrftoken' should be initialized on declaration init-declarations 117:10 warning 'ruptureArticle' is defined but never used no-unused-vars 117:25 warning 'test' is defined but never used no-unused-vars 131:27 warning 'data' is defined but never used no-unused-vars 142:5 warning Variable 'selArctileData' should be initialized on declaration init-declarations /builds/cooperatic-foodcoops/third-party/stock/static/js/stock_rupture.js 8:5 warning 'dataSet' is assigned a value but never used no-unused-vars /builds/cooperatic-foodcoops/third-party/stock/static/js/stock_values.js 56:14 warning Unexpected trailing comma comma-dangle 58:37 warning Unexpected trailing comma comma-dangle ✖ 239 problems (2 errors, 237 warnings) 2 errors and 99 warnings potentially fixable with the `--fix` option. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! third-party@1.0.0 lint: `eslint . --max-warnings 292 '**/*.js'` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the third-party@1.0.0 lint script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-09-12T09_40_29_370Z-debug.log make: *** [Makefile:9: lint-js] Error 1 section_end:1662975629:build_script [0Ksection_start:1662975629:after_script [0Ksection_end:1662975631:after_script [0Ksection_start:1662975631:upload_artifacts_on_failure [0Ksection_end:1662975632:upload_artifacts_on_failure [0K[31;1mERROR: Job failed: exit code 1 [0;m