Running with gitlab-runner 11.5.0 (3afdaba6)
on sd-134519-docker 15451e3f
Using Docker executor with image python:3 ...
Starting service couchdb:3 ...
Pulling docker image couchdb:3 ...
Using docker image sha256:ae665c30475a4e1f59c6c6c6e7a5fde6696624f1dfa2f29f767aeb1a26c99a79 for couchdb:3 ...
Waiting for services to be up and running...
*** WARNING: Service runner-15451e3f-project-38-concurrent-0-couchdb-0 probably didn't start properly.
Health check error:
service "runner-15451e3f-project-38-concurrent-0-couchdb-0-wait-for-service" timeout
Health check container logs:
Service container logs:
2021-07-02T14:31:17.986838631Z [info] 2021-07-02T14:31:17.986522Z nonode@nohost <0.11.0> -------- Application couch_log started on node nonode@nohost
2021-07-02T14:31:17.993276252Z [info] 2021-07-02T14:31:17.993094Z nonode@nohost <0.11.0> -------- Application folsom started on node nonode@nohost
2021-07-02T14:31:18.028123351Z [info] 2021-07-02T14:31:18.027836Z nonode@nohost <0.11.0> -------- Application couch_stats started on node nonode@nohost
2021-07-02T14:31:18.028169243Z [info] 2021-07-02T14:31:18.028030Z nonode@nohost <0.11.0> -------- Application khash started on node nonode@nohost
2021-07-02T14:31:18.034366834Z [info] 2021-07-02T14:31:18.034107Z nonode@nohost <0.11.0> -------- Application couch_event started on node nonode@nohost
2021-07-02T14:31:18.034437543Z [info] 2021-07-02T14:31:18.034302Z nonode@nohost <0.11.0> -------- Application hyper started on node nonode@nohost
2021-07-02T14:31:18.039599217Z [info] 2021-07-02T14:31:18.039387Z nonode@nohost <0.11.0> -------- Application ibrowse started on node nonode@nohost
2021-07-02T14:31:18.044182476Z [info] 2021-07-02T14:31:18.043974Z nonode@nohost <0.11.0> -------- Application ioq started on node nonode@nohost
2021-07-02T14:31:18.044287104Z [info] 2021-07-02T14:31:18.044151Z nonode@nohost <0.11.0> -------- Application mochiweb started on node nonode@nohost
2021-07-02T14:31:18.047631959Z [info] 2021-07-02T14:31:18.047343Z nonode@nohost <0.216.0> -------- Preflight check: Asserting Admin Account
2021-07-02T14:31:18.047648929Z
2021-07-02T14:31:18.050362805Z [info] 2021-07-02T14:31:18.050065Z nonode@nohost <0.216.0> -------- Apache CouchDB 3.1.1 is starting.
2021-07-02T14:31:18.050376798Z
2021-07-02T14:31:18.050380454Z [info] 2021-07-02T14:31:18.050154Z nonode@nohost <0.217.0> -------- Starting couch_sup
2021-07-02T14:31:18.064942751Z [notice] 2021-07-02T14:31:18.064689Z nonode@nohost <0.82.0> -------- config: [admins] ci-only set to -pbkdf2-00f00d6e864a4a4d9f67b43f506d3ac1ec779e26,a28ecf60d0fcf6259df6a90e9eb82e97,10 for reason nil
2021-07-02T14:31:18.102210222Z [info] 2021-07-02T14:31:18.101991Z nonode@nohost <0.216.0> -------- Apache CouchDB has started. Time to relax.
2021-07-02T14:31:18.102232734Z
2021-07-02T14:31:18.104384633Z [info] 2021-07-02T14:31:18.104160Z nonode@nohost <0.11.0> -------- Application couch started on node nonode@nohost
2021-07-02T14:31:18.104485890Z [info] 2021-07-02T14:31:18.104355Z nonode@nohost <0.11.0> -------- Application ets_lru started on node nonode@nohost
2021-07-02T14:31:18.114345613Z [notice] 2021-07-02T14:31:18.114095Z nonode@nohost <0.250.0> -------- rexi_server : started servers
2021-07-02T14:31:18.116232197Z [notice] 2021-07-02T14:31:18.116015Z nonode@nohost <0.254.0> -------- rexi_buffer : started servers
2021-07-02T14:31:18.116378354Z [info] 2021-07-02T14:31:18.116252Z nonode@nohost <0.11.0> -------- Application rexi started on node nonode@nohost
2021-07-02T14:31:18.138523752Z [warning] 2021-07-02T14:31:18.138184Z nonode@nohost <0.262.0> -------- creating missing database: _nodes
2021-07-02T14:31:18.138551536Z [info] 2021-07-02T14:31:18.138280Z nonode@nohost <0.263.0> -------- open_result error {not_found,no_db_file} for _nodes
2021-07-02T14:31:18.188138087Z [warning] 2021-07-02T14:31:18.187729Z nonode@nohost <0.278.0> -------- creating missing database: _dbs
2021-07-02T14:31:18.188222404Z [warning] 2021-07-02T14:31:18.187805Z nonode@nohost <0.277.0> -------- creating missing database: _dbs
2021-07-02T14:31:18.188336024Z [info] 2021-07-02T14:31:18.187875Z nonode@nohost <0.280.0> -------- open_result error {not_found,no_db_file} for _dbs
2021-07-02T14:31:18.203133742Z [notice] 2021-07-02T14:31:18.202892Z nonode@nohost <0.292.0> -------- mem3_reshard_dbdoc start init()
2021-07-02T14:31:18.207742545Z [notice] 2021-07-02T14:31:18.207481Z nonode@nohost <0.294.0> -------- mem3_reshard start init()
2021-07-02T14:31:18.207813583Z [notice] 2021-07-02T14:31:18.207580Z nonode@nohost <0.295.0> -------- mem3_reshard db monitor <0.295.0> starting
2021-07-02T14:31:18.210079444Z [notice] 2021-07-02T14:31:18.209770Z nonode@nohost <0.294.0> -------- mem3_reshard starting reloading jobs
2021-07-02T14:31:18.210613344Z [notice] 2021-07-02T14:31:18.209853Z nonode@nohost <0.294.0> -------- mem3_reshard finished reloading jobs
2021-07-02T14:31:18.211180637Z [info] 2021-07-02T14:31:18.210979Z nonode@nohost <0.11.0> -------- Application mem3 started on node nonode@nohost
2021-07-02T14:31:18.211285319Z [info] 2021-07-02T14:31:18.211154Z nonode@nohost <0.11.0> -------- Application fabric started on node nonode@nohost
2021-07-02T14:31:18.239235479Z [info] 2021-07-02T14:31:18.238953Z nonode@nohost <0.11.0> -------- Application chttpd started on node nonode@nohost
2021-07-02T14:31:18.248323185Z [info] 2021-07-02T14:31:18.248137Z nonode@nohost <0.11.0> -------- Application couch_index started on node nonode@nohost
2021-07-02T14:31:18.248426166Z [info] 2021-07-02T14:31:18.248165Z nonode@nohost <0.11.0> -------- Application couch_mrview started on node nonode@nohost
2021-07-02T14:31:18.248529487Z [info] 2021-07-02T14:31:18.248266Z nonode@nohost <0.11.0> -------- Application couch_plugins started on node nonode@nohost
2021-07-02T14:31:18.250626254Z [error] 2021-07-02T14:31:18.250170Z nonode@nohost emulator -------- Error in process <0.325.0> with exit value:
2021-07-02T14:31:18.250640496Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:18.250648538Z
2021-07-02T14:31:18.250703682Z [notice] 2021-07-02T14:31:18.250162Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:18.288449761Z [info] 2021-07-02T14:31:18.288168Z nonode@nohost <0.11.0> -------- Application couch_replicator started on node nonode@nohost
2021-07-02T14:31:18.295423500Z [info] 2021-07-02T14:31:18.295179Z nonode@nohost <0.11.0> -------- Application couch_peruser started on node nonode@nohost
2021-07-02T14:31:18.304163876Z [info] 2021-07-02T14:31:18.303907Z nonode@nohost <0.11.0> -------- Application ddoc_cache started on node nonode@nohost
2021-07-02T14:31:18.311304192Z [info] 2021-07-02T14:31:18.311111Z nonode@nohost <0.11.0> -------- Application dreyfus started on node nonode@nohost
2021-07-02T14:31:18.321792142Z [info] 2021-07-02T14:31:18.321549Z nonode@nohost <0.11.0> -------- Application global_changes started on node nonode@nohost
2021-07-02T14:31:18.321810033Z [info] 2021-07-02T14:31:18.321641Z nonode@nohost <0.11.0> -------- Application jiffy started on node nonode@nohost
2021-07-02T14:31:18.327722764Z [info] 2021-07-02T14:31:18.327498Z nonode@nohost <0.11.0> -------- Application jwtf started on node nonode@nohost
2021-07-02T14:31:18.334458280Z [info] 2021-07-02T14:31:18.334274Z nonode@nohost <0.11.0> -------- Application ken started on node nonode@nohost
2021-07-02T14:31:18.341805156Z [info] 2021-07-02T14:31:18.341570Z nonode@nohost <0.11.0> -------- Application mango started on node nonode@nohost
2021-07-02T14:31:18.346430809Z [info] 2021-07-02T14:31:18.346219Z nonode@nohost <0.11.0> -------- Application setup started on node nonode@nohost
2021-07-02T14:31:18.361504385Z [info] 2021-07-02T14:31:18.361285Z nonode@nohost <0.11.0> -------- Application smoosh started on node nonode@nohost
2021-07-02T14:31:18.361573672Z [info] 2021-07-02T14:31:18.361349Z nonode@nohost <0.11.0> -------- Application snappy started on node nonode@nohost
2021-07-02T14:31:18.361630692Z [info] 2021-07-02T14:31:18.361376Z nonode@nohost <0.11.0> -------- Application recon started on node nonode@nohost
2021-07-02T14:31:23.252287536Z [notice] 2021-07-02T14:31:23.251546Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:23.253187008Z [error] 2021-07-02T14:31:23.251928Z nonode@nohost emulator -------- Error in process <0.463.0> with exit value:
2021-07-02T14:31:23.253222059Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:23.253248304Z
2021-07-02T14:31:23.260705192Z [notice] 2021-07-02T14:31:23.260105Z nonode@nohost <0.346.0> -------- couch_replicator_clustering : cluster stable
2021-07-02T14:31:23.266765845Z [notice] 2021-07-02T14:31:23.266181Z nonode@nohost <0.356.0> -------- Started replicator db changes listener <0.464.0>
2021-07-02T14:31:23.267749759Z [info] 2021-07-02T14:31:23.267283Z nonode@nohost <0.466.0> -------- open_result error {not_found,no_db_file} for _replicator
2021-07-02T14:31:28.253600082Z [notice] 2021-07-02T14:31:28.252533Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:28.254224075Z [error] 2021-07-02T14:31:28.253004Z nonode@nohost emulator -------- Error in process <0.518.0> with exit value:
2021-07-02T14:31:28.254262047Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:28.254278272Z
2021-07-02T14:31:33.115765772Z [notice] 2021-07-02T14:31:33.115080Z nonode@nohost <0.250.0> -------- rexi_server : cluster stable
2021-07-02T14:31:33.115819118Z [notice] 2021-07-02T14:31:33.115211Z nonode@nohost <0.254.0> -------- rexi_buffer : cluster stable
2021-07-02T14:31:33.254523194Z [notice] 2021-07-02T14:31:33.253552Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:33.255130781Z [error] 2021-07-02T14:31:33.254013Z nonode@nohost emulator -------- Error in process <0.551.0> with exit value:
2021-07-02T14:31:33.255167082Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:33.255185092Z
2021-07-02T14:31:38.255515518Z [notice] 2021-07-02T14:31:38.254592Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:38.256268153Z [error] 2021-07-02T14:31:38.255021Z nonode@nohost emulator -------- Error in process <0.600.0> with exit value:
2021-07-02T14:31:38.256324479Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:38.256367060Z
2021-07-02T14:31:43.256579104Z [notice] 2021-07-02T14:31:43.255572Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:43.257394805Z [error] 2021-07-02T14:31:43.256054Z nonode@nohost emulator -------- Error in process <0.633.0> with exit value:
2021-07-02T14:31:43.257438796Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:43.257457546Z
2021-07-02T14:31:48.257231136Z [notice] 2021-07-02T14:31:48.256439Z nonode@nohost <0.324.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
2021-07-02T14:31:48.257862988Z [error] 2021-07-02T14:31:48.256836Z nonode@nohost emulator -------- Error in process <0.682.0> with exit value:
2021-07-02T14:31:48.257894959Z {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,399}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,374}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,403}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,96}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
2021-07-02T14:31:48.257911500Z
*********
Pulling docker image python:3 ...
Using docker image sha256:d92f72c38f7e1d5bde109af360d3c2695b957598a4e7576f1cd42a1638976b29 for python:3 ...
section_start:1625236309:prepare_script
Running on runner-15451e3f-project-38-concurrent-0 via sd-134519...
section_end:1625236311:prepare_script
section_start:1625236311:get_sources
Fetching changes...
Removing node_modules/
HEAD is now at 18331e7 comment get sales stats params
Checking out 18331e75 as aide_a_la_commande...
Skipping Git submodules setup
section_end:1625236313:get_sources
section_start:1625236313:restore_cache
Checking cache for default...
No URL provided, cache will be not downloaded from shared cache server. Instead a local version of cache will be extracted.
Successfully extracted cache
section_end:1625236314:restore_cache
section_start:1625236314:download_artifacts
section_end:1625236316:download_artifacts
section_start:1625236316:build_script
$ ./scripts/ci/unit_setup.sh
Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (21.1.3)
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/site-packages (57.0.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting Django<3,>=2.2
Using cached Django-2.2.24-py3-none-any.whl (7.5 MB)
Collecting django-cors-headers
Using cached django_cors_headers-3.7.0-py3-none-any.whl (12 kB)
Collecting couchdb
Using cached CouchDB-1.2-py2.py3-none-any.whl (67 kB)
Collecting python-dateutil
Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting requests
Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting pymysql
Using cached PyMySQL-1.0.2-py3-none-any.whl (43 kB)
Collecting openpyxl
Using cached openpyxl-3.0.7-py2.py3-none-any.whl (243 kB)
Collecting reportlab
Using cached reportlab-3.5.68-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.6 MB)
Collecting argon2-cffi
Using cached argon2_cffi-20.1.0-cp35-abi3-manylinux1_x86_64.whl (97 kB)
Collecting pytz
Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting sqlparse>=0.2.2
Using cached sqlparse-0.4.1-py3-none-any.whl (42 kB)
Collecting six>=1.5
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting idna<3,>=2.5
Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting certifi>=2017.4.17
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting et-xmlfile
Using cached et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting pillow>=4.0.0
Using cached Pillow-8.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.0 MB)
Collecting cffi>=1.0.0
Using cached cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl (406 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: sqlparse, pytz, pycparser, urllib3, six, pillow, idna, et-xmlfile, Django, chardet, cffi, certifi, requests, reportlab, python-dateutil, pymysql, openpyxl, django-cors-headers, couchdb, argon2-cffi
Successfully installed Django-2.2.24 argon2-cffi-20.1.0 certifi-2021.5.30 cffi-1.14.5 chardet-4.0.0 couchdb-1.2 django-cors-headers-3.7.0 et-xmlfile-1.1.0 idna-2.10 openpyxl-3.0.7 pillow-8.3.0 pycparser-2.20 pymysql-1.0.2 python-dateutil-2.8.1 pytz-2021.1 reportlab-3.5.68 requests-2.25.1 six-1.16.0 sqlparse-0.4.1 urllib3-1.26.6
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
$ python manage.py test
.............
----------------------------------------------------------------------
Ran 13 tests in 0.001s
OK
System check identified no issues (0 silenced).
section_end:1625236329:build_script
section_start:1625236329:after_script
section_end:1625236331:after_script
section_start:1625236331:archive_cache
Creating cache default...
/builds/cooperatic-foodcoops/third-party/pip-cache: found 240 matching files
No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally.
Created cache
section_end:1625236333:archive_cache
section_start:1625236333:upload_artifacts_on_success
section_end:1625236335:upload_artifacts_on_success
Job succeeded