[0KRunning with gitlab-runner 12.4.0 (12.4.0) [0;m[0K on edugit-runner-01 L2CzNcz7 [0;msection_start:1575833647:prepare_executor [0K[0KUsing Docker executor with image python:3.8-buster ... [0;m[0KPulling docker image python:3.8-buster ... [0;m[0KUsing docker image sha256:0a3a95c81a2bd8d2ee9653097a4e0ae63d8765636874083afb5e9a7d52b6b9f1 for python:3.8-buster ... [0;msection_end:1575833649:prepare_executor [0Ksection_start:1575833649:prepare_script [0KRunning on runner-L2CzNcz7-project-118-concurrent-0 via edugit-runner-01... section_end:1575833651:prepare_script [0Ksection_start:1575833651:get_sources [0K[32;1mFetching changes...[0;m Reinitialized existing Git repository in /builds/BiscuIT/BiscuIT-ng/.git/ From https://edugit.org/BiscuIT/BiscuIT-ng * [new ref] refs/pipelines/267 -> refs/pipelines/267 dc13fc4..ff8ace5 master -> origin/master [32;1mChecking out ff8ace50 as master...[0;m [32;1mUpdating/initializing submodules recursively...[0;m Synchronizing submodule url for 'apps/official/BiscuIT-App-Alsijil' Synchronizing submodule url for 'apps/official/BiscuIT-App-Chronos' Synchronizing submodule url for 'apps/official/BiscuIT-App-Exlibris' Synchronizing submodule url for 'apps/official/BiscuIT-App-SchILD-NRW' Synchronizing submodule url for 'apps/official/BiscuIT-App-Untis' Entering 'apps/official/BiscuIT-App-Alsijil' Entering 'apps/official/BiscuIT-App-Chronos' Entering 'apps/official/BiscuIT-App-Exlibris' Entering 'apps/official/BiscuIT-App-SchILD-NRW' Entering 'apps/official/BiscuIT-App-Untis' Entering 'apps/official/BiscuIT-App-Alsijil' HEAD is now at a52358a Add MANIFEST.in Entering 'apps/official/BiscuIT-App-Chronos' HEAD is now at d6c5b38 Merge branch '42-chronos-lessonsubstitution-teachers-fields-w340-null-has-no-effect-on-manytomanyfield' into 'master' Entering 'apps/official/BiscuIT-App-Exlibris' HEAD is now at f18823b Fix MANIFEST.in. Entering 'apps/official/BiscuIT-App-SchILD-NRW' HEAD is now at d350337 Update MANIFEST.in. Entering 'apps/official/BiscuIT-App-Untis' HEAD is now at f216d0e UPdate MANIFEST.in. Entering 'apps/official/BiscuIT-App-Alsijil' Entering 'apps/official/BiscuIT-App-Chronos' Entering 'apps/official/BiscuIT-App-Exlibris' Entering 'apps/official/BiscuIT-App-SchILD-NRW' Entering 'apps/official/BiscuIT-App-Untis' section_end:1575833654:get_sources [0Ksection_start:1575833654:restore_cache [0Ksection_end:1575833656:restore_cache [0Ksection_start:1575833656:download_artifacts [0Ksection_end:1575833657:download_artifacts [0Ksection_start:1575833657:build_script [0K[32;1m$ apt-get -y update && apt-get -y install postgresql libpq5 libpq-dev libssl-dev sudo[0;m Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB] Get:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [159 kB] Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [5792 B] Fetched 8309 kB in 3s (2531 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... libssl-dev is already the newest version (1.1.1d-0+deb10u2). libpq-dev is already the newest version (11.5-1+deb10u1). libpq5 is already the newest version (11.5-1+deb10u1). libpq5 set to manually installed. The following additional packages will be installed: cron distro-info-data exim4-base exim4-config exim4-daemon-light guile-2.2-libs libc-l10n libgc1c2 libgsasl7 libidn11 libkyotocabinet16v5 libllvm7 libmailutils5 libntlm0 libpopt0 libpython2.7 libsensors-config libsensors5 libwrap0 locales logrotate lsb-release mailutils mailutils-common postgresql-11 postgresql-client-11 postgresql-client-common postgresql-common psmisc ssl-cert sysstat Suggested packages: anacron checksecurity exim4-doc-html | exim4-doc-info eximon4 spf-tools-perl swaks lm-sensors lsb mailutils-mh mailutils-doc postgresql-doc postgresql-doc-11 libjson-perl openssl-blacklist isag The following NEW packages will be installed: cron distro-info-data exim4-base exim4-config exim4-daemon-light guile-2.2-libs libc-l10n libgc1c2 libgsasl7 libidn11 libkyotocabinet16v5 libllvm7 libmailutils5 libntlm0 libpopt0 libpython2.7 libsensors-config libsensors5 libwrap0 locales logrotate lsb-release mailutils mailutils-common postgresql postgresql-11 postgresql-client-11 postgresql-client-common postgresql-common psmisc ssl-cert sudo sysstat 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. Need to get 47.2 MB of archives. After this operation, 202 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 cron amd64 3.0pl1-134+deb10u1 [99.0 kB] Get:2 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-client-common all 200+deb10u3 [84.9 kB] Get:3 http://security.debian.org/debian-security buster/updates/main amd64 postgresql-common all 200+deb10u3 [225 kB] Get:4 http://deb.debian.org/debian buster/main amd64 libpopt0 amd64 1.16-12 [49.4 kB] Get:5 http://deb.debian.org/debian buster/main amd64 logrotate amd64 3.14.0-4 [63.1 kB] Get:6 http://deb.debian.org/debian buster/main amd64 libc-l10n all 2.28-10 [847 kB] Get:7 http://security.debian.org/debian-security buster/updates/main amd64 postgresql all 11+200+deb10u3 [60.9 kB] Get:8 http://deb.debian.org/debian buster/main amd64 locales all 2.28-10 [4060 kB] Get:9 http://deb.debian.org/debian buster/main amd64 distro-info-data all 0.41+deb10u1 [6500 B] Get:10 http://deb.debian.org/debian buster/main amd64 exim4-config all 4.92-8+deb10u3 [323 kB] Get:11 http://deb.debian.org/debian buster/main amd64 exim4-base amd64 4.92-8+deb10u3 [1135 kB] Get:12 http://deb.debian.org/debian buster/main amd64 exim4-daemon-light amd64 4.92-8+deb10u3 [581 kB] Get:13 http://deb.debian.org/debian buster/main amd64 libgc1c2 amd64 1:7.6.4-0.4 [224 kB] Get:14 http://deb.debian.org/debian buster/main amd64 guile-2.2-libs amd64 2.2.4+1-2 [4969 kB] Get:15 http://deb.debian.org/debian buster/main amd64 libidn11 amd64 1.33-2.2 [116 kB] Get:16 http://deb.debian.org/debian buster/main amd64 libntlm0 amd64 1.5-1 [22.0 kB] Get:17 http://deb.debian.org/debian buster/main amd64 libgsasl7 amd64 1.8.0-8+b2 [207 kB] Get:18 http://deb.debian.org/debian buster/main amd64 libkyotocabinet16v5 amd64 1.2.76-4.2+b1 [298 kB] Get:19 http://deb.debian.org/debian buster/main amd64 libllvm7 amd64 1:7.0.1-8 [13.0 MB] Get:20 http://deb.debian.org/debian buster/main amd64 mailutils-common all 1:3.5-3 [689 kB] Get:21 http://deb.debian.org/debian buster/main amd64 libpython2.7 amd64 2.7.16-2+deb10u1 [1036 kB] Get:22 http://deb.debian.org/debian buster/main amd64 libmailutils5 amd64 1:3.5-3 [881 kB] Get:23 http://deb.debian.org/debian buster/main amd64 libsensors-config all 1:3.5.0-3 [31.6 kB] Get:24 http://deb.debian.org/debian buster/main amd64 libsensors5 amd64 1:3.5.0-3 [52.6 kB] Get:25 http://deb.debian.org/debian buster/main amd64 libwrap0 amd64 7.6.q-28 [58.7 kB] Get:26 http://deb.debian.org/debian buster/main amd64 lsb-release all 10.2019051400 [27.5 kB] Get:27 http://deb.debian.org/debian buster/main amd64 mailutils amd64 1:3.5-3 [585 kB] Get:28 http://deb.debian.org/debian buster/main amd64 postgresql-client-11 amd64 11.5-1+deb10u1 [1390 kB] Get:29 http://deb.debian.org/debian buster/main amd64 ssl-cert all 1.0.39 [20.8 kB] Get:30 http://deb.debian.org/debian buster/main amd64 postgresql-11 amd64 11.5-1+deb10u1 [14.1 MB] Get:31 http://deb.debian.org/debian buster/main amd64 psmisc amd64 23.2-1 [126 kB] Get:32 http://deb.debian.org/debian buster/main amd64 sudo amd64 1.8.27-1+deb10u1 [1244 kB] Get:33 http://deb.debian.org/debian buster/main amd64 sysstat amd64 12.0.3-2 [562 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 47.2 MB in 4s (10.9 MB/s) Selecting previously unselected package cron. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 24526 files and directories currently installed.) Preparing to unpack .../00-cron_3.0pl1-134+deb10u1_amd64.deb ... Unpacking cron (3.0pl1-134+deb10u1) ... Selecting previously unselected package libpopt0:amd64. Preparing to unpack .../01-libpopt0_1.16-12_amd64.deb ... Unpacking libpopt0:amd64 (1.16-12) ... Selecting previously unselected package logrotate. Preparing to unpack .../02-logrotate_3.14.0-4_amd64.deb ... Unpacking logrotate (3.14.0-4) ... Selecting previously unselected package libc-l10n. Preparing to unpack .../03-libc-l10n_2.28-10_all.deb ... Unpacking libc-l10n (2.28-10) ... Selecting previously unselected package locales. Preparing to unpack .../04-locales_2.28-10_all.deb ... Unpacking locales (2.28-10) ... Selecting previously unselected package distro-info-data. Preparing to unpack .../05-distro-info-data_0.41+deb10u1_all.deb ... Unpacking distro-info-data (0.41+deb10u1) ... Selecting previously unselected package exim4-config. Preparing to unpack .../06-exim4-config_4.92-8+deb10u3_all.deb ... Unpacking exim4-config (4.92-8+deb10u3) ... Selecting previously unselected package exim4-base. Preparing to unpack .../07-exim4-base_4.92-8+deb10u3_amd64.deb ... Unpacking exim4-base (4.92-8+deb10u3) ... Selecting previously unselected package exim4-daemon-light. Preparing to unpack .../08-exim4-daemon-light_4.92-8+deb10u3_amd64.deb ... Unpacking exim4-daemon-light (4.92-8+deb10u3) ... Selecting previously unselected package libgc1c2:amd64. Preparing to unpack .../09-libgc1c2_1%3a7.6.4-0.4_amd64.deb ... Unpacking libgc1c2:amd64 (1:7.6.4-0.4) ... Selecting previously unselected package guile-2.2-libs:amd64. Preparing to unpack .../10-guile-2.2-libs_2.2.4+1-2_amd64.deb ... Unpacking guile-2.2-libs:amd64 (2.2.4+1-2) ... Selecting previously unselected package libidn11:amd64. Preparing to unpack .../11-libidn11_1.33-2.2_amd64.deb ... Unpacking libidn11:amd64 (1.33-2.2) ... Selecting previously unselected package libntlm0:amd64. Preparing to unpack .../12-libntlm0_1.5-1_amd64.deb ... Unpacking libntlm0:amd64 (1.5-1) ... Selecting previously unselected package libgsasl7. Preparing to unpack .../13-libgsasl7_1.8.0-8+b2_amd64.deb ... Unpacking libgsasl7 (1.8.0-8+b2) ... Selecting previously unselected package libkyotocabinet16v5:amd64. Preparing to unpack .../14-libkyotocabinet16v5_1.2.76-4.2+b1_amd64.deb ... Unpacking libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ... Selecting previously unselected package libllvm7:amd64. Preparing to unpack .../15-libllvm7_1%3a7.0.1-8_amd64.deb ... Unpacking libllvm7:amd64 (1:7.0.1-8) ... Selecting previously unselected package mailutils-common. Preparing to unpack .../16-mailutils-common_1%3a3.5-3_all.deb ... Unpacking mailutils-common (1:3.5-3) ... Selecting previously unselected package libpython2.7:amd64. Preparing to unpack .../17-libpython2.7_2.7.16-2+deb10u1_amd64.deb ... Unpacking libpython2.7:amd64 (2.7.16-2+deb10u1) ... Selecting previously unselected package libmailutils5:amd64. Preparing to unpack .../18-libmailutils5_1%3a3.5-3_amd64.deb ... Unpacking libmailutils5:amd64 (1:3.5-3) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../19-libsensors-config_1%3a3.5.0-3_all.deb ... Unpacking libsensors-config (1:3.5.0-3) ... Selecting previously unselected package libsensors5:amd64. Preparing to unpack .../20-libsensors5_1%3a3.5.0-3_amd64.deb ... Unpacking libsensors5:amd64 (1:3.5.0-3) ... Selecting previously unselected package libwrap0:amd64. Preparing to unpack .../21-libwrap0_7.6.q-28_amd64.deb ... Unpacking libwrap0:amd64 (7.6.q-28) ... Selecting previously unselected package lsb-release. Preparing to unpack .../22-lsb-release_10.2019051400_all.deb ... Unpacking lsb-release (10.2019051400) ... Selecting previously unselected package mailutils. Preparing to unpack .../23-mailutils_1%3a3.5-3_amd64.deb ... Unpacking mailutils (1:3.5-3) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../24-postgresql-client-common_200+deb10u3_all.deb ... Unpacking postgresql-client-common (200+deb10u3) ... Selecting previously unselected package postgresql-client-11. Preparing to unpack .../25-postgresql-client-11_11.5-1+deb10u1_amd64.deb ... Unpacking postgresql-client-11 (11.5-1+deb10u1) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../26-ssl-cert_1.0.39_all.deb ... Unpacking ssl-cert (1.0.39) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../27-postgresql-common_200+deb10u3_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (200+deb10u3) ... Selecting previously unselected package postgresql-11. Preparing to unpack .../28-postgresql-11_11.5-1+deb10u1_amd64.deb ... Unpacking postgresql-11 (11.5-1+deb10u1) ... Selecting previously unselected package postgresql. Preparing to unpack .../29-postgresql_11+200+deb10u3_all.deb ... Unpacking postgresql (11+200+deb10u3) ... Selecting previously unselected package psmisc. Preparing to unpack .../30-psmisc_23.2-1_amd64.deb ... Unpacking psmisc (23.2-1) ... Selecting previously unselected package sudo. Preparing to unpack .../31-sudo_1.8.27-1+deb10u1_amd64.deb ... Unpacking sudo (1.8.27-1+deb10u1) ... Selecting previously unselected package sysstat. Preparing to unpack .../32-sysstat_12.0.3-2_amd64.deb ... Unpacking sysstat (12.0.3-2) ... Setting up postgresql-client-common (200+deb10u3) ... Setting up libpython2.7:amd64 (2.7.16-2+deb10u1) ... Setting up libc-l10n (2.28-10) ... Setting up psmisc (23.2-1) ... Setting up libgc1c2:amd64 (1:7.6.4-0.4) ... Setting up distro-info-data (0.41+deb10u1) ... Setting up libkyotocabinet16v5:amd64 (1.2.76-4.2+b1) ... Setting up cron (3.0pl1-134+deb10u1) ... Adding group `crontab' (GID 102) ... Done. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up libsensors-config (1:3.5.0-3) ... Setting up locales (2.28-10) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Generating locales (this might take a while)... Generation complete. Setting up libwrap0:amd64 (7.6.q-28) ... Setting up libntlm0:amd64 (1.5-1) ... Setting up ssl-cert (1.0.39) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Setting up libidn11:amd64 (1.33-2.2) ... Setting up postgresql-client-11 (11.5-1+deb10u1) ... update-alternatives: using /usr/share/postgresql/11/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up postgresql-common (200+deb10u3) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Adding user postgres to group ssl-cert Creating config file /etc/postgresql-common/createcluster.conf with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up mailutils-common (1:3.5-3) ... Setting up sudo (1.8.27-1+deb10u1) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up libsensors5:amd64 (1:3.5.0-3) ... Setting up exim4-config (4.92-8+deb10u3) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Adding system-user for exim (v4) Setting up libllvm7:amd64 (1:7.0.1-8) ... Setting up lsb-release (10.2019051400) ... Setting up sysstat (12.0.3-2) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Creating config file /etc/default/sysstat with new version update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode Setting up guile-2.2-libs:amd64 (2.2.4+1-2) ... Setting up libpopt0:amd64 (1.16-12) ... Setting up logrotate (3.14.0-4) ... Setting up exim4-base (4.92-8+deb10u3) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline exim: DB upgrade, deleting hints-db Setting up libgsasl7 (1.8.0-8+b2) ... Setting up postgresql-11 (11.5-1+deb10u1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Creating new PostgreSQL cluster 11/main ... /usr/lib/postgresql/11/bin/initdb -D /var/lib/postgresql/11/main --auth-local peer --auth-host md5 The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "C.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. fixing permissions on existing directory /var/lib/postgresql/11/main ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default timezone ... Etc/UTC selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctlcluster 11 main start Ver Cluster Port Status Owner Data directory Log file [31m11 main 5432 down postgres /var/lib/postgresql/11/main /var/log/postgresql/postgresql-11-main.log[0m update-alternatives: using /usr/share/postgresql/11/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up postgresql (11+200+deb10u3) ... Setting up exim4-daemon-light (4.92-8+deb10u3) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Initializing GnuTLS DH parameter file Setting up libmailutils5:amd64 (1:3.5-3) ... Setting up mailutils (1:3.5-3) ... update-alternatives: using /usr/bin/frm.mailutils to provide /usr/bin/frm (frm) in auto mode update-alternatives: using /usr/bin/from.mailutils to provide /usr/bin/from (from) in auto mode update-alternatives: using /usr/bin/messages.mailutils to provide /usr/bin/messages (messages) in auto mode update-alternatives: using /usr/bin/movemail.mailutils to provide /usr/bin/movemail (movemail) in auto mode update-alternatives: using /usr/bin/readmsg.mailutils to provide /usr/bin/readmsg (readmsg) in auto mode update-alternatives: using /usr/bin/dotlock.mailutils to provide /usr/bin/dotlock (dotlock) in auto mode update-alternatives: using /usr/bin/mail.mailutils to provide /usr/bin/mailx (mailx) in auto mode Processing triggers for libc-bin (2.28-10) ... [32;1m$ pip install poetry[0;m Collecting poetry Downloading https://files.pythonhosted.org/packages/c9/76/214acc400055aa0045ed21ce25378225b1887c5c091f99476955bf9f6984/poetry-0.12.17-py2.py3-none-any.whl (195kB) Collecting shellingham<2.0,>=1.1 Downloading https://files.pythonhosted.org/packages/2d/ac/e8a34d4b3d24bf554f40651b2aac549a3fc7223725bf10fbdfe2083b6372/shellingham-1.3.1-py2.py3-none-any.whl Collecting pyparsing<3.0,>=2.2 Downloading https://files.pythonhosted.org/packages/c0/0c/fc2e007d9a992d997f04a80125b0f183da7fb554f1de701bbb70a8e7d479/pyparsing-2.4.5-py2.py3-none-any.whl (67kB) Collecting pyrsistent<0.15.0,>=0.14.2 Downloading https://files.pythonhosted.org/packages/8c/46/4e93ab8a379d7efe93f20a0fb8a27bdfe88942cc954ab0210c3164e783e0/pyrsistent-0.14.11.tar.gz (104kB) Collecting cleo<0.7.0,>=0.6.7 Downloading https://files.pythonhosted.org/packages/a7/b9/270301a3a87587f09bc3985973f2e362ffa45fa5fcd5128501516b2f5e31/cleo-0.6.8-py2.py3-none-any.whl (264kB) Collecting tomlkit<0.6.0,>=0.5.1 Downloading https://files.pythonhosted.org/packages/3e/30/7c2693fc50bd466285ec22bf02ee344be1bde3e2e8267e302fdc82d11f2d/tomlkit-0.5.8-py2.py3-none-any.whl Collecting pkginfo<2.0,>=1.4 Downloading https://files.pythonhosted.org/packages/e6/d5/451b913307b478c49eb29084916639dc53a88489b993530fed0a66bab8b9/pkginfo-1.5.0.1-py2.py3-none-any.whl Collecting requests<3.0,>=2.18 Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.0-py2.py3-none-any.whl (57kB) Collecting html5lib<2.0,>=1.0 Downloading https://files.pythonhosted.org/packages/a5/62/bbd2be0e7943ec8504b517e62bab011b4946e1258842bc159e5dfde15b96/html5lib-1.0.1-py2.py3-none-any.whl (117kB) Collecting cachecontrol[filecache]<0.13.0,>=0.12.4 Downloading https://files.pythonhosted.org/packages/5e/f0/2c193ed1f17c97ae539da7e1c2d48b80d8cccb1917163b26a91ca4355aa6/CacheControl-0.12.5.tar.gz Collecting cachy<0.3,>=0.2 Downloading https://files.pythonhosted.org/packages/26/37/8ce3e7b330078b6797a34e79a80a8ad6935e404a3b903765417182c9ce19/cachy-0.2.0-py2.py3-none-any.whl (59kB) Collecting jsonschema<4.0,>=3.0a3 Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB) Collecting requests-toolbelt<0.9.0,>=0.8.0 Downloading https://files.pythonhosted.org/packages/97/8a/d710f792d6f6ecc089c5e55b66e66c3f2f35516a1ede5a8f54c13350ffb0/requests_toolbelt-0.8.0-py2.py3-none-any.whl (54kB) Collecting six Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl Collecting pastel<0.2.0,>=0.1.0 Downloading https://files.pythonhosted.org/packages/09/b9/ca6434777928cc4e25cd17a8d2a913f3c2877ce54c5a7b7c18bf646ff257/pastel-0.1.1-py2.py3-none-any.whl Collecting pylev<2.0,>=1.3 Downloading https://files.pythonhosted.org/packages/40/1c/7dff1d242bf1e19f9c6202f0ba4e6fd18cc7ecb8bc85b17b2d16c806e228/pylev-1.3.0-py2.py3-none-any.whl Collecting certifi>=2017.4.17 Downloading https://files.pythonhosted.org/packages/b9/63/df50cac98ea0d5b006c55a399c3bf1db9da7b5a24de7890bc9cfd5dd9e99/certifi-2019.11.28-py2.py3-none-any.whl (156kB) Collecting idna<2.9,>=2.5 Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB) Collecting chardet<3.1.0,>=3.0.2 Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB) Collecting webencodings Downloading https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl Collecting msgpack Downloading https://files.pythonhosted.org/packages/74/0a/de673c1c987f5779b65ef69052331ec0b0ebd22958bda77a8284be831964/msgpack-0.6.2.tar.gz (119kB) Collecting lockfile>=0.9 Downloading https://files.pythonhosted.org/packages/c8/22/9460e311f340cb62d26a38c419b1381b8593b0bb6b5d1f056938b086d362/lockfile-0.12.2-py2.py3-none-any.whl Collecting attrs>=17.4.0 Downloading https://files.pythonhosted.org/packages/a2/db/4313ab3be961f7a763066401fb77f7748373b6094076ae2bda2806988af6/attrs-19.3.0-py2.py3-none-any.whl Requirement already satisfied: setuptools in /usr/local/lib/python3.8/site-packages (from jsonschema<4.0,>=3.0a3->poetry) (41.6.0) Building wheels for collected packages: pyrsistent, cachecontrol, msgpack Building wheel for pyrsistent (setup.py): started Building wheel for pyrsistent (setup.py): finished with status 'done' Created wheel for pyrsistent: filename=pyrsistent-0.14.11-cp38-cp38-linux_x86_64.whl size=124930 sha256=2ab01cd3ca5ae8e969db9ab3880a5e39304ec062022db8cdfcbef085411ac0af Stored in directory: /root/.cache/pip/wheels/83/59/9a/a037b9b3c3e93d9275ea0aff9d6064400f372879dfdab01afe Building wheel for cachecontrol (setup.py): started Building wheel for cachecontrol (setup.py): finished with status 'done' Created wheel for cachecontrol: filename=CacheControl-0.12.5-cp38-none-any.whl size=18484 sha256=f35c88f424c9e803c60483d9dfa547a8564a03a808e7116fad77e1dc71cc185b Stored in directory: /root/.cache/pip/wheels/36/bd/5f/dbbee4f2d51f97ecd12a363f870361179cb1fd4bc1174ea08a Building wheel for msgpack (setup.py): started Building wheel for msgpack (setup.py): finished with status 'done' Created wheel for msgpack: filename=msgpack-0.6.2-cp38-cp38-linux_x86_64.whl size=304826 sha256=ed2d3f12ecc077f92c26f1f2bb4defa7025b478c6ae7551109700bf47aaa17ff Stored in directory: /root/.cache/pip/wheels/27/e6/c7/adc38b19993e22e1f7bea6ff388c7fcda941a2a17258d6e8f3 Successfully built pyrsistent cachecontrol msgpack Installing collected packages: shellingham, pyparsing, six, pyrsistent, pastel, pylev, cleo, tomlkit, pkginfo, certifi, idna, chardet, urllib3, requests, webencodings, html5lib, msgpack, lockfile, cachecontrol, cachy, attrs, jsonschema, requests-toolbelt, poetry Successfully installed attrs-19.3.0 cachecontrol-0.12.5 cachy-0.2.0 certifi-2019.11.28 chardet-3.0.4 cleo-0.6.8 html5lib-1.0.1 idna-2.8 jsonschema-3.2.0 lockfile-0.12.2 msgpack-0.6.2 pastel-0.1.1 pkginfo-1.5.0.1 poetry-0.12.17 pylev-1.3.0 pyparsing-2.4.5 pyrsistent-0.14.11 requests-2.22.0 requests-toolbelt-0.8.0 shellingham-1.3.1 six-1.13.0 tomlkit-0.5.8 urllib3-1.25.7 webencodings-0.5.1 [32;1m$ adduser --disabled-password --gecos "Test User" testuser[0;m Adding user `testuser' ... Adding new group `testuser' (1000) ... Adding new user `testuser' (1000) with group `testuser' ... Creating home directory `/home/testuser' ... Copying files from `/etc/skel' ... [32;1m$ sudo -u testuser poetry install[0;m Creating virtualenv biscuit-ng-py3.8 in /home/testuser/.cache/pypoetry/virtualenvs Installing dependencies from lock file Package operations: 117 installs, 0 updates, 0 removals - Installing pytz (2019.3) - Installing sqlparse (0.3.0) - Installing certifi (2019.11.28) - Installing chardet (3.0.4) - Installing django (2.2.8) - Installing entrypoints (0.3) - Installing idna (2.8) - Installing markupsafe (1.1.1) - Installing mccabe (0.6.1) - Installing pycodestyle (2.5.0) - Installing pycryptodome (3.9.4) - Installing pyflakes (2.1.1) - Installing pyparsing (2.4.5) - Installing scramp (1.1.0) - Installing six (1.13.0) - Installing urllib3 (1.25.7) - Installing alabaster (0.7.12) - Installing attrs (19.3.0) - Installing babel (2.7.0) - Installing colorama (0.4.3) - Installing django-otp (0.7.4) - Installing docutils (0.15.2) - Installing flake8 (3.7.9) - Installing imagesize (1.1.0) - Installing jinja2 (2.10.3) - Installing more-itertools (8.0.2) - Installing mypy-extensions (0.4.3) - Installing packaging (19.2) - Installing pg8000 (1.13.2) - Installing phonenumbers (8.11.0) - Installing pluggy (0.13.1) - Installing py (1.8.0) - Installing pygments (2.5.2) - Installing pyjwt (1.7.1) - Installing python-dateutil (2.8.1) - Installing requests (2.22.0) - Installing snowballstemmer (2.0.0) - Installing soupsieve (1.9.5) - Installing sphinxcontrib-applehelp (1.0.1) - Installing sphinxcontrib-devhelp (1.0.1) - Installing sphinxcontrib-htmlhelp (1.0.2) - Installing sphinxcontrib-jsmath (1.0.1) - Installing sphinxcontrib-qthelp (1.0.2) - Installing sphinxcontrib-serializinghtml (1.1.3) - Installing testing.common.database (2.0.3) - Installing text-unidecode (1.3) - Installing typed-ast (1.4.0) - Installing typing-extensions (3.7.4.1) - Installing wcwidth (0.1.7) - Installing yubiotp (0.2.2.post1) - Installing beautifulsoup4 (4.8.1) - Installing click (7.0) - Installing configobj (5.0.6) - Installing coverage (4.5.4) - Installing dj-database-url (0.5.0) - Installing django-appconf (1.0.3) - Installing django-bulk-update (2.2.0) - Installing django-common-helpers (0.9.2) - Installing django-formtools (2.2) - Installing django-otp-yubikey (0.5.2) - Installing django-phonenumber-field (3.0.1) - Installing faker (3.0.0) - Installing filelock (3.0.12) - Installing flake8-polyfill (1.0.2) - Installing future (0.18.2) - Installing mando (0.6.4) - Installing mypy (0.720) - Installing pillow (6.2.1) - Installing pydocstyle (4.0.1) - Installing pytest (5.3.1) - Installing python-box (3.4.6) - Installing python-dotenv (0.10.3) - Installing pyyaml (5.2) - Installing qrcode (6.1) - Installing sphinx (2.2.2) - Installing testing.postgresql (1.3.0) - Installing toml (0.10.0) - Installing tqdm (4.40.1) - Installing twilio (6.34.0) - Installing virtualenv (16.7.8) - Installing autopep8 (1.4.4) - Installing colour (0.1.5) - Installing django-any-js (1.0.3.post0) - Installing django-bootstrap4 (1.0.1) - Installing django-contact-form (1.7) - Installing django-cron (0.5.1) - Installing django-dbbackup (3.2.0) - Installing django-debug-toolbar (2.1) - Installing django-easy-audit (1.1.1) - Installing django-fa (1.0.0) - Installing django-hattori (0.2.1) - Installing django-image-cropping (1.2.0) - Installing django-impersonate (1.4.1) - Installing django-ipware (2.1.0) - Installing django-maintenance-mode (0.13.3) - Installing django-menu-generator (1.0.4) - Installing django-middleware-global-request (0.1.2) - Installing django-sass-processor (0.7.5) - Installing django-select2 (7.1.2) - Installing django-settings-context-processor (0.2) - Installing django-stubs (1.1.0) - Installing django-tables2 (2.2.1) - Installing django-two-factor-auth (1.9.1 bf9d081) - Installing django-yarnpkg (6.0.0) - Installing dynaconf (2.2.1) - Installing easy-thumbnails (2.6) - Installing libsass (0.19.4) - Installing psycopg2 (2.8.4) - Installing pylama (7.7.1) - Installing pytest-cov (2.8.1) - Installing pytest-django (3.7.0) - Installing pytest-django-testing-postgresql (0.1.post0) - Installing python-memcached (1.59) - Installing radon (3.0.3) - Installing sphinx-autodoc-typehints (1.10.3) - Installing sphinxcontrib-django (0.5) - Installing tox (3.14.2) - Installing BiscuIT-ng (1.0a4.dev0) [32;1m$ sudo -u testuser poetry run tox[0;m python create: /builds/BiscuIT/BiscuIT-ng/.tox/python python installed: biscuit-ng==1.0a4.dev0 python run-test-pre: PYTHONHASHSEED='2934560570' python run-test: commands[0] | pytest --pylama --cov=biscuit biscuit/core/ ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-5.3.1, py-1.8.0, pluggy-0.13.1 cachedir: .tox/python/.pytest_cache Django settings: biscuit.core.settings (from environment variable) rootdir: /builds/BiscuIT/BiscuIT-ng, inifile: tox.ini plugins: cov-2.8.1, django-3.7.0, pylama-7.7.1, django-testing-postgresql-0.1.post0 collected 39 items biscuit/core/tests/models/test_person.py . [ 2%] biscuit/core/tests/views/test_account.py .... [ 12%] biscuit/core/__init__.py . [ 15%] biscuit/core/admin.py . [ 17%] biscuit/core/anonymizers.py . [ 20%] biscuit/core/apps.py F [ 23%] biscuit/core/cronjobs.py . [ 25%] biscuit/core/decorators.py . [ 28%] biscuit/core/forms.py . [ 30%] biscuit/core/menus.py . [ 33%] biscuit/core/mixins.py . [ 35%] biscuit/core/models.py . [ 38%] biscuit/core/settings.py . [ 41%] biscuit/core/tables.py . [ 43%] biscuit/core/urls.py . [ 46%] biscuit/core/views.py . [ 48%] biscuit/core/wsgi.py . [ 51%] biscuit/core/migrations/__init__.py . [ 53%] biscuit/core/migrations/0001_initial.py . [ 56%] biscuit/core/migrations/0002_school_term.py . [ 58%] biscuit/core/migrations/0003_school_logo.py . [ 61%] biscuit/core/migrations/0004_yubi_otp.py . [ 64%] biscuit/core/templatetags/__init__.py . [ 66%] biscuit/core/templatetags/data_helpers.py . [ 69%] biscuit/core/tests/models/test_person.py . [ 71%] biscuit/core/tests/templatetags/test_data_helpers.py ..... [ 84%] biscuit/core/tests/views/test_account.py . [ 87%] biscuit/core/util/__init__.py . [ 89%] biscuit/core/util/apps.py . [ 92%] biscuit/core/util/core_helpers.py . [ 94%] biscuit/core/util/messages.py . [ 97%] biscuit/core/util/sass_helpers.py . [100%] =================================== FAILURES =================================== _________________________________ test session _________________________________ biscuit/core/apps.py:3:1: W0611 'warnings.warn' imported but unused [pyflakes] biscuit/core/apps.py:7:1: W0611 'django.db.utils.ProgrammingError' imported but unused [pyflakes] ----------------------------- Captured stdout call ----------------------------- biscuit/core/apps.py:3:1: W0611 'warnings.warn' imported but unused [pyflakes] biscuit/core/apps.py:7:1: W0611 'django.db.utils.ProgrammingError' imported but unused [pyflakes] =============================== warnings summary =============================== biscuit/core/tests/views/test_account.py::test_index_not_logged_in biscuit/core/tests/views/test_account.py::test_index_not_logged_in /home/testuser/.cache/pypoetry/virtualenvs/biscuit-ng-py3.8/lib/python3.8/site-packages/django/contrib/staticfiles/templatetags/staticfiles.py:24: RemovedInDjango30Warning: {% load staticfiles %} is deprecated in favor of {% load static %}. warnings.warn( -- Docs: https://docs.pytest.org/en/latest/warnings.html ----------- coverage: platform linux, python 3.8.0-final-0 ----------- Name Stmts Miss Cover --------------------------------------------------------------- biscuit/core/__init__.py 6 2 67% biscuit/core/admin.py 6 0 100% biscuit/core/anonymizers.py 5 5 0% biscuit/core/apps.py 17 4 76% biscuit/core/cronjobs.py 11 11 0% biscuit/core/decorators.py 5 0 100% biscuit/core/forms.py 53 19 64% biscuit/core/menus.py 3 0 100% biscuit/core/mixins.py 31 12 61% biscuit/core/models.py 68 5 93% biscuit/core/settings.py 118 118 0% biscuit/core/tables.py 12 0 100% biscuit/core/templatetags/__init__.py 0 0 100% biscuit/core/templatetags/data_helpers.py 12 0 100% biscuit/core/urls.py 20 4 80% biscuit/core/util/__init__.py 0 0 100% biscuit/core/util/apps.py 9 9 0% biscuit/core/util/core_helpers.py 28 23 18% biscuit/core/util/messages.py 18 8 56% biscuit/core/util/sass_helpers.py 6 6 0% biscuit/core/views.py 139 100 28% biscuit/core/wsgi.py 4 4 0% --------------------------------------------------------------- TOTAL 571 330 42% ================== 1 failed, 38 passed, 2 warnings in 11.33s =================== ERROR: InvocationError for command /home/testuser/.cache/pypoetry/virtualenvs/biscuit-ng-py3.8/bin/pytest --pylama --cov=biscuit biscuit/core/ (exited with code 1) ___________________________________ summary ____________________________________ ERROR: python: commands failed section_end:1575834047:build_script [0Ksection_start:1575834047:after_script [0Ksection_end:1575834049:after_script [0Ksection_start:1575834049:upload_artifacts_on_failure [0Ksection_end:1575834051:upload_artifacts_on_failure [0K[31;1mERROR: Job failed: exit code 1 [0;m