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-06-29T15:01:31.293780293Z [info] 2021-06-29T15:01:31.293494Z nonode@nohost <0.11.0> -------- Application couch_log started on node nonode@nohost
2021-06-29T15:01:31.300273651Z [info] 2021-06-29T15:01:31.300066Z nonode@nohost <0.11.0> -------- Application folsom started on node nonode@nohost
2021-06-29T15:01:31.335413867Z [info] 2021-06-29T15:01:31.335118Z nonode@nohost <0.11.0> -------- Application couch_stats started on node nonode@nohost
2021-06-29T15:01:31.335511472Z [info] 2021-06-29T15:01:31.335302Z nonode@nohost <0.11.0> -------- Application khash started on node nonode@nohost
2021-06-29T15:01:31.342255701Z [info] 2021-06-29T15:01:31.342005Z nonode@nohost <0.11.0> -------- Application couch_event started on node nonode@nohost
2021-06-29T15:01:31.342360628Z [info] 2021-06-29T15:01:31.342196Z nonode@nohost <0.11.0> -------- Application hyper started on node nonode@nohost
2021-06-29T15:01:31.347347512Z [info] 2021-06-29T15:01:31.347097Z nonode@nohost <0.11.0> -------- Application ibrowse started on node nonode@nohost
2021-06-29T15:01:31.351967275Z [info] 2021-06-29T15:01:31.351730Z nonode@nohost <0.11.0> -------- Application ioq started on node nonode@nohost
2021-06-29T15:01:31.352053904Z [info] 2021-06-29T15:01:31.351909Z nonode@nohost <0.11.0> -------- Application mochiweb started on node nonode@nohost
2021-06-29T15:01:31.355392022Z [info] 2021-06-29T15:01:31.355108Z nonode@nohost <0.216.0> -------- Preflight check: Asserting Admin Account
2021-06-29T15:01:31.355407239Z
2021-06-29T15:01:31.358276686Z [info] 2021-06-29T15:01:31.357972Z nonode@nohost <0.216.0> -------- Apache CouchDB 3.1.1 is starting.
2021-06-29T15:01:31.358292100Z
2021-06-29T15:01:31.358296342Z [info] 2021-06-29T15:01:31.358058Z nonode@nohost <0.217.0> -------- Starting couch_sup
2021-06-29T15:01:31.373815001Z [notice] 2021-06-29T15:01:31.373535Z nonode@nohost <0.82.0> -------- config: [admins] ci-only set to -pbkdf2-55226f1ceec870620a9df13088a5a3e6a8f5b864,b9ef13b554667f1c75f4c646880164db,10 for reason nil
2021-06-29T15:01:31.410703075Z [info] 2021-06-29T15:01:31.410453Z nonode@nohost <0.216.0> -------- Apache CouchDB has started. Time to relax.
2021-06-29T15:01:31.410728419Z
2021-06-29T15:01:31.413002023Z [info] 2021-06-29T15:01:31.412784Z nonode@nohost <0.11.0> -------- Application couch started on node nonode@nohost
2021-06-29T15:01:31.413134686Z [info] 2021-06-29T15:01:31.412929Z nonode@nohost <0.11.0> -------- Application ets_lru started on node nonode@nohost
2021-06-29T15:01:31.423074073Z [notice] 2021-06-29T15:01:31.422837Z nonode@nohost <0.250.0> -------- rexi_server : started servers
2021-06-29T15:01:31.424930800Z [notice] 2021-06-29T15:01:31.424713Z nonode@nohost <0.254.0> -------- rexi_buffer : started servers
2021-06-29T15:01:31.425018416Z [info] 2021-06-29T15:01:31.424871Z nonode@nohost <0.11.0> -------- Application rexi started on node nonode@nohost
2021-06-29T15:01:31.449512313Z [warning] 2021-06-29T15:01:31.449106Z nonode@nohost <0.262.0> -------- creating missing database: _nodes
2021-06-29T15:01:31.449559629Z [info] 2021-06-29T15:01:31.449227Z nonode@nohost <0.263.0> -------- open_result error {not_found,no_db_file} for _nodes
2021-06-29T15:01:31.496100500Z [warning] 2021-06-29T15:01:31.495684Z nonode@nohost <0.278.0> -------- creating missing database: _dbs
2021-06-29T15:01:31.496245422Z [warning] 2021-06-29T15:01:31.495758Z nonode@nohost <0.277.0> -------- creating missing database: _dbs
2021-06-29T15:01:31.496303379Z [info] 2021-06-29T15:01:31.495827Z nonode@nohost <0.280.0> -------- open_result error {not_found,no_db_file} for _dbs
2021-06-29T15:01:31.511188236Z [notice] 2021-06-29T15:01:31.510863Z nonode@nohost <0.292.0> -------- mem3_reshard_dbdoc start init()
2021-06-29T15:01:31.516141060Z [notice] 2021-06-29T15:01:31.515799Z nonode@nohost <0.294.0> -------- mem3_reshard start init()
2021-06-29T15:01:31.516225814Z [notice] 2021-06-29T15:01:31.515917Z nonode@nohost <0.295.0> -------- mem3_reshard db monitor <0.295.0> starting
2021-06-29T15:01:31.518663612Z [notice] 2021-06-29T15:01:31.518284Z nonode@nohost <0.294.0> -------- mem3_reshard starting reloading jobs
2021-06-29T15:01:31.518730212Z [notice] 2021-06-29T15:01:31.518368Z nonode@nohost <0.294.0> -------- mem3_reshard finished reloading jobs
2021-06-29T15:01:31.519767823Z [info] 2021-06-29T15:01:31.519551Z nonode@nohost <0.11.0> -------- Application mem3 started on node nonode@nohost
2021-06-29T15:01:31.519870906Z [info] 2021-06-29T15:01:31.519599Z nonode@nohost <0.11.0> -------- Application fabric started on node nonode@nohost
2021-06-29T15:01:31.552116068Z [info] 2021-06-29T15:01:31.551919Z nonode@nohost <0.11.0> -------- Application chttpd started on node nonode@nohost
2021-06-29T15:01:31.561139289Z [info] 2021-06-29T15:01:31.560923Z nonode@nohost <0.11.0> -------- Application couch_index started on node nonode@nohost
2021-06-29T15:01:31.561277954Z [info] 2021-06-29T15:01:31.561082Z nonode@nohost <0.11.0> -------- Application couch_mrview started on node nonode@nohost
2021-06-29T15:01:31.561349232Z [info] 2021-06-29T15:01:31.561173Z nonode@nohost <0.11.0> -------- Application couch_plugins started on node nonode@nohost
2021-06-29T15:01:31.562824538Z [notice] 2021-06-29T15:01:31.562587Z 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-06-29T15:01:31.563124661Z [error] 2021-06-29T15:01:31.562689Z nonode@nohost emulator -------- Error in process <0.325.0> with exit value:
2021-06-29T15:01:31.563140590Z {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-06-29T15:01:31.563152651Z
2021-06-29T15:01:31.588784400Z [info] 2021-06-29T15:01:31.588543Z nonode@nohost <0.11.0> -------- Application couch_replicator started on node nonode@nohost
2021-06-29T15:01:31.595301756Z [info] 2021-06-29T15:01:31.595078Z nonode@nohost <0.11.0> -------- Application couch_peruser started on node nonode@nohost
2021-06-29T15:01:31.603345115Z [info] 2021-06-29T15:01:31.603113Z nonode@nohost <0.11.0> -------- Application ddoc_cache started on node nonode@nohost
2021-06-29T15:01:31.610381091Z [info] 2021-06-29T15:01:31.610150Z nonode@nohost <0.11.0> -------- Application dreyfus started on node nonode@nohost
2021-06-29T15:01:31.621597043Z [info] 2021-06-29T15:01:31.621380Z nonode@nohost <0.11.0> -------- Application global_changes started on node nonode@nohost
2021-06-29T15:01:31.621659506Z [info] 2021-06-29T15:01:31.621443Z nonode@nohost <0.11.0> -------- Application jiffy started on node nonode@nohost
2021-06-29T15:01:31.629607080Z [info] 2021-06-29T15:01:31.629370Z nonode@nohost <0.11.0> -------- Application jwtf started on node nonode@nohost
2021-06-29T15:01:31.636328991Z [info] 2021-06-29T15:01:31.636110Z nonode@nohost <0.11.0> -------- Application ken started on node nonode@nohost
2021-06-29T15:01:31.643586130Z [info] 2021-06-29T15:01:31.643377Z nonode@nohost <0.11.0> -------- Application mango started on node nonode@nohost
2021-06-29T15:01:31.648600139Z [info] 2021-06-29T15:01:31.648404Z nonode@nohost <0.11.0> -------- Application setup started on node nonode@nohost
2021-06-29T15:01:31.664620877Z [info] 2021-06-29T15:01:31.664328Z nonode@nohost <0.11.0> -------- Application smoosh started on node nonode@nohost
2021-06-29T15:01:31.664635957Z [info] 2021-06-29T15:01:31.664355Z nonode@nohost <0.11.0> -------- Application snappy started on node nonode@nohost
2021-06-29T15:01:31.664696098Z [info] 2021-06-29T15:01:31.664375Z nonode@nohost <0.11.0> -------- Application recon started on node nonode@nohost
2021-06-29T15:01:36.564766156Z [notice] 2021-06-29T15:01:36.563912Z 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-06-29T15:01:36.565667728Z [error] 2021-06-29T15:01:36.564581Z nonode@nohost emulator -------- Error in process <0.463.0> with exit value:
2021-06-29T15:01:36.565712219Z {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-06-29T15:01:36.565729900Z
2021-06-29T15:01:36.569162972Z [notice] 2021-06-29T15:01:36.568484Z nonode@nohost <0.346.0> -------- couch_replicator_clustering : cluster stable
2021-06-29T15:01:36.575589645Z [notice] 2021-06-29T15:01:36.574895Z nonode@nohost <0.356.0> -------- Started replicator db changes listener <0.464.0>
2021-06-29T15:01:36.576621801Z [info] 2021-06-29T15:01:36.576067Z nonode@nohost <0.466.0> -------- open_result error {not_found,no_db_file} for _replicator
2021-06-29T15:01:41.566083841Z [notice] 2021-06-29T15:01:41.564975Z 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-06-29T15:01:41.566824892Z [error] 2021-06-29T15:01:41.565544Z nonode@nohost emulator -------- Error in process <0.518.0> with exit value:
2021-06-29T15:01:41.566865572Z {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-06-29T15:01:41.566887396Z
2021-06-29T15:01:46.424049670Z [notice] 2021-06-29T15:01:46.423433Z nonode@nohost <0.250.0> -------- rexi_server : cluster stable
2021-06-29T15:01:46.424135297Z [notice] 2021-06-29T15:01:46.423448Z nonode@nohost <0.254.0> -------- rexi_buffer : cluster stable
2021-06-29T15:01:46.567050831Z [notice] 2021-06-29T15:01:46.565968Z 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-06-29T15:01:46.567732945Z [error] 2021-06-29T15:01:46.566418Z nonode@nohost emulator -------- Error in process <0.551.0> with exit value:
2021-06-29T15:01:46.567772116Z {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-06-29T15:01:46.567790681Z
2021-06-29T15:01:51.568002477Z [notice] 2021-06-29T15:01:51.566908Z 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-06-29T15:01:51.568808653Z [error] 2021-06-29T15:01:51.567444Z nonode@nohost emulator -------- Error in process <0.600.0> with exit value:
2021-06-29T15:01:51.568846729Z {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-06-29T15:01:51.568885815Z
2021-06-29T15:01:56.568797335Z [notice] 2021-06-29T15:01:56.567886Z 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-06-29T15:01:56.569603572Z [error] 2021-06-29T15:01:56.568323Z nonode@nohost emulator -------- Error in process <0.633.0> with exit value:
2021-06-29T15:01:56.569656158Z {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-06-29T15:01:56.569675974Z
2021-06-29T15:02:01.569901288Z [notice] 2021-06-29T15:02:01.568910Z 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-06-29T15:02:01.570581869Z [error] 2021-06-29T15:02:01.569420Z nonode@nohost emulator -------- Error in process <0.682.0> with exit value:
2021-06-29T15:02:01.570618099Z {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-06-29T15:02:01.570630359Z
*********
Pulling docker image python:3 ...
Using docker image sha256:9b0d330dfd02b60939072b19a42eedf31064bc32ae642d4fca7468778421c787 for python:3 ...
section_start:1624978923:prepare_script
Running on runner-15451e3f-project-38-concurrent-0 via sd-134519...
section_end:1624978924:prepare_script
section_start:1624978924:get_sources
Fetching changes...
Removing node_modules/
HEAD is now at 6b43449 Add average sales to supplier products
Checking out 6b43449d as sales_averages...
Skipping Git submodules setup
section_end:1624978926:get_sources
section_start:1624978926: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:1624978927:restore_cache
section_start:1624978927:download_artifacts
section_end:1624978929:download_artifacts
section_start:1624978929: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 sqlparse>=0.2.2
Using cached sqlparse-0.4.1-py3-none-any.whl (42 kB)
Collecting pytz
Using cached pytz-2021.1-py2.py3-none-any.whl (510 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 certifi>=2017.4.17
Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting urllib3<1.27,>=1.21.1
Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 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.2.0-cp39-cp39-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
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
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.2.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
$ python manage.py test
.............
----------------------------------------------------------------------
Ran 13 tests in 0.001s
OK
System check identified no issues (0 silenced).
section_end:1624978944:build_script
section_start:1624978944:after_script
section_end:1624978945:after_script
section_start:1624978945:archive_cache
Creating cache default...
/builds/cooperatic-foodcoops/third-party/pip-cache: found 235 matching files
No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally.
Created cache
section_end:1624978948:archive_cache
section_start:1624978948:upload_artifacts_on_success
section_end:1624978949:upload_artifacts_on_success
Job succeeded