test
Passed Started
by
@hwittenborn
![](https://gitlab.archlinux.org/uploads/-/system/user/avatar/155/avatar.png)
Hunter Wittenborn
1Running with gitlab-runner 14.5.2 (e91107dd)2 on runner2.archlinux.org pdzw3Afg3 feature flags: FF_USE_FASTZIP:true6Using Docker executor with image archlinux:base-devel ...7Pulling docker image archlinux:base-devel ...8Using docker image sha256:9e9172671207e44c88aacf938e9140348939ac055306584d75d7c8be463d8ee2 for archlinux:base-devel with digest archlinux@sha256:37878e55a8c11034951d014819f14ff13a721bbd62d4bb74d098253fe6a10ca5 ...10Running on runner-pdzw3afg-project-19671-concurrent-0 via runner2.archlinux.org...12Fetching changes with git depth set to 50...13Initialized empty Git repository in /builds/hwittenborn/aurweb/.git/14Created fresh repository.15Checking out ebb33356 as pu...16Skipping Git submodules setup18Checking cache for system-v1...19No URL provided, cache will not be downloaded from shared cache server. Instead a local version of cache will be extracted. 20Successfully extracted cache22Using docker image sha256:9e9172671207e44c88aacf938e9140348939ac055306584d75d7c8be463d8ee2 for archlinux:base-devel with digest archlinux@sha256:37878e55a8c11034951d014819f14ff13a721bbd62d4bb74d098253fe6a10ca5 ...23$ export PATH="$HOME/.poetry/bin:${PATH}"24$ ./docker/scripts/install-deps.sh25==> Generating pacman master key. This may take some time.26gpg: Generating pacman keyring master key...27gpg: key 3814516F97CAA99B marked as ultimately trusted28gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/8BE7ED8BF8771596B5141AD23814516F97CAA99B.rev'29gpg: Done30==> Updating trust database...31gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1032gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1033gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1034gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1035gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1036gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1037gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1038gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1039gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1040gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1041gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1042gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1043gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1044gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1045gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1046gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1047gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1048gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1049gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1050gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1051gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1052gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1053gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1054gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1055gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1056gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1057gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1058gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1059gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 1060gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 1061gpg: marginals needed: 3 completes needed: 1 trust model: pgp62gpg: depth: 0 valid: 2 signed: 6 trust: 0-, 0q, 0n, 0m, 0f, 2u63gpg: depth: 1 valid: 6 signed: 83 trust: 0-, 0q, 0n, 6m, 0f, 0u64gpg: depth: 2 valid: 79 signed: 26 trust: 79-, 0q, 0n, 0m, 0f, 0u65gpg: next trustdb check due at 2022-01-2066==> Updating trust database...67gpg: next trustdb check due at 2022-01-2068==> Appending keys from archlinux.gpg...69==> Locally signing trusted keys in keyring...70 -> Locally signed 6 keys.71==> Importing owner trust values...72==> Updating trust database...73gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1074gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1075gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1076gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1077gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1078gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1079gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1080gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1081gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1082gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1083gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1084gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1085gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1086gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1087gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1088gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1089gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1090gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1091gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1092gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1093gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1094gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1095gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1096gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1097gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1098gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 1099gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10100gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10101gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10102gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10103gpg: marginals needed: 3 completes needed: 1 trust model: pgp104gpg: depth: 0 valid: 2 signed: 6 trust: 0-, 0q, 0n, 0m, 0f, 2u105gpg: depth: 1 valid: 6 signed: 83 trust: 0-, 0q, 0n, 6m, 0f, 0u106gpg: depth: 2 valid: 79 signed: 26 trust: 79-, 0q, 0n, 0m, 0f, 0u107gpg: next trustdb check due at 2022-01-20108:: Synchronizing package databases...109 core downloading...110 extra downloading...111 community downloading...112resolving dependencies...113looking for conflicting packages...114Package (1) Old Version New Version Net Change Download Size115core/archlinux-keyring 20211028-1 20220114-1 0.07 MiB 1.00 MiB116Total Download Size: 1.00 MiB117Total Installed Size: 1.42 MiB118Net Upgrade Size: 0.07 MiB119:: Proceed with installation? [Y/n] 120:: Retrieving packages...121 archlinux-keyring-20220114-1-any downloading...122checking keyring...123checking package integrity...124loading package files...125checking for file conflicts...126:: Processing package changes...127upgrading archlinux-keyring...128==> Appending keys from archlinux.gpg...129==> Disabling revoked keys in keyring...130 -> Disabled 3 keys.131==> Updating trust database...132gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10133gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10134gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10135gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10136gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10137gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10138gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10139gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10140gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10141gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10142gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10143gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10144gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10145gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10146gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10147gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10148gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10149gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10150gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10151gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10152gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10153gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10154gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10155gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10156gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10157gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10158gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10159gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10160gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10161gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10162gpg: marginals needed: 3 completes needed: 1 trust model: pgp163gpg: depth: 0 valid: 2 signed: 5 trust: 0-, 0q, 0n, 0m, 0f, 2u164gpg: depth: 1 valid: 5 signed: 94 trust: 0-, 0q, 0n, 5m, 0f, 0u165gpg: depth: 2 valid: 85 signed: 34 trust: 85-, 0q, 0n, 0m, 0f, 0u166gpg: next trustdb check due at 2022-05-06167==> Updating trust database...168gpg: next trustdb check due at 2022-05-06169:: Running post-transaction hooks...170(1/1) Arming ConditionNeedsUpdate...171:: Synchronizing package databases...172 core downloading...173 extra downloading...174 community downloading...175warning: gpgme-1.16.0-3 is up to date -- reinstalling176warning: curl-7.81.0-1 is up to date -- reinstalling177:: Starting full system upgrade...178:: Replace hwids with core/hwdata? [Y/n] 179resolving dependencies...180looking for conflicting packages...181Package (125) Old Version New Version Net Change Download Size182core/bash 5.1.012-1 5.1.016-1 0.00 MiB 1.63 MiB183core/cryptsetup 2.4.2-3 2.4.3-1 0.02 MiB 0.57 MiB184core/dnssec-anchors 20190629-3 0.00 MiB 0.00 MiB185extra/docbook-xml 4.5-9 1.96 MiB 0.09 MiB186extra/docbook-xsl 1.79.2-7 26.32 MiB 0.87 MiB187core/expat 2.4.2-1 2.4.3-1 0.00 MiB 0.11 MiB188extra/geoip 1.6.12-2 0.28 MiB 0.08 MiB189extra/geoip-database 20211221-1 5.50 MiB 2.16 MiB190core/glib2 2.70.2-1 2.70.2-2 0.07 MiB 2.77 MiB191core/hwdata 0.355-1 1.98 MiB 0.46 MiB192hwids 20210613-1 -1.94 MiB 193core/iana-etc 20211203-1 20220110-1 0.00 MiB 0.38 MiB194core/iproute2 5.15.0-2 5.16.0-1 0.03 MiB 1.05 MiB195community/jansson 2.14-1 0.18 MiB 0.04 MiB196extra/jemalloc 1:5.2.1-6 1.60 MiB 0.30 MiB197core/ldns 1.8.1-1 1.87 MiB 0.45 MiB198core/libaio 0.3.112-2 0.02 MiB 0.01 MiB199core/libedit 20210910_3.1-1 0.27 MiB 0.11 MiB200core/libevent 2.1.12-1 1.17 MiB 0.26 MiB201community/libmemcached 1.0.18-4 0.97 MiB 0.33 MiB202core/libnsl 2.0.0-1 0.07 MiB 0.02 MiB203extra/libsysprof-capture 3.42.1-2 0.23 MiB 0.04 MiB204extra/libxml2 2.9.12-6 2.9.12-7 0.00 MiB 1.35 MiB205extra/libxslt 1.1.34-6 2.16 MiB 0.34 MiB206extra/libzip 1.8.0-1 0.42 MiB 0.23 MiB207community/luajit 2.0.5-3 1.04 MiB 0.29 MiB208core/lzo 2.10-3 0.39 MiB 0.08 MiB209extra/mailcap 2.1.53-1 0.11 MiB 0.03 MiB210extra/mariadb-clients 10.6.5-2 44.99 MiB 1.92 MiB211community/oniguruma 6.9.7.1-1 0.84 MiB 0.22 MiB212core/pacman 6.0.1-2 6.0.1-3 -0.05 MiB 0.89 MiB213core/pacman-mirrorlist 20211212-1 20220116-1 0.00 MiB 0.01 MiB214core/pciutils 3.7.0-1 3.7.0-2 0.00 MiB 0.10 MiB215community/pcsclite 1.9.5-1 0.30 MiB 0.10 MiB216extra/perl-error 0.17029-3 0.04 MiB 0.02 MiB217extra/perl-mailtools 2.21-5 0.11 MiB 0.06 MiB218extra/perl-timedate 2.33-3 0.08 MiB 0.03 MiB219core/python 3.10.1-2 53.60 MiB 11.30 MiB220extra/python-appdirs 1.4.4-6 0.07 MiB 0.01 MiB221extra/python-attrs 21.3.0-1 0.45 MiB 0.09 MiB222community/python-cachecontrol 1:0.12.6-4 0.10 MiB 0.03 MiB223community/python-cachy 0.3.0-6 0.18 MiB 0.03 MiB224extra/python-cffi 1.15.0-3 1.02 MiB 0.22 MiB225extra/python-chardet 4.0.0-5 2.10 MiB 0.19 MiB226community/python-cleo 0.8.1-4 0.12 MiB 0.03 MiB227community/python-clikit 0.6.2-5 0.76 MiB 0.14 MiB228community/python-colorama 0.4.4-6 0.08 MiB 0.02 MiB229community/python-contextlib2 0.6.0.post1-6 0.05 MiB 0.02 MiB230community/python-crashtest 0.3.1-5 0.04 MiB 0.01 MiB231extra/python-cryptography 36.0.1-1 4.14 MiB 0.93 MiB232community/python-distlib 0.3.4-1 0.93 MiB 0.18 MiB233community/python-distro 1.6.0-4 0.15 MiB 0.03 MiB234community/python-entrypoints 0.3-8 0.01 MiB 0.01 MiB235community/python-filelock 3.4.0-3 0.05 MiB 0.02 MiB236community/python-html5lib 1.1-11 1.34 MiB 0.21 MiB237extra/python-idna 3.3-3 0.66 MiB 0.09 MiB238community/python-importlib-metadata 4.8.1-3 0.15 MiB 0.03 MiB239community/python-jeepney 0.7.1-3 0.43 MiB 0.08 MiB240community/python-jsonschema 3.2.0-6 0.57 MiB 0.10 MiB241community/python-keyring 23.4.0-1 0.22 MiB 0.05 MiB242community/python-lark-parser 0.12.0-1 0.84 MiB 0.17 MiB243community/python-lockfile 0.12.2-11 0.08 MiB 0.02 MiB244community/python-more-itertools 8.10.0-4 0.32 MiB 0.07 MiB245community/python-msgpack 1.0.3-1 0.25 MiB 0.07 MiB246extra/python-ordered-set 4.0.2-6 0.06 MiB 0.01 MiB247extra/python-packaging 20.9-7 0.18 MiB 0.05 MiB248community/python-parse 1.19.0-3 0.15 MiB 0.03 MiB249community/python-pastel 0.2.1-3 0.03 MiB 0.01 MiB250extra/python-pep517 0.12.0-4 0.13 MiB 0.03 MiB251community/python-pexpect 4.8.0-6 0.31 MiB 0.07 MiB252community/python-pkginfo 1.7.1-3 0.25 MiB 0.05 MiB253extra/python-platformdirs 2.4.1-1 0.12 MiB 0.02 MiB254extra/python-ply 3.11-10 0.31 MiB 0.08 MiB255community/python-progress 1.6-5 0.04 MiB 0.01 MiB256community/python-ptyprocess 0.7.0-4 0.06 MiB 0.02 MiB257extra/python-pycparser 2.21-3 1.39 MiB 0.19 MiB258community/python-pylev 1.4.0-4 0.02 MiB 0.01 MiB259extra/python-pyopenssl 21.0.0-5 0.53 MiB 0.08 MiB260extra/python-pyparsing 2.4.7-6 0.72 MiB 0.12 MiB261community/python-pyrsistent 0.18.1-1 0.48 MiB 0.09 MiB262extra/python-requests 2.26.0-5 0.45 MiB 0.09 MiB263community/python-requests-toolbelt 0.9.1-7 0.38 MiB 0.07 MiB264extra/python-resolvelib 0.5.5-4 0.10 MiB 0.02 MiB265extra/python-retrying 1.3.3-13 0.03 MiB 0.01 MiB266community/python-secretstorage 3.3.1-3 0.09 MiB 0.02 MiB267extra/python-setuptools 1:59.1.1-1 2.95 MiB 0.55 MiB268community/python-shellingham 1.4.0-4 0.04 MiB 0.02 MiB269extra/python-six 1.16.0-5 0.09 MiB 0.02 MiB270community/python-toml 0.10.2-7 0.14 MiB 0.03 MiB271extra/python-tomli 1.2.3-1 0.06 MiB 0.02 MiB272community/python-tomlkit 0.8.0-1 0.34 MiB 0.07 MiB273community/python-typing_extensions 4.0.1-1 0.16 MiB 0.04 MiB274extra/python-urllib3 1.26.7-5 0.70 MiB 0.18 MiB275extra/python-virtualenv 20.11.0-1 6.82 MiB 3.85 MiB276community/python-webencodings 0.5.1-9 0.06 MiB 0.02 MiB277community/python-zipp 3.6.0-3 0.03 MiB 0.01 MiB278core/run-parts 5.5-1 0.04 MiB 0.03 MiB279core/systemd 250.1-1 250.2-2 0.01 MiB 7.17 MiB280core/systemd-libs 250.1-1 250.2-2 0.00 MiB 0.63 MiB281core/systemd-sysvcompat 250.1-1 250.2-2 0.00 MiB 0.01 MiB282community/asciidoc 10.1.1-1 1.72 MiB 0.52 MiB283community/cgit-aurweb 1.2.3-2 1.96 MiB 0.85 MiB284core/cronie 1.5.7-2 0.24 MiB 0.08 MiB285core/curl 7.81.0-1 7.81.0-1 0.00 MiB 1.10 MiB286extra/git 2.34.1-1 32.95 MiB 5.92 MiB287core/gpgme 1.16.0-3 1.16.0-3 0.00 MiB 0.44 MiB288community/libeatmydata 105.r16.g96f8f0e-2 0.02 MiB 0.01 MiB289extra/mariadb 10.6.5-2 237.14 MiB 28.59 MiB290extra/mariadb-libs 10.6.5-2 23.19 MiB 5.57 MiB291extra/memcached 1.6.12-1 0.46 MiB 0.16 MiB292extra/nginx 1.20.2-1 1.60 MiB 0.55 MiB293core/openssh 8.8p1-1 5.90 MiB 0.99 MiB294extra/php 8.0.14-1 24.10 MiB 4.03 MiB295extra/php-fpm 8.0.14-1 16.07 MiB 2.58 MiB296community/php-memcached 3.1.5.r16.gbfb0a66-1 0.11 MiB 0.04 MiB297extra/pyalpm 0.10.6-3 0.17 MiB 0.05 MiB298extra/python-pip 20.3.4-4 1.60 MiB 0.41 MiB299community/python-poetry 1.1.12-3 1.40 MiB 0.28 MiB300community/python-poetry-core 1.0.7-3 0.76 MiB 0.15 MiB301community/python-srcinfo 0.0.8-6 0.01 MiB 0.01 MiB302community/redis 6.2.6-1 2.71 MiB 0.88 MiB303community/step-ca 0.18.0-1 70.01 MiB 12.00 MiB304community/step-cli 0.18.0-1 30.67 MiB 7.58 MiB305community/uwsgi 2.0.20-3 1.09 MiB 0.41 MiB306community/uwsgi-plugin-cgi 2.0.20-3 0.03 MiB 0.01 MiB307Total Download Size: 118.46 MiB308Total Installed Size: 713.57 MiB309Net Upgrade Size: 630.97 MiB310:: Proceed with installation? [Y/n] warning: no .pkg-cache/ cache exists, creating...311:: Retrieving packages...312 mariadb-10.6.5-2-x86_64 downloading...313 step-ca-0.18.0-1-x86_64 downloading...314 python-3.10.1-2-x86_64 downloading...315 step-cli-0.18.0-1-x86_64 downloading...316 systemd-250.2-2-x86_64 downloading...317 git-2.34.1-1-x86_64 downloading...318 mariadb-libs-10.6.5-2-x86_64 downloading...319 php-8.0.14-1-x86_64 downloading...320 python-virtualenv-20.11.0-1-any downloading...321 glib2-2.70.2-2-x86_64 downloading...322 php-fpm-8.0.14-1-x86_64 downloading...323 geoip-database-20211221-1-any downloading...324 mariadb-clients-10.6.5-2-x86_64 downloading...325 bash-5.1.016-1-x86_64 downloading...326 libxml2-2.9.12-7-x86_64 downloading...327 curl-7.81.0-1-x86_64 downloading...328 iproute2-5.16.0-1-x86_64 downloading...329 openssh-8.8p1-1-x86_64 downloading...330 python-cryptography-36.0.1-1-x86_64 downloading...331 pacman-6.0.1-3-x86_64 downloading...332 redis-6.2.6-1-x86_64 downloading...333 docbook-xsl-1.79.2-7-any downloading...334 cgit-aurweb-1.2.3-2-x86_64 downloading...335 systemd-libs-250.2-2-x86_64 downloading...336 cryptsetup-2.4.3-1-x86_64 downloading...337 nginx-1.20.2-1-x86_64 downloading...338 python-setuptools-1:59.1.1-1-any downloading...339 asciidoc-10.1.1-1-any downloading...340 hwdata-0.355-1-any downloading...341 ldns-1.8.1-1-x86_64 downloading...342 gpgme-1.16.0-3-x86_64 downloading...343 python-pip-20.3.4-4-any downloading...344 uwsgi-2.0.20-3-x86_64 downloading...345 iana-etc-20220110-1-any downloading...346 libxslt-1.1.34-6-x86_64 downloading...347 libmemcached-1.0.18-4-x86_64 downloading...348 jemalloc-1:5.2.1-6-x86_64 downloading...349 luajit-2.0.5-3-x86_64 downloading...350 python-poetry-1.1.12-3-any downloading...351 libevent-2.1.12-1-x86_64 downloading...352 libzip-1.8.0-1-x86_64 downloading...353 python-cffi-1.15.0-3-x86_64 downloading...354 oniguruma-6.9.7.1-1-x86_64 downloading...355 python-html5lib-1.1-11-any downloading...356 python-chardet-4.0.0-5-any downloading...357 python-pycparser-2.21-3-any downloading...358 python-urllib3-1.26.7-5-any downloading...359 python-distlib-0.3.4-1-any downloading...360 python-lark-parser-0.12.0-1-any downloading...361 memcached-1.6.12-1-x86_64 downloading...362 python-poetry-core-1.0.7-3-any downloading...363 python-clikit-0.6.2-5-any downloading...364 python-pyparsing-2.4.7-6-any downloading...365 expat-2.4.3-1-x86_64 downloading...366 libedit-20210910_3.1-1-x86_64 downloading...367 python-jsonschema-3.2.0-6-any downloading...368 pcsclite-1.9.5-1-x86_64 downloading...369 pciutils-3.7.0-2-x86_64 downloading...370 python-requests-2.26.0-5-any downloading...371 python-pyrsistent-0.18.1-1-x86_64 downloading...372 python-idna-3.3-3-any downloading...373 docbook-xml-4.5-9-any downloading...374 python-attrs-21.3.0-1-any downloading...375 geoip-1.6.12-2-x86_64 downloading...376 cronie-1.5.7-2-x86_64 downloading...377 python-jeepney-0.7.1-3-any downloading...378 python-pyopenssl-21.0.0-5-any downloading...379 lzo-2.10-3-x86_64 downloading...380 python-ply-3.11-10-any downloading...381 python-pexpect-4.8.0-6-any downloading...382 python-msgpack-1.0.3-1-x86_64 downloading...383 python-requests-toolbelt-0.9.1-7-any downloading...384 python-tomlkit-0.8.0-1-any downloading...385 python-more-itertools-8.10.0-4-any downloading...386 perl-mailtools-2.21-5-any downloading...387 python-keyring-23.4.0-1-any downloading...388 python-packaging-20.9-7-any downloading...389 python-pkginfo-1.7.1-3-any downloading...390 pyalpm-0.10.6-3-x86_64 downloading...391 jansson-2.14-1-x86_64 downloading...392 libsysprof-capture-3.42.1-2-x86_64 downloading...393 php-memcached-3.1.5.r16.gbfb0a66-1-x86_64 downloading...394 python-typing_extensions-4.0.1-1-any downloading...395 perl-timedate-2.33-3-any downloading...396 python-toml-0.10.2-7-any downloading...397 python-importlib-metadata-4.8.1-3-any downloading...398 python-cachy-0.3.0-6-any downloading...399 python-pep517-0.12.0-4-any downloading...400 python-cleo-0.8.1-4-any downloading...401 python-cachecontrol-1:0.12.6-4-any downloading...402 mailcap-2.1.53-1-any downloading...403 run-parts-5.5-1-x86_64 downloading...404 python-parse-1.19.0-3-any downloading...405 python-distro-1.6.0-4-any downloading...406 python-colorama-0.4.4-6-any downloading...407 python-secretstorage-3.3.1-3-any downloading...408 python-resolvelib-0.5.5-4-any downloading...409 python-six-1.16.0-5-any downloading...410 python-platformdirs-2.4.1-1-any downloading...411 python-ptyprocess-0.7.0-4-any downloading...412 perl-error-0.17029-3-any downloading...413 libnsl-2.0.0-1-x86_64 downloading...414 python-tomli-1.2.3-1-any downloading...415 python-lockfile-0.12.2-11-any downloading...416 python-webencodings-0.5.1-9-any downloading...417 python-shellingham-1.4.0-4-any downloading...418 python-contextlib2-0.6.0.post1-6-any downloading...419 python-filelock-3.4.0-3-any downloading...420 python-appdirs-1.4.4-6-any downloading...421 python-progress-1.6-5-any downloading...422 python-ordered-set-4.0.2-6-any downloading...423 python-crashtest-0.3.1-5-any downloading...424 python-pastel-0.2.1-3-any downloading...425 uwsgi-plugin-cgi-2.0.20-3-x86_64 downloading...426 python-retrying-1.3.3-13-any downloading...427 python-zipp-3.6.0-3-any downloading...428 python-pylev-1.4.0-4-any downloading...429 python-srcinfo-0.0.8-6-any downloading...430 pacman-mirrorlist-20220116-1-any downloading...431 python-entrypoints-0.3-8-any downloading...432 libaio-0.3.112-2-x86_64 downloading...433 libeatmydata-105.r16.g96f8f0e-2-x86_64 downloading...434 systemd-sysvcompat-250.2-2-x86_64 downloading...435 dnssec-anchors-20190629-3-any downloading...436checking keyring...437checking package integrity...438loading package files...439checking for file conflicts...440:: Running pre-transaction hooks...441(1/1) Removing old entries from the info directory file...442:: Processing package changes...443removing hwids...444upgrading iana-etc...445upgrading bash...446upgrading systemd-libs...447reinstalling curl...448upgrading expat...449installing perl-error...450installing perl-timedate...451installing perl-mailtools...452installing git...453Optional dependencies for git454 tk: gitk and git gui455 perl-libwww: git svn456 perl-term-readkey: git svn and interactive.singlekey setting457 perl-io-socket-ssl: git send-email TLS support458 perl-authen-sasl: git send-email TLS support459 perl-mediawiki-api: git mediawiki support460 perl-datetime-format-iso8601: git mediawiki support461 perl-lwp-protocol-https: git mediawiki https support462 perl-cgi: gitweb (web interface) support463 python: git svn & git p4 [pending]464 subversion: git svn465 org.freedesktop.secrets: keyring credential helper466 libsecret: libsecret credential helper [installed]467installing libsysprof-capture...468upgrading glib2...469reinstalling gpgme...470installing geoip-database...471installing geoip...472Optional dependencies for geoip473 geoip-database-extra: city/ASN databases (not needed for country lookups)474installing mailcap...475installing nginx...476installing jemalloc...477Optional dependencies for jemalloc478 perl: for jeprof [installed]479installing redis...480installing libedit...481installing dnssec-anchors...482installing ldns...483Optional dependencies for ldns484 libpcap: ldns-dpa tool [installed]485installing openssh...486Optional dependencies for openssh487 xorg-xauth: X11 forwarding488 x11-ssh-askpass: input passphrase in X489 libfido2: FIDO/U2F support490installing libaio...491installing lzo...492installing mariadb-libs...493Optional dependencies for mariadb-libs494 krb5: for gssapi authentication [installed]495installing mariadb-clients...496upgrading libxml2...497installing mariadb...498:: You need to initialize the MariaDB data directory prior to starting499 the service. This can be done with mariadb-install-db command, e.g.:500 mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql501Optional dependencies for mariadb502 cracklib: for cracklib plugin503 curl: for ha_s3 plugin [installed]504 galera: for MariaDB cluster with Galera WSREP505 judy: for Open Query GRAPH (OQGraph) computation engine506 python-mysqlclient: for myrocks_hotbackup507 perl-dbd-mariadb: for mariadb-hotcopy, mariadb-convert-table-format and mariadb-setpermission508installing luajit...509installing cgit-aurweb...510changed ownership of 'var/cache/cgit-aurweb' from root:root to http:http511==> cgit looks at /etc/cgitrc for configuration. There is512==> an example configuration file in the cgitrc(5) man page.513Optional dependencies for cgit-aurweb514 groff: about page using man page syntax [installed]515 python-pygments: syntax highlighting support516 python-docutils: about page formatted with reStructuredText517 python-markdown: about page formatted with markdown518 gzip: gzip compressed snapshots [installed]519 bzip2: bzip2 compressed snapshots [installed]520 lzip: lzip compressed snapshots521 xz: xz compressed snapshots [installed]522 zstd: zstd compressed snapshots [installed]523 mime-types: serve file with correct content-type header [installed]524installing jansson...525installing uwsgi...526installing uwsgi-plugin-cgi...527installing libzip...528installing oniguruma...529installing php...530upgrading cryptsetup...531installing hwdata...532upgrading systemd...533Creating group 'uwsgi' with GID 53.534Creating group 'git' with GID 975.535Creating user 'git' (git daemon user) with UID 975 and GID 975.536Creating group 'mysql' with GID 974.537Creating user 'mysql' (MariaDB) with UID 974 and GID 974.538Creating group 'redis' with GID 973.539Creating user 'redis' (Redis in-memory data structure store) with UID 973 and GID 973.540installing php-fpm...541installing libevent...542Optional dependencies for libevent543 python: to use event_rpcgen.py [pending]544installing memcached...545Optional dependencies for memcached546 perl: for memcached-tool usage [installed]547installing libmemcached...548installing php-memcached...549installing libnsl...550installing python...551Optional dependencies for python552 python-setuptools [pending]553 python-pip [pending]554 sqlite [installed]555 mpdecimal: for decimal556 xz: for lzma [installed]557 tk: for tkinter558installing python-appdirs...559installing python-msgpack...560installing python-urllib3...561Optional dependencies for python-urllib3562 python-pysocks: SOCKS support563 python-brotli: Brotli support564 python-pyopenssl: security support [pending]565 python-idna: security support [pending]566installing python-chardet...567installing python-idna...568installing python-requests...569Optional dependencies for python-requests570 python-pysocks: SOCKS proxy support571installing python-cachecontrol...572Optional dependencies for python-cachecontrol573 python-lockfile: for the FileCache [pending]574installing python-colorama...575installing python-contextlib2...576installing python-distlib...577installing python-more-itertools...578installing python-ordered-set...579installing python-pyparsing...580installing python-six...581installing python-packaging...582installing python-setuptools...583installing python-distro...584installing python-webencodings...585installing python-html5lib...586Optional dependencies for python-html5lib587 python-lxml: lxml treebuilder588 python-genshi: genshi treewalker589installing python-tomli...590installing python-pep517...591installing python-progress...592installing python-retrying...593installing python-resolvelib...594installing python-toml...595installing python-ply...596installing python-pycparser...597installing python-cffi...598installing python-cryptography...599installing python-pyopenssl...600installing python-pip...601upgrading pacman-mirrorlist...602warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew603upgrading pacman...604installing pyalpm...605installing python-parse...606installing python-srcinfo...607installing libeatmydata...608installing run-parts...609installing cronie...610Optional dependencies for cronie611 smtp-server: send job output via email612 smtp-forwarder: forward job output to email server613installing python-cachy...614installing python-crashtest...615installing python-pastel...616installing python-pylev...617installing python-typing_extensions...618installing python-clikit...619installing python-cleo...620installing python-entrypoints...621installing python-jeepney...622installing python-secretstorage...623installing python-zipp...624installing python-importlib-metadata...625installing python-keyring...626Optional dependencies for python-keyring627 python-keyrings-alt: Alternative backends628 python-dbus: kwallet backend629installing python-lockfile...630installing python-ptyprocess...631installing python-pexpect...632installing python-pkginfo...633installing python-attrs...634installing python-pyrsistent...635installing python-jsonschema...636installing python-lark-parser...637installing python-tomlkit...638installing python-poetry-core...639installing python-requests-toolbelt...640installing python-shellingham...641installing python-platformdirs...642installing python-filelock...643installing python-virtualenv...644installing python-poetry...645installing step-cli...646Optional dependencies for step-cli647 step-ca: setup CA/SSO/ACME server [pending]648installing pcsclite...649installing step-ca...650installing libxslt...651installing docbook-xml...652installing docbook-xsl...653installing asciidoc...654Optional dependencies for asciidoc655 graphviz: graphviz-filter656 lilypond: music-filter657 imagemagick: music-filter658 source-highlight: source-highlight-filter659 dblatex: pdf generation660 fop: alternative pdf generation661 w3m: text generation662 lynx: alternative text generation663upgrading iproute2...664upgrading pciutils...665upgrading systemd-sysvcompat...666:: Running post-transaction hooks...667( 1/10) Creating system user accounts...668Creating group 'memcached' with GID 972.669Creating user 'memcached' (n/a) with UID 972 and GID 972.670( 2/10) Updating journal message catalog...671( 3/10) Reloading system manager configuration...672 Skipped: Current root is not booted.673( 4/10) Updating udev hardware database...674( 5/10) Applying kernel sysctl settings...675 Skipped: Current root is not booted.676( 6/10) Creating temporary files...677/usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc detected, skipping678All rules containing unresolvable specifiers will be skipped.679Failed to adjust quota for subvolume "/var/lib/portables": Operation not permitted680Failed to adjust quota for subvolume "/var/lib/machines": Operation not permitted681error: command failed to execute correctly682( 7/10) Reloading device manager configuration...683 Skipped: Device manager is not running.684( 8/10) Arming ConditionNeedsUpdate...685( 9/10) Reloading system bus configuration...686 Skipped: Current root is not booted.687(10/10) Warn about old perl modules688$ ./docker/scripts/install-python-deps.sh689Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (20.3.4)690Collecting pip691 Downloading pip-21.3.1-py3-none-any.whl (1.7 MB)692Installing collected packages: pip693 Attempting uninstall: pip694 Found existing installation: pip 20.3.4695 Uninstalling pip-20.3.4:696 Successfully uninstalled pip-20.3.4697Successfully installed pip-21.3.1698Skipping virtualenv creation, as specified in config file.699Installing dependencies from lock file700Package operations: 71 installs, 6 updates, 3 removals701 • Removing colorama (0.4.4)702 • Removing importlib-metadata (4.10.0)703 • Removing zipp (3.7.0)704 • Updating pyparsing (2.4.7 -> 3.0.6)705 • Installing sniffio (1.2.0)706 • Installing anyio (3.4.0)707 • Updating attrs (21.3.0 -> 21.4.0)708 • Installing iniconfig (1.1.1)709 • Updating packaging (20.9 -> 21.3)710 • Installing pluggy (1.0.0)711 • Installing py (1.11.0)712 • Installing greenlet (1.1.2)713 • Installing h11 (0.12.0)714 • Installing hpack (4.0.0)715 • Installing hyperframe (6.0.1)716 • Installing markupsafe (2.0.1)717 • Installing pydantic (1.9.0)718 • Installing starlette (0.17.1)719 • Installing pytest (6.2.5)720 • Updating tomli (1.2.3 -> 2.0.0)721 • Installing asgiref (3.4.1)722 • Installing certifi (2021.10.8)723 • Installing charset-normalizer (2.0.10)724 • Installing click (8.0.3)725 • Installing coverage (6.2)726 • Installing dnspython (2.1.0)727 • Installing dunamai (1.7.0)728 • Installing fastapi (0.71.0)729 • Installing execnet (1.9.0)730 • Installing httpcore (0.13.7)731 • Installing jinja2 (3.0.3)732 • Installing mako (1.1.6)733 • Installing h2 (4.1.0)734 • Installing priority (2.0.0)735 • Installing lxml (4.7.1)736 • Installing prometheus-client (0.12.0)737 • Installing pyflakes (2.4.0)738 • Installing pycodestyle (2.8.0)739 • Installing pytest-forked (1.4.0)740 • Installing mccabe (0.6.1)741 • Installing python-dateutil (2.8.2)742 • Installing redis (3.5.3)743 • Installing rfc3986 (1.5.0)744 • Installing sortedcontainers (2.4.0)745 • Installing sqlalchemy (1.4.29)746 • Installing tap.py (3.1)747 • Installing wsproto (1.0.0)748 • Installing aiofiles (0.7.0)749 • Installing alembic (1.7.5)750 • Installing authlib (0.15.5)751 • Installing bcrypt (3.2.0)752 • Installing bleach (4.1.0)753 • Installing email-validator (1.1.3)754 • Installing fakeredis (1.7.0)755 • Installing feedgen (0.9.0)756 • Updating filelock (3.4.0 -> 3.4.2)757 • Installing flake8 (4.0.1)758 • Installing gunicorn (20.1.0)759 • Installing httpx (0.20.0)760 • Installing hypercorn (0.11.2)761 • Installing isort (5.10.1)762 • Installing itsdangerous (2.0.1)763 • Installing markdown (3.3.6)764 • Installing mysqlclient (2.1.0)765 • Installing mysql-connector (2.2.9)766 • Installing orjson (3.6.5)767 • Installing paginate (0.5.6)768 • Installing poetry-dynamic-versioning (0.13.1)769 • Installing posix-ipc (1.0.5)770 • Installing prometheus-fastapi-instrumentator (5.7.1)771 • Installing protobuf (3.19.1)772 • Installing pygit2 (1.7.2)773 • Installing pytest-asyncio (0.16.0)774 • Installing pytest-cov (3.0.0)775 • Installing pytest-tap (3.3)776 • Installing pytest-xdist (2.5.0)777 • Installing python-multipart (0.0.5)778 • Updating requests (2.26.0 -> 2.27.1)779 • Installing uvicorn (0.15.0)780 • Installing werkzeug (2.0.2)781Installing the current project: aurweb (5.0.0)782$ useradd -U -d /aurweb -c 'AUR User' aur783$ ./docker/mariadb-entrypoint.sh784Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...785OK786To start mysqld at boot time you have to copy787support-files/mysql.server to the right place for your system788Two all-privilege accounts were created.789One is root@localhost, it has no password, but you need to790be system 'root' user to connect. Use, for example, sudo mysql791The second is mysql@localhost, it has no password either, but792you need to be the system 'mysql' user to connect.793After connecting you can set the password, if you would need to be794able to connect as any of these users with a password and without sudo795See the MariaDB Knowledgebase at https://mariadb.com/kb or the796MySQL manual for more instructions.797You can start the MariaDB daemon with:798cd '/usr' ; /usr/bin/mysqld_safe --datadir='/var/lib/mysql'799You can test the MariaDB daemon with mysql-test-run.pl800cd '/usr/mysql-test' ; perl mysql-test-run.pl801Please report any problems at https://mariadb.org/jira802The latest information about MariaDB is available at https://mariadb.org/.803You can find additional information about the MySQL part at:805Consider joining MariaDB's strong and vibrant community:807220118 04:11:37 mysqld_safe Logging to '/var/lib/mysql/runner-pdzw3afg-project-19671-concurrent-0.err'.808220118 04:11:37 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql809mysqld is alive810Taking care of primary database 'aurweb'...811$ (cd '/usr' && /usr/bin/mysqld_safe --datadir='/var/lib/mysql') &812$ until : > /dev/tcp/127.0.0.1/3306; do sleep 1s; done813/usr/bin/bash: connect: Connection refused814/usr/bin/bash: line 137: /dev/tcp/127.0.0.1/3306: Connection refused815220118 04:11:39 mysqld_safe Logging to '/var/lib/mysql/runner-pdzw3afg-project-19671-concurrent-0.err'.816220118 04:11:39 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql817$ cp -v conf/config.dev conf/config818'conf/config.dev' -> 'conf/config'819$ sed -i "s;YOUR_AUR_ROOT;$(pwd);g" conf/config820$ ./docker/test-mysql-entrypoint.sh821'logging.test.conf' -> 'logging.conf'822$ cp -vf logging.test.conf logging.conf823'logging.test.conf' -> 'logging.conf'824$ make -C po all install825make: Entering directory '/builds/hwittenborn/aurweb/po'826msgfmt --check -o ar.mo ar.po827msgfmt --check -o ast.mo ast.po828msgfmt --check -o ca.mo ca.po829msgfmt --check -o cs.mo cs.po830msgfmt --check -o da.mo da.po831msgfmt --check -o de.mo de.po832msgfmt --check -o el.mo el.po833msgfmt --check -o es.mo es.po834msgfmt --check -o es_419.mo es_419.po835msgfmt --check -o fi.mo fi.po836msgfmt --check -o fr.mo fr.po837msgfmt --check -o he.mo he.po838msgfmt --check -o hr.mo hr.po839msgfmt --check -o hu.mo hu.po840msgfmt --check -o it.mo it.po841msgfmt --check -o ja.mo ja.po842msgfmt --check -o nb.mo nb.po843msgfmt --check -o nl.mo nl.po844msgfmt --check -o pl.mo pl.po845msgfmt --check -o pt_BR.mo pt_BR.po846msgfmt --check -o pt_PT.mo pt_PT.po847msgfmt --check -o ro.mo ro.po848msgfmt --check -o ru.mo ru.po849msgfmt --check -o sk.mo sk.po850msgfmt --check -o sr.mo sr.po851msgfmt --check -o tr.mo tr.po852msgfmt --check -o uk.mo uk.po853msgfmt --check -o zh_CN.mo zh_CN.po854msgfmt --check -o zh_TW.mo zh_TW.po855for l in ar ast ca cs da de el es es_419 fi fr he hr hu it ja nb nl pl pt_BR pt_PT ro ru sk sr tr uk zh_CN zh_TW; do mkdir -p ../web/locale/$l/LC_MESSAGES/; done856for l in ar ast ca cs da de el es es_419 fi fr he hr hu it ja nb nl pl pt_BR pt_PT ro ru sk sr tr uk zh_CN zh_TW; do cp $l.mo ../web/locale/$l/LC_MESSAGES/aurweb.mo; done857make: Leaving directory '/builds/hwittenborn/aurweb/po'858$ make -C doc859make: Entering directory '/builds/hwittenborn/aurweb/doc'860asciidoc rpc.txt861make: Leaving directory '/builds/hwittenborn/aurweb/doc'862$ make -C test clean863make: Entering directory '/builds/hwittenborn/aurweb/test'864rm -f -r test-results/865rm -f ../.coverage866make: Leaving directory '/builds/hwittenborn/aurweb/test'867$ make -C test sh868make: Entering directory '/builds/hwittenborn/aurweb/test'869*** t1100-git-auth.t ***870expecting success: 871 cover "$GIT_AUTH" "$AUTH_KEYTYPE_USER" "$AUTH_KEYTEXT_USER" >out &&872 grep -q AUR_USER=user out &&873 grep -q AUR_PRIVILEGED=0 out874ok 1 - Test basic authentication.875expecting success: 876 cover "$GIT_AUTH" "$AUTH_KEYTYPE_TU" "$AUTH_KEYTEXT_TU" >out &&877 grep -q AUR_USER=tu out &&878 grep -q AUR_PRIVILEGED=1 out879ok 2 - Test Trusted User authentication.880expecting success: 881 test_must_fail cover "$GIT_AUTH" ssh-xxx "$AUTH_KEYTEXT_USER"882ok 3 - Test authentication with an unsupported key type.883expecting success: 884 cover "$GIT_AUTH" "$AUTH_KEYTYPE_MISSING" "$AUTH_KEYTEXT_MISSING" >out885 test_must_be_empty out886ok 4 - Test authentication with a wrong key.887# passed all 4 test(s)8881..4889*** t1200-git-serve.t ***890expecting success: 891 cover "$GIT_SERVE" 2>&1 | grep -q "Interactive shell is disabled."892ok 1 - Test interactive shell.893expecting success: 894 SSH_ORIGINAL_COMMAND=help cover "$GIT_SERVE" 2>actual &&895 save_IFS=$IFS896 IFS=897 while read -r line; do898 echo $line | grep -q "^Commands:$" && continue899 echo $line | grep -q "^ [a-z]" || return 1900 [ ${#line} -le 80 ] || return 1901 done <actual902 IFS=$save_IFS903ok 2 - Test help.904expecting success: 905 mv config config.old &&906 sed "s/^\(enable-maintenance = \)0$/\\11/" config.old >config &&907 test_must_fail \908 env SSH_ORIGINAL_COMMAND=help \909 cover "$GIT_SERVE" 2>actual &&910 cat >expected <<-EOF &&911 The AUR is down due to maintenance. We will be back soon.912 EOF913 test_cmp expected actual &&914 mv config.old config915ok 3 - Test maintenance mode.916expecting success: 917 SSH_ORIGINAL_COMMAND=help AUR_USER=user cover "$GIT_SERVE" 2>actual &&918 cat >expected <<-EOF &&919 1.2.3.4920 EOF921 echo "SELECT LastSSHLoginIPAddress FROM Users WHERE UserName = \"user\";" | \922 sqlite3 aur.db >actual &&923 test_cmp expected actual924ok 4 - Test IP address logging.925expecting success: 926 SSH_CLIENT_ORIG="$SSH_CLIENT" &&927 SSH_CLIENT="1.3.3.7 1337 22" &&928 test_must_fail \929 env SSH_ORIGINAL_COMMAND=help \930 cover "$GIT_SERVE" 2>actual &&931 cat >expected <<-EOF &&932 The SSH interface is disabled for your IP address.933 EOF934 test_cmp expected actual &&935 SSH_CLIENT="$SSH_CLIENT_ORIG"936ok 5 - Test IP address bans.937expecting success: 938 SSH_ORIGINAL_COMMAND="setup-repo foobar" AUR_USER=user \939 cover "$GIT_SERVE" 2>&1 &&940 SSH_ORIGINAL_COMMAND="setup-repo foobar2" AUR_USER=tu \941 cover "$GIT_SERVE" 2>&1 &&942 cat >expected <<-EOF &&943 *foobar944 EOF945 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user \946 cover "$GIT_SERVE" 2>&1 >actual &&947 test_cmp expected actual948warning: setup-repo is deprecated. Use `git push` to create new repositories.949warning: setup-repo is deprecated. Use `git push` to create new repositories.950ok 6 - Test setup-repo and list-repos.951expecting success: 952 cat >expected <<-EOF &&953 user954 foobar955 foobar956 EOF957 SSH_ORIGINAL_COMMAND="git-receive-pack /foobar.git/" \958 AUR_USER=user AUR_PRIVILEGED=0 \959 cover "$GIT_SERVE" 2>&1 >actual &&960 test_cmp expected actual961ok 7 - Test git-receive-pack.962expecting success: 963 test_must_fail \964 env SSH_ORIGINAL_COMMAND="git-receive-pack /!.git/" \965 AUR_USER=user AUR_PRIVILEGED=0 \966 cover "$GIT_SERVE" 2>&1 >actual967git-receive-pack: invalid repository name: !968ok 8 - Test git-receive-pack with an invalid repository name.969expecting success: 970 cat >expected <<-EOF &&971 user972 foobar973 foobar974 EOF975 SSH_ORIGINAL_COMMAND="git-upload-pack /foobar.git/" \976 AUR_USER=user AUR_PRIVILEGED=0 \977 cover "$GIT_SERVE" 2>&1 >actual &&978 test_cmp expected actual979ok 9 - Test git-upload-pack.980expecting success: 981 cat >expected <<-EOF &&982 user983 foobar2984 foobar2985 EOF986 SSH_ORIGINAL_COMMAND="git-upload-pack /foobar2.git/" \987 AUR_USER=user AUR_PRIVILEGED=0 \988 cover "$GIT_SERVE" 2>&1 >actual &&989 test_cmp expected actual990ok 10 - Try to pull from someone else's repository.991expecting success: 992 test_must_fail \993 env SSH_ORIGINAL_COMMAND="git-receive-pack /foobar2.git/" \994 AUR_USER=user AUR_PRIVILEGED=0 \995 cover "$GIT_SERVE" 2>&1996git-receive-pack: permission denied: user997ok 11 - Try to push to someone else's repository.998expecting success: 999 cat >expected <<-EOF &&1000 tu1001 foobar1002 foobar1003 EOF1004 SSH_ORIGINAL_COMMAND="git-receive-pack /foobar.git/" \1005 AUR_USER=tu AUR_PRIVILEGED=1 \1006 cover "$GIT_SERVE" 2>&1 >actual &&1007 test_cmp expected actual1008ok 12 - Try to push to someone else's repository as Trusted User.1009expecting success: 1010 echo "DELETE FROM PackageBases WHERE Name = \"foobar\";" | \1011 sqlite3 aur.db &&1012 cat >expected <<-EOF &&1013 user1014 foobar1015 EOF1016 SSH_ORIGINAL_COMMAND="restore foobar" AUR_USER=user AUR_PRIVILEGED=0 \1017 cover "$GIT_SERVE" 2>&1 >actual1018 test_cmp expected actual1019ok 13 - Test restore.1020expecting success: 1021 test_must_fail \1022 env SSH_ORIGINAL_COMMAND="restore foobar2"\1023 AUR_USER=user AUR_PRIVILEGED=0 \1024 cover "$GIT_SERVE" 2>&11025restore: package base already exists: foobar21026ok 14 - Try to restore an existing package base.1027expecting success: 1028 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=tu AUR_PRIVILEGED=1 \1029 cover "$GIT_SERVE" 2>&1 &&1030 SSH_ORIGINAL_COMMAND="disown foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1031 cover "$GIT_SERVE" 2>&1 &&1032 cat >expected <<-EOF &&1033 EOF1034 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user AUR_PRIVILEGED=0 \1035 cover "$GIT_SERVE" 2>&1 >actual &&1036 test_cmp expected actual &&1037 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=tu AUR_PRIVILEGED=1 \1038 cover "$GIT_SERVE" 2>&1 >actual &&1039 test_cmp expected actual1040ok 15 - Disown all package bases.1041expecting success: 1042 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=user AUR_PRIVILEGED=0 \1043 cover "$GIT_SERVE" 2>&1 &&1044 cat >expected <<-EOF &&1045 *foobar1046 EOF1047 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user AUR_PRIVILEGED=0 \1048 cover "$GIT_SERVE" 2>&1 >actual &&1049 test_cmp expected actual1050ok 16 - Adopt a package base as a regular user.1051expecting success: 1052 test_must_fail \1053 env SSH_ORIGINAL_COMMAND="adopt foobar" \1054 AUR_USER=user AUR_PRIVILEGED=0 \1055 cover "$GIT_SERVE" 2>&11056adopt: permission denied: user1057ok 17 - Adopt an already adopted package base.1058expecting success: 1059 SSH_ORIGINAL_COMMAND="adopt foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1060 cover "$GIT_SERVE" 2>&1 &&1061 cat >expected <<-EOF &&1062 *foobar21063 EOF1064 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=tu AUR_PRIVILEGED=1 \1065 cover "$GIT_SERVE" 2>&1 >actual &&1066 test_cmp expected actual1067ok 18 - Adopt a package base as a Trusted User.1068expecting success: 1069 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=user AUR_PRIVILEGED=0 \1070 cover "$GIT_SERVE" 2>&1 &&1071 cat >expected <<-EOF &&1072 EOF1073 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user AUR_PRIVILEGED=0 \1074 cover "$GIT_SERVE" 2>&1 >actual &&1075 test_cmp expected actual1076ok 19 - Disown one's own package base as a regular user.1077expecting success: 1078 SSH_ORIGINAL_COMMAND="disown foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1079 cover "$GIT_SERVE" 2>&1 &&1080 cat >expected <<-EOF &&1081 EOF1082 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=tu AUR_PRIVILEGED=1 \1083 cover "$GIT_SERVE" 2>&1 >actual &&1084 test_cmp expected actual1085ok 20 - Disown one's own package base as a Trusted User.1086expecting success: 1087 SSH_ORIGINAL_COMMAND="adopt foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1088 cover "$GIT_SERVE" 2>&1 &&1089 test_must_fail \1090 env SSH_ORIGINAL_COMMAND="adopt foobar2" \1091 AUR_USER=user AUR_PRIVILEGED=0 \1092 cover "$GIT_SERVE" 2>&1 &&1093 cat >expected <<-EOF &&1094 EOF1095 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user AUR_PRIVILEGED=0 \1096 cover "$GIT_SERVE" 2>&1 >actual &&1097 test_cmp expected actual &&1098 cat >expected <<-EOF &&1099 *foobar21100 EOF1101 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=tu AUR_PRIVILEGED=1 \1102 cover "$GIT_SERVE" 2>&1 >actual &&1103 test_cmp expected actual &&1104 SSH_ORIGINAL_COMMAND="disown foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1105 cover "$GIT_SERVE" 2>&11106adopt: permission denied: user1107ok 21 - Try to steal another user's package as a regular user.1108expecting success: 1109 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=user AUR_PRIVILEGED=0 \1110 cover "$GIT_SERVE" 2>&1 &&1111 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=tu AUR_PRIVILEGED=1 \1112 cover "$GIT_SERVE" 2>&1 &&1113 cat >expected <<-EOF &&1114 EOF1115 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user AUR_PRIVILEGED=0 \1116 cover "$GIT_SERVE" 2>&1 >actual &&1117 test_cmp expected actual &&1118 cat >expected <<-EOF &&1119 *foobar1120 EOF1121 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=tu AUR_PRIVILEGED=1 \1122 cover "$GIT_SERVE" 2>&1 >actual &&1123 test_cmp expected actual &&1124 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=tu AUR_PRIVILEGED=1 \1125 cover "$GIT_SERVE" 2>&11126ok 22 - Try to steal another user's package as a Trusted User.1127expecting success: 1128 SSH_ORIGINAL_COMMAND="adopt foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1129 cover "$GIT_SERVE" 2>&1 &&1130 test_must_fail \1131 env SSH_ORIGINAL_COMMAND="disown foobar2" \1132 AUR_USER=user AUR_PRIVILEGED=0 \1133 cover "$GIT_SERVE" 2>&1 &&1134 cat >expected <<-EOF &&1135 *foobar21136 EOF1137 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=tu AUR_PRIVILEGED=1 \1138 cover "$GIT_SERVE" 2>&1 >actual &&1139 test_cmp expected actual &&1140 SSH_ORIGINAL_COMMAND="disown foobar2" AUR_USER=tu AUR_PRIVILEGED=1 \1141 cover "$GIT_SERVE" 2>&11142disown: permission denied: user1143ok 23 - Try to disown another user's package as a regular user.1144expecting success: 1145 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=user AUR_PRIVILEGED=0 \1146 cover "$GIT_SERVE" 2>&1 &&1147 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=tu AUR_PRIVILEGED=1 \1148 cover "$GIT_SERVE" 2>&1 &&1149 cat >expected <<-EOF &&1150 EOF1151 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user AUR_PRIVILEGED=0 \1152 cover "$GIT_SERVE" 2>&1 >actual &&1153 test_cmp expected actual &&1154 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=tu AUR_PRIVILEGED=1 \1155 cover "$GIT_SERVE" 2>&11156ok 24 - Try to disown another user's package as a Trusted User.1157expecting success: 1158 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=user AUR_PRIVILEGED=0 \1159 cover "$GIT_SERVE" 2>&1 &&1160 SSH_ORIGINAL_COMMAND="set-comaintainers foobar user3 user4" \1161 AUR_USER=user AUR_PRIVILEGED=0 \1162 cover "$GIT_SERVE" 2>&1 &&1163 cat >expected <<-EOF &&1164 5|3|11165 6|3|21166 EOF1167 echo "SELECT * FROM PackageComaintainers ORDER BY Priority;" | \1168 sqlite3 aur.db >actual &&1169 test_cmp expected actual1170ok 25 - Adopt a package base and add co-maintainers.1171expecting success: 1172 SSH_ORIGINAL_COMMAND="set-comaintainers foobar user2 user3 user4" \1173 AUR_USER=user AUR_PRIVILEGED=0 \1174 cover "$GIT_SERVE" 2>&1 &&1175 cat >expected <<-EOF &&1176 4|3|11177 5|3|21178 6|3|31179 EOF1180 echo "SELECT * FROM PackageComaintainers ORDER BY Priority;" | \1181 sqlite3 aur.db >actual &&1182 test_cmp expected actual1183ok 26 - Update package base co-maintainers.1184expecting success: 1185 test_must_fail \1186 env SSH_ORIGINAL_COMMAND="set-comaintainers foobar2 user2 user3 user4" \1187 AUR_USER=user AUR_PRIVILEGED=0 \1188 cover "$GIT_SERVE" 2>&1 &&1189 cat >expected <<-EOF &&1190 4|3|11191 5|3|21192 6|3|31193 EOF1194 echo "SELECT * FROM PackageComaintainers ORDER BY Priority;" | \1195 sqlite3 aur.db >actual &&1196 test_cmp expected actual1197set-comaintainers: permission denied: user1198ok 27 - Try to add co-maintainers to an orphan package base.1199expecting success: 1200 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=user AUR_PRIVILEGED=0 \1201 cover "$GIT_SERVE" 2>&1 &&1202 cat >expected <<-EOF &&1203 *foobar1204 EOF1205 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user2 AUR_PRIVILEGED=0 \1206 cover "$GIT_SERVE" 2>&1 >actual &&1207 test_cmp expected actual &&1208 cat >expected <<-EOF &&1209 5|3|11210 6|3|21211 EOF1212 echo "SELECT * FROM PackageComaintainers ORDER BY Priority;" | \1213 sqlite3 aur.db >actual &&1214 test_cmp expected actual1215ok 28 - Disown a package base and check (co-)maintainer list.1216expecting success: 1217 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=tu AUR_PRIVILEGED=1 \1218 cover "$GIT_SERVE" 2>&1 &&1219 cat >expected <<-EOF &&1220 EOF1221 SSH_ORIGINAL_COMMAND="list-repos" AUR_USER=user3 AUR_PRIVILEGED=0 \1222 cover "$GIT_SERVE" 2>&1 >actual &&1223 test_cmp expected actual &&1224 cat >expected <<-EOF &&1225 EOF1226 echo "SELECT * FROM PackageComaintainers ORDER BY Priority;" | \1227 sqlite3 aur.db >actual &&1228 test_cmp expected actual1229ok 29 - Force-disown a package base and check (co-)maintainer list.1230expecting success: 1231 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=user AUR_PRIVILEGED=0 \1232 cover "$GIT_SERVE" 2>&1 &&1233 cat <<-EOD | sqlite3 aur.db &&1234 INSERT INTO PackageRequests (ID, ReqTypeID, PackageBaseID, PackageBaseName, UsersID, Comments, ClosureComment) VALUES (1, 2, 3, "foobar", 4, "", "");1235 INSERT INTO PackageRequests (ID, ReqTypeID, PackageBaseID, PackageBaseName, UsersID, Comments, ClosureComment) VALUES (2, 3, 3, "foobar", 5, "", "");1236 INSERT INTO PackageRequests (ID, ReqTypeID, PackageBaseID, PackageBaseName, UsersID, Comments, ClosureComment) VALUES (3, 2, 2, "foobar2", 6, "", "");1237 EOD1238 >sendmail.out &&1239 SSH_ORIGINAL_COMMAND="disown foobar" AUR_USER=user AUR_PRIVILEGED=0 \1240 cover "$GIT_SERVE" 2>&1 &&1241 cat <<-EOD >expected &&1242 Subject: [PRQ#1] Orphan Request for foobar Accepted1243 EOD1244 grep "^Subject.*PRQ" sendmail.out >sendmail.parts &&1245 test_cmp sendmail.parts expected &&1246 cat <<-EOD >expected &&1247 1|2||The user user disowned the package.1248 EOD1249 echo "SELECT ID, Status, ClosedUID, ClosureComment FROM PackageRequests WHERE ClosedTS > 0;" | sqlite3 aur.db >actual &&1250 test_cmp actual expected1251ok 30 - Check whether package requests are closed when disowning.1252expecting success: 1253 SSH_ORIGINAL_COMMAND="flag foobar Because." AUR_USER=user2 AUR_PRIVILEGED=0 \1254 cover "$GIT_SERVE" 2>&1 &&1255 cat >expected <<-EOF &&1256 1|Because.1257 EOF1258 echo "SELECT OutOfDateTS IS NOT NULL, FlaggerComment FROM PackageBases WHERE ID = 3;" | \1259 sqlite3 aur.db >actual &&1260 test_cmp expected actual1261ok 31 - Flag a package base out-of-date.1262expecting success: 1263 SSH_ORIGINAL_COMMAND="unflag foobar" AUR_USER=user2 AUR_PRIVILEGED=0 \1264 cover "$GIT_SERVE" 2>&1 &&1265 cat >expected <<-EOF &&1266 0|Because.1267 EOF1268 echo "SELECT OutOfDateTS IS NOT NULL, FlaggerComment FROM PackageBases WHERE ID = 3;" | \1269 sqlite3 aur.db >actual &&1270 test_cmp expected actual1271ok 32 - Unflag a package base as flagger.1272expecting success: 1273 SSH_ORIGINAL_COMMAND="adopt foobar" AUR_USER=user AUR_PRIVILEGED=0 \1274 cover "$GIT_SERVE" 2>&1 &&1275 SSH_ORIGINAL_COMMAND="flag foobar Because." AUR_USER=user2 AUR_PRIVILEGED=0 \1276 cover "$GIT_SERVE" 2>&1 &&1277 SSH_ORIGINAL_COMMAND="unflag foobar" AUR_USER=user AUR_PRIVILEGED=0 \1278 cover "$GIT_SERVE" 2>&1 &&1279 cat >expected <<-EOF &&1280 0|Because.1281 EOF1282 echo "SELECT OutOfDateTS IS NOT NULL, FlaggerComment FROM PackageBases WHERE ID = 3;" | \1283 sqlite3 aur.db >actual &&1284 test_cmp expected actual1285ok 33 - Unflag a package base as maintainer.1286expecting success: 1287 SSH_ORIGINAL_COMMAND="flag foobar Because." AUR_USER=user2 AUR_PRIVILEGED=0 \1288 cover "$GIT_SERVE" 2>&1 &&1289 SSH_ORIGINAL_COMMAND="unflag foobar" AUR_USER=user3 AUR_PRIVILEGED=0 \1290 cover "$GIT_SERVE" 2>&1 &&1291 cat >expected <<-EOF &&1292 1|Because.1293 EOF1294 echo "SELECT OutOfDateTS IS NOT NULL, FlaggerComment FROM PackageBases WHERE ID = 3;" | \1295 sqlite3 aur.db >actual &&1296 test_cmp expected actual1297ok 34 - Unflag a package base as random user.1298expecting success: 1299 SSH_ORIGINAL_COMMAND="unflag foobar" AUR_USER=user2 AUR_PRIVILEGED=0 \1300 cover "$GIT_SERVE" 2>&1 &&1301 test_must_fail \1302 env SSH_ORIGINAL_COMMAND="flag foobar xx" \1303 AUR_USER=user2 AUR_PRIVILEGED=0 \1304 cover "$GIT_SERVE" 2>&1 &&1305 cat >expected <<-EOF &&1306 0|Because.1307 EOF1308 echo "SELECT OutOfDateTS IS NOT NULL, FlaggerComment FROM PackageBases WHERE ID = 3;" | \1309 sqlite3 aur.db >actual &&1310 test_cmp expected actual1311flag: comment is too short: xx1312ok 35 - Flag using a comment which is too short.1313expecting success: 1314 SSH_ORIGINAL_COMMAND="vote foobar" AUR_USER=user AUR_PRIVILEGED=0 \1315 cover "$GIT_SERVE" 2>&1 &&1316 cat >expected <<-EOF &&1317 3|11318 EOF1319 echo "SELECT PackageBaseID, UsersID FROM PackageVotes;" | \1320 sqlite3 aur.db >actual &&1321 test_cmp expected actual &&1322 cat >expected <<-EOF &&1323 11324 EOF1325 echo "SELECT NumVotes FROM PackageBases WHERE Name = \"foobar\";" | \1326 sqlite3 aur.db >actual &&1327 test_cmp expected actual1328ok 36 - Vote for a package base.1329expecting success: 1330 test_must_fail \1331 env SSH_ORIGINAL_COMMAND="vote foobar" AUR_USER=user AUR_PRIVILEGED=0 \1332 cover "$GIT_SERVE" 2>&1 &&1333 cat >expected <<-EOF &&1334 3|11335 EOF1336 echo "SELECT PackageBaseID, UsersID FROM PackageVotes;" | \1337 sqlite3 aur.db >actual &&1338 test_cmp expected actual &&1339 cat >expected <<-EOF &&1340 11341 EOF1342 echo "SELECT NumVotes FROM PackageBases WHERE Name = \"foobar\";" | \1343 sqlite3 aur.db >actual &&1344 test_cmp expected actual1345vote: already voted for package base: foobar1346ok 37 - Vote for a package base twice.1347expecting success: 1348 SSH_ORIGINAL_COMMAND="unvote foobar" AUR_USER=user AUR_PRIVILEGED=0 \1349 cover "$GIT_SERVE" 2>&1 &&1350 cat >expected <<-EOF &&1351 EOF1352 echo "SELECT PackageBaseID, UsersID FROM PackageVotes;" | \1353 sqlite3 aur.db >actual &&1354 test_cmp expected actual &&1355 cat >expected <<-EOF &&1356 01357 EOF1358 echo "SELECT NumVotes FROM PackageBases WHERE Name = \"foobar\";" | \1359 sqlite3 aur.db >actual &&1360 test_cmp expected actual1361ok 38 - Remove vote from a package base.1362expecting success: 1363 test_must_fail \1364 env SSH_ORIGINAL_COMMAND="unvote foobar" \1365 AUR_USER=user AUR_PRIVILEGED=0 \1366 cover "$GIT_SERVE" 2>&1 &&1367 cat >expected <<-EOF &&1368 EOF1369 echo "SELECT PackageBaseID, UsersID FROM PackageVotes;" | \1370 sqlite3 aur.db >actual &&1371 test_cmp expected actual &&1372 cat >expected <<-EOF &&1373 01374 EOF1375 echo "SELECT NumVotes FROM PackageBases WHERE Name = \"foobar\";" | \1376 sqlite3 aur.db >actual &&1377 test_cmp expected actual1378unvote: missing vote for package base: foobar1379ok 39 - Try to remove the vote again.1380# passed all 39 test(s)13811..391382*** t1300-git-update.t ***1383expecting success: 1384 old=0000000000000000000000000000000000000000 &&1385 new=$(git -C aur.git rev-parse HEAD^) &&1386 AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1387 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&1 &&1388 cat >expected <<-EOF &&1389 1|1|foobar|1-1|aurweb test package.|https://aur.archlinux.org/1390 1|GPL1391 1|11392 1|1|python-pygit2|||1393 1|11394 EOF1395 dump_package_info >actual &&1396 test_cmp expected actual1397ok 1 - Test update hook on a fresh repository.1398expecting success: 1399 old=0000000000000000000000000000000000000000 &&1400 test_when_finished "git -C aur.git checkout refs/namespaces/foobar/refs/heads/master" &&1401 git -C aur.git checkout -q refs/namespaces/foobar2/refs/heads/master &&1402 new=$(git -C aur.git rev-parse HEAD) &&1403 AUR_USER=user AUR_PKGBASE=foobar2 AUR_PRIVILEGED=0 \1404 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&1 &&1405 cat >expected <<-EOF &&1406 1|1|foobar|1-1|aurweb test package.|https://aur.archlinux.org/1407 2|2|foobar2|1-1|aurweb test package.|https://aur.archlinux.org/1408 1|GPL1409 2|MIT1410 1|11411 2|21412 1|1|python-pygit2|||1413 2|1|python-pygit2|||1414 1|11415 2|11416 EOF1417 dump_package_info >actual &&1418 test_cmp expected actual1419Switched to branch 'refs/namespaces/foobar/refs/heads/master'1420ok 2 - Test update hook on another fresh repository.1421expecting success: 1422 old=$(git -C aur.git rev-parse HEAD^) &&1423 new=$(git -C aur.git rev-parse HEAD) &&1424 AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1425 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&1 &&1426 cat >expected <<-EOF &&1427 2|2|foobar2|1-1|aurweb test package.|https://aur.archlinux.org/1428 3|1|foobar|1-2|aurweb test package.|https://aur.archlinux.org/1429 1|GPL1430 2|MIT1431 2|21432 3|11433 2|1|python-pygit2|||1434 3|1|python-pygit2|||1435 1|11436 2|11437 EOF1438 dump_package_info >actual &&1439 test_cmp expected actual1440ok 3 - Test update hook on an updated repository.1441expecting success: 1442 AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1443 cover "$GIT_UPDATE" restore 2>&1 &&1444 cat >expected <<-EOF &&1445 2|2|foobar2|1-1|aurweb test package.|https://aur.archlinux.org/1446 3|1|foobar|1-2|aurweb test package.|https://aur.archlinux.org/1447 1|GPL1448 2|MIT1449 2|21450 3|11451 2|1|python-pygit2|||1452 3|1|python-pygit2|||1453 1|11454 2|11455 EOF1456 dump_package_info >actual &&1457 test_cmp expected actual1458ok 4 - Test restore mode.1459expecting success: 1460 cat >expected <<-EOD &&1461 error: restore: repository not found: foobar31462 EOD1463 test_must_fail \1464 env AUR_USER=user AUR_PKGBASE=foobar3 AUR_PRIVILEGED=0 \1465 cover "$GIT_UPDATE" restore >actual 2>&1 &&1466 test_cmp expected actual1467ok 5 - Test restore mode on a non-existent repository.1468expecting success: 1469 old=0000000000000000000000000000000000000000 &&1470 new=$(git -C aur.git rev-parse HEAD) &&1471 cat >expected <<-EOD &&1472 error: pushing to a branch other than master is restricted1473 EOD1474 test_must_fail \1475 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1476 cover "$GIT_UPDATE" refs/heads/pu "$old" "$new" >actual 2>&1 &&1477 test_cmp expected actual1478ok 6 - Pushing to a branch other than master.1479expecting success: 1480 old=$(git -C aur.git rev-parse HEAD) &&1481 new=$(git -C aur.git rev-parse HEAD^) &&1482 cat >expected <<-EOD &&1483 error: denying non-fast-forward (you should pull first)1484 EOD1485 test_must_fail \1486 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1487 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1488 test_cmp expected actual1489ok 7 - Performing a non-fast-forward ref update.1490expecting success: 1491 old=$(git -C aur.git rev-parse HEAD) &&1492 new=$(git -C aur.git rev-parse HEAD^) &&1493 cat >expected <<-EOD &&1494 error: denying non-fast-forward (you should pull first)1495 EOD1496 test_must_fail \1497 env AUR_USER=tu AUR_PKGBASE=foobar AUR_PRIVILEGED=1 \1498 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&1 &&1499 test_cmp expected actual1500error: denying non-fast-forward (you should pull first)1501ok 8 - Performing a non-fast-forward ref update as Trusted User.1502expecting success: 1503 old=$(git -C aur.git rev-parse HEAD) &&1504 new=$(git -C aur.git rev-parse HEAD^) &&1505 cat >expected <<-EOD &&1506 error: denying non-fast-forward (you should pull first)1507 EOD1508 test_must_fail \1509 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 AUR_OVERWRITE=1 \1510 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&1 &&1511 test_cmp expected actual1512error: denying non-fast-forward (you should pull first)1513ok 9 - Performing a non-fast-forward ref update as normal user with AUR_OVERWRITE=1.1514expecting success: 1515 old=$(git -C aur.git rev-parse HEAD) &&1516 new=$(git -C aur.git rev-parse HEAD^) &&1517 AUR_USER=tu AUR_PKGBASE=foobar AUR_PRIVILEGED=1 AUR_OVERWRITE=1 \1518 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&11519ok 10 - Performing a non-fast-forward ref update as Trusted User with AUR_OVERWRITE=1.1520expecting success: 1521 old=$(git -C aur.git rev-parse HEAD) &&1522 test_when_finished "git -C aur.git reset --hard $old" &&1523 git -C aur.git rm -q .SRCINFO &&1524 git -C aur.git commit -q -m "Remove .SRCINFO" &&1525 new=$(git -C aur.git rev-parse HEAD) &&1526 test_must_fail \1527 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1528 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1529 grep -q "^error: missing .SRCINFO$" actual1530HEAD is now at 69f5bba Bump pkgrel1531ok 11 - Removing .SRCINFO.1532expecting success: 1533 old=$(git -C aur.git rev-parse HEAD) &&1534 test_when_finished "git -C aur.git reset --hard $old" &&1535 git -C aur.git rm -q .SRCINFO &&1536 git -C aur.git commit -q -m "Remove .SRCINFO" &&1537 git -C aur.git revert --no-edit HEAD &&1538 new=$(git -C aur.git rev-parse HEAD) &&1539 test_must_fail \1540 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1541 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1542 grep -q "^error: missing .SRCINFO$" actual1543[refs/namespaces/foobar/refs/heads/master 282c22d] Revert "Remove .SRCINFO"1544 Author: A U Thor <author@example.com>1545 Date: Tue Jan 18 04:12:57 2022 +00001546 1 file changed, 10 insertions(+)1547 create mode 100644 .SRCINFO1548HEAD is now at 69f5bba Bump pkgrel1549ok 12 - Removing .SRCINFO with a follow-up fix.1550expecting success: 1551 old=$(git -C aur.git rev-parse HEAD) &&1552 test_when_finished "git -C aur.git reset --hard $old" &&1553 git -C aur.git rm -q PKGBUILD &&1554 git -C aur.git commit -q -m "Remove PKGBUILD" &&1555 new=$(git -C aur.git rev-parse HEAD) &&1556 test_must_fail \1557 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1558 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1559 grep -q "^error: missing PKGBUILD$" actual1560HEAD is now at 69f5bba Bump pkgrel1561ok 13 - Removing PKGBUILD.1562expecting success: 1563 old=$(git -C aur.git rev-parse HEAD) &&1564 test_when_finished "git -C aur.git reset --hard $old" &&1565 mkdir aur.git/subdir &&1566 touch aur.git/subdir/file &&1567 git -C aur.git add subdir/file &&1568 git -C aur.git commit -q -m "Add subdirectory" &&1569 new=$(git -C aur.git rev-parse HEAD) &&1570 test_must_fail \1571 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1572 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1573 grep -q "^error: the repository must not contain subdirectories$" actual1574HEAD is now at 69f5bba Bump pkgrel1575ok 14 - Pushing a tree with a subdirectory.1576expecting success: 1577 old=$(git -C aur.git rev-parse HEAD) &&1578 test_when_finished "git -C aur.git reset --hard $old" &&1579 printf "%256001s" x >aur.git/file &&1580 git -C aur.git add file &&1581 git -C aur.git commit -q -m "Add large blob" &&1582 new=$(git -C aur.git rev-parse HEAD) &&1583 test_must_fail \1584 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1585 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1586 grep -q "^error: maximum blob size (250.00KiB) exceeded$" actual1587HEAD is now at 69f5bba Bump pkgrel1588ok 15 - Pushing a tree with a large blob.1589expecting success: 1590 old=$(git -C aur.git rev-parse HEAD) &&1591 test_when_finished "git -C aur.git reset --hard $old" &&1592 (1593 cd aur.git &&1594 sed "s/\(pkgbase.*\)foobar/\1foobar2/" .SRCINFO >.SRCINFO.new1595 mv .SRCINFO.new .SRCINFO1596 git commit -q -am "Change package base"1597 ) &&1598 new=$(git -C aur.git rev-parse HEAD) &&1599 test_must_fail \1600 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1601 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1602 grep -q "^error: invalid pkgbase: foobar2, expected foobar$" actual1603HEAD is now at 69f5bba Bump pkgrel1604ok 16 - Pushing .SRCINFO with a non-matching package base.1605expecting success: 1606 old=$(git -C aur.git rev-parse HEAD) &&1607 test_when_finished "git -C aur.git reset --hard $old" &&1608 (1609 cd aur.git &&1610 sed "s/=//" .SRCINFO >.SRCINFO.new1611 mv .SRCINFO.new .SRCINFO1612 git commit -q -am "Break .SRCINFO"1613 ) &&1614 new=$(git -C aur.git rev-parse HEAD) &&1615 test_must_fail \1616 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1617 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&11618Traceback (most recent call last):1619 File "/builds/hwittenborn/aurweb/aurweb/git/update.py", line 430, in <module>1620 main()1621 File "/builds/hwittenborn/aurweb/aurweb/git/update.py", line 295, in main1622 (metadata, errors) = srcinfo.parse.parse_srcinfo(metadata_raw)1623 File "/usr/lib/python3.10/site-packages/srcinfo/parse.py", line 81, in parse_srcinfo1624 pkgname = line.split('pkgname =')[1].strip()1625IndexError: list index out of range1626HEAD is now at 69f5bba Bump pkgrel1627ok 17 - Pushing .SRCINFO with invalid syntax.1628expecting success: 1629 old=$(git -C aur.git rev-parse HEAD) &&1630 test_when_finished "git -C aur.git reset --hard $old" &&1631 (1632 cd aur.git &&1633 sed "/pkgver/d" .SRCINFO >.SRCINFO.new1634 mv .SRCINFO.new .SRCINFO1635 git commit -q -am "Remove pkgver"1636 ) &&1637 new=$(git -C aur.git rev-parse HEAD) &&1638 test_must_fail \1639 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1640 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1641 grep -q "^error: missing mandatory field: pkgver$" actual1642HEAD is now at 69f5bba Bump pkgrel1643ok 18 - Pushing .SRCINFO without pkgver.1644expecting success: 1645 old=$(git -C aur.git rev-parse HEAD) &&1646 test_when_finished "git -C aur.git reset --hard $old" &&1647 (1648 cd aur.git &&1649 sed "/pkgrel/d" .SRCINFO >.SRCINFO.new1650 mv .SRCINFO.new .SRCINFO1651 git commit -q -am "Remove pkgrel"1652 ) &&1653 new=$(git -C aur.git rev-parse HEAD) &&1654 test_must_fail \1655 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1656 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1657 grep -q "^error: missing mandatory field: pkgrel$" actual1658HEAD is now at 69f5bba Bump pkgrel1659ok 19 - Pushing .SRCINFO without pkgrel.1660expecting success: 1661 old=$(git -C aur.git rev-parse HEAD) &&1662 test_when_finished "git -C aur.git reset --hard $old" &&1663 (1664 cd aur.git &&1665 sed "s/.*pkgrel.*/\\0\\nepoch = 1/" .SRCINFO >.SRCINFO.new1666 mv .SRCINFO.new .SRCINFO1667 git commit -q -am "Add epoch"1668 ) &&1669 new=$(git -C aur.git rev-parse HEAD) &&1670 AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1671 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" 2>&1 &&1672 cat >expected <<-EOF &&1673 2|2|foobar2|1-1|aurweb test package.|https://aur.archlinux.org/1674 3|1|foobar|1:1-2|aurweb test package.|https://aur.archlinux.org/1675 EOF1676 echo "SELECT * FROM Packages;" | sqlite3 aur.db >actual &&1677 test_cmp expected actual1678HEAD is now at 69f5bba Bump pkgrel1679ok 20 - Pushing .SRCINFO with epoch.1680expecting success: 1681 old=$(git -C aur.git rev-parse HEAD) &&1682 test_when_finished "git -C aur.git reset --hard $old" &&1683 (1684 cd aur.git &&1685 sed "s/\(pkgname.*\)foobar/\1!/" .SRCINFO >.SRCINFO.new1686 mv .SRCINFO.new .SRCINFO1687 git commit -q -am "Change pkgname"1688 ) &&1689 new=$(git -C aur.git rev-parse HEAD) &&1690 test_must_fail \1691 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1692 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1693 grep -q "^error: invalid package name: !$" actual1694HEAD is now at 69f5bba Bump pkgrel1695ok 21 - Pushing .SRCINFO with invalid pkgname.1696expecting success: 1697 old=$(git -C aur.git rev-parse HEAD) &&1698 test_when_finished "git -C aur.git reset --hard $old" &&1699 (1700 cd aur.git &&1701 sed "s/.*pkgrel.*/\\0\\nepoch = !/" .SRCINFO >.SRCINFO.new1702 mv .SRCINFO.new .SRCINFO1703 git commit -q -am "Change epoch"1704 ) &&1705 new=$(git -C aur.git rev-parse HEAD) &&1706 test_must_fail \1707 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1708 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1709 grep -q "^error: invalid epoch: !$" actual1710HEAD is now at 69f5bba Bump pkgrel1711ok 22 - Pushing .SRCINFO with invalid epoch.1712expecting success: 1713 old=$(git -C aur.git rev-parse HEAD) &&1714 url="http://$(printf "%7993s" x | sed "s/ /x/g")/" &&1715 test_when_finished "git -C aur.git reset --hard $old" &&1716 (1717 cd aur.git &&1718 sed "s#.*url.*#\\0\\nurl = $url#" .SRCINFO >.SRCINFO.new1719 mv .SRCINFO.new .SRCINFO1720 git commit -q -am "Change URL"1721 ) &&1722 new=$(git -C aur.git rev-parse HEAD) &&1723 test_must_fail \1724 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1725 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1726 grep -q "^error: url field too long: $url\$" actual1727HEAD is now at 69f5bba Bump pkgrel1728ok 23 - Pushing .SRCINFO with too long URL.1729expecting success: 1730 old=$(git -C aur.git rev-parse HEAD) &&1731 test_when_finished "git -C aur.git reset --hard $old" &&1732 (1733 cd aur.git &&1734 sed "s/.*depends.*/\\0\\ninstall = install/" .SRCINFO >.SRCINFO.new1735 mv .SRCINFO.new .SRCINFO1736 git commit -q -am "Add install field"1737 ) &&1738 new=$(git -C aur.git rev-parse HEAD) &&1739 test_must_fail \1740 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1741 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1742 grep -q "^error: missing install file: install$" actual1743HEAD is now at 69f5bba Bump pkgrel1744ok 24 - Missing install file.1745expecting success: 1746 old=$(git -C aur.git rev-parse HEAD) &&1747 test_when_finished "git -C aur.git reset --hard $old" &&1748 (1749 cd aur.git &&1750 sed "s/.*depends.*/\\0\\nchangelog = changelog/" .SRCINFO >.SRCINFO.new1751 mv .SRCINFO.new .SRCINFO1752 git commit -q -am "Add changelog field"1753 ) &&1754 new=$(git -C aur.git rev-parse HEAD) &&1755 test_must_fail \1756 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1757 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1758 grep -q "^error: missing changelog file: changelog$" actual1759HEAD is now at 69f5bba Bump pkgrel1760ok 25 - Missing changelog file.1761expecting success: 1762 old=$(git -C aur.git rev-parse HEAD) &&1763 test_when_finished "git -C aur.git reset --hard $old" &&1764 (1765 cd aur.git &&1766 sed "s/.*depends.*/\\0\\nsource = file/" .SRCINFO >.SRCINFO.new1767 mv .SRCINFO.new .SRCINFO1768 git commit -q -am "Add file to the source array"1769 ) &&1770 new=$(git -C aur.git rev-parse HEAD) &&1771 test_must_fail \1772 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1773 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1774 grep -q "^error: missing source file: file$" actual1775HEAD is now at 69f5bba Bump pkgrel1776ok 26 - Missing source file.1777expecting success: 1778 old=$(git -C aur.git rev-parse HEAD) &&1779 url="http://$(printf "%7993s" x | sed "s/ /x/g")/" &&1780 test_when_finished "git -C aur.git reset --hard $old" &&1781 (1782 cd aur.git &&1783 sed "s#.*depends.*#\\0\\nsource = $url#" .SRCINFO >.SRCINFO.new1784 mv .SRCINFO.new .SRCINFO1785 git commit -q -am "Add huge source URL"1786 ) &&1787 new=$(git -C aur.git rev-parse HEAD) &&1788 test_must_fail \1789 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1790 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1791 grep -q "^error: source entry too long: $url\$" actual1792HEAD is now at 69f5bba Bump pkgrel1793ok 27 - Pushing .SRCINFO with too long source URL.1794expecting success: 1795 old=$(git -C aur.git rev-parse HEAD) &&1796 test_when_finished "git -C aur.git reset --hard $old" &&1797 echo "pkgname = forbidden" >>aur.git/.SRCINFO &&1798 git -C aur.git commit -q -am "Add blacklisted package" &&1799 new=$(git -C aur.git rev-parse HEAD) &&1800 cat >expected <<-EOD &&1801 error: package is blacklisted: forbidden1802 EOD1803 test_must_fail \1804 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1805 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1806 test_cmp expected actual1807HEAD is now at 69f5bba Bump pkgrel1808ok 28 - Pushing a blacklisted package.1809expecting success: 1810 old=$(git -C aur.git rev-parse HEAD) &&1811 test_when_finished "git -C aur.git reset --hard $old" &&1812 echo "pkgname = forbidden" >>aur.git/.SRCINFO &&1813 git -C aur.git commit -q -am "Add blacklisted package" &&1814 new=$(git -C aur.git rev-parse HEAD) &&1815 cat >expected <<-EOD &&1816 warning: package is blacklisted: forbidden1817 EOD1818 AUR_USER=tu AUR_PKGBASE=foobar AUR_PRIVILEGED=1 \1819 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1820 test_cmp expected actual1821HEAD is now at 69f5bba Bump pkgrel1822ok 29 - Pushing a blacklisted package as Trusted User.1823expecting success: 1824 old=$(git -C aur.git rev-parse HEAD) &&1825 test_when_finished "git -C aur.git reset --hard $old" &&1826 echo "pkgname = official" >>aur.git/.SRCINFO &&1827 git -C aur.git commit -q -am "Add official package" &&1828 new=$(git -C aur.git rev-parse HEAD) &&1829 cat >expected <<-EOD &&1830 error: package already provided by [core]: official1831 EOD1832 test_must_fail \1833 env AUR_USER=user AUR_PKGBASE=foobar AUR_PRIVILEGED=0 \1834 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1835 test_cmp expected actual1836HEAD is now at 69f5bba Bump pkgrel1837ok 30 - Pushing a package already in the official repositories.1838expecting success: 1839 old=$(git -C aur.git rev-parse HEAD) &&1840 test_when_finished "git -C aur.git reset --hard $old" &&1841 echo "pkgname = official" >>aur.git/.SRCINFO &&1842 git -C aur.git commit -q -am "Add official package" &&1843 new=$(git -C aur.git rev-parse HEAD) &&1844 cat >expected <<-EOD &&1845 warning: package already provided by [core]: official1846 EOD1847 AUR_USER=tu AUR_PKGBASE=foobar AUR_PRIVILEGED=1 \1848 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1849 test_cmp expected actual1850HEAD is now at 69f5bba Bump pkgrel1851ok 31 - Pushing a package already in the official repositories as Trusted User.1852expecting success: 1853 old=0000000000000000000000000000000000000000 &&1854 test_when_finished "git -C aur.git checkout refs/namespaces/foobar/refs/heads/master" &&1855 (1856 cd aur.git &&1857 git checkout -q refs/namespaces/foobar2/refs/heads/master &&1858 sed "s/\\(.*pkgname.*\\)2/\\1/" .SRCINFO >.SRCINFO.new1859 mv .SRCINFO.new .SRCINFO1860 git commit -q -am "Change package name"1861 ) &&1862 new=$(git -C aur.git rev-parse HEAD) &&1863 cat >expected <<-EOD &&1864 error: cannot overwrite package: foobar1865 EOD1866 test_must_fail \1867 env AUR_USER=user AUR_PKGBASE=foobar2 AUR_PRIVILEGED=0 \1868 cover "$GIT_UPDATE" refs/heads/master "$old" "$new" >actual 2>&1 &&1869 test_cmp expected actual1870Switched to branch 'refs/namespaces/foobar/refs/heads/master'1871ok 32 - Trying to hijack a package.1872# passed all 32 test(s)18731..321874make: Leaving directory '/builds/hwittenborn/aurweb/test'1875$ pytest1876============================= test session starts ==============================1877platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-1.0.01878rootdir: /builds/hwittenborn/aurweb, configfile: pytest.ini, testpaths: test1879plugins: anyio-3.4.0, forked-1.4.0, asyncio-0.16.0, cov-3.0.0, tap-3.3, xdist-2.5.01880gw0 I / gw1 I / gw2 I / gw3 I / gw4 I / gw5 I / gw6 I / gw7 I / gw8 I / gw9 I / gw10 I / gw11 I / gw12 I / gw13 I / gw14 I / gw15 I1881gw0 [580] / gw1 [580] / gw2 [580] / gw3 [580] / gw4 [580] / gw5 [580] / gw6 [580] / gw7 [580] / gw8 [580] / gw9 [580] / gw10 [580] / gw11 [580] / gw12 [580] / gw13 [580] / gw14 [580] / gw15 [580]1882........................................................................ [ 10%]1883........................................................................ [ 24%]1884........................................................................ [ 37%]1885........................................................................ [ 48%]1886........................................................................ [ 61%]1887........................................................................ [ 74%]1888........................................................................ [ 86%]1889........................................................................ [ 99%]1890.... [100%]1891---------- coverage: platform linux, python 3.10.1-final-0 -----------1892Name Stmts Miss Cover1893-----------------------------------------------------------1894aurweb/__init__.py 0 0 100%1895aurweb/asgi.py 136 0 100%1896aurweb/auth/__init__.py 119 0 100%1897aurweb/auth/creds.py 39 0 100%1898aurweb/benchmark.py 13 0 100%1899aurweb/cache.py 9 0 100%1900aurweb/captcha.py 25 0 100%1901aurweb/config.py 39 0 100%1902aurweb/cookies.py 21 0 100%1903aurweb/db.py 133 0 100%1904aurweb/defaults.py 8 0 100%1905aurweb/exceptions.py 58 0 100%1906aurweb/filters.py 29 0 100%1907aurweb/git/__init__.py 0 0 100%1908aurweb/git/auth.py 34 2 94%1909aurweb/git/serve.py 373 55 85%1910aurweb/git/update.py 243 35 86%1911aurweb/initdb.py 24 0 100%1912aurweb/l10n.py 39 0 100%1913aurweb/logging.py 10 0 100%1914aurweb/models/__init__.py 30 0 100%1915aurweb/models/accepted_term.py 18 0 100%1916aurweb/models/account_type.py 22 0 100%1917aurweb/models/api_rate_limit.py 13 0 100%1918aurweb/models/ban.py 13 0 100%1919aurweb/models/declarative.py 11 0 100%1920aurweb/models/dependency_type.py 16 0 100%1921aurweb/models/group.py 11 0 100%1922aurweb/models/license.py 11 0 100%1923aurweb/models/official_provider.py 17 0 100%1924aurweb/models/package.py 17 0 100%1925aurweb/models/package_base.py 31 0 100%1926aurweb/models/package_blacklist.py 11 0 100%1927aurweb/models/package_comaintainer.py 20 0 100%1928aurweb/models/package_comment.py 24 0 100%1929aurweb/models/package_dependency.py 33 0 100%1930aurweb/models/package_group.py 18 0 100%1931aurweb/models/package_keyword.py 14 0 100%1932aurweb/models/package_license.py 18 0 100%1933aurweb/models/package_notification.py 18 0 100%1934aurweb/models/package_relation.py 20 0 100%1935aurweb/models/package_request.py 40 0 100%1936aurweb/models/package_source.py 16 0 100%1937aurweb/models/package_vote.py 20 0 100%1938aurweb/models/relation_type.py 14 0 100%1939aurweb/models/request_type.py 14 0 100%1940aurweb/models/session.py 21 0 100%1941aurweb/models/ssh_pub_key.py 25 0 100%1942aurweb/models/term.py 13 0 100%1943aurweb/models/tu_vote.py 18 0 100%1944aurweb/models/tu_voteinfo.py 40 0 100%1945aurweb/models/user.py 123 0 100%1946aurweb/packages/__init__.py 0 0 100%1947aurweb/packages/requests.py 79 0 100%1948aurweb/packages/search.py 152 0 100%1949aurweb/packages/util.py 112 0 100%1950aurweb/pkgbase/__init__.py 0 0 100%1951aurweb/pkgbase/actions.py 79 0 100%1952aurweb/pkgbase/util.py 71 0 100%1953aurweb/pkgbase/validate.py 16 0 100%1954aurweb/prometheus.py 41 0 100%1955aurweb/ratelimit.py 58 0 100%1956aurweb/redis.py 15 0 100%1957aurweb/requests/__init__.py 0 0 100%1958aurweb/requests/util.py 9 0 100%1959aurweb/routers/__init__.py 3 0 100%1960aurweb/routers/accounts.py 282 0 100%1961aurweb/routers/auth.py 52 0 100%1962aurweb/routers/html.py 87 0 100%1963aurweb/routers/packages.py 213 0 100%1964aurweb/routers/pkgbase.py 427 0 100%1965aurweb/routers/requests.py 54 0 100%1966aurweb/routers/rpc.py 51 0 100%1967aurweb/routers/rss.py 52 0 100%1968aurweb/routers/sso.py 80 52 35%1969aurweb/routers/trusted_user.py 170 0 100%1970aurweb/rpc.py 122 0 100%1971aurweb/schema.py 38 0 100%1972aurweb/scripts/__init__.py 0 0 100%1973aurweb/scripts/adduser.py 33 0 100%1974aurweb/scripts/aurblup.py 39 0 100%1975aurweb/scripts/config.py 41 0 100%1976aurweb/scripts/mkpkglists.py 82 0 100%1977aurweb/scripts/notify.py 355 0 100%1978aurweb/scripts/pkgmaint.py 12 0 100%1979aurweb/scripts/popupdate.py 24 0 100%1980aurweb/scripts/rendercomment.py 79 0 100%1981aurweb/scripts/tuvotereminder.py 18 0 100%1982aurweb/scripts/usermaint.py 14 0 100%1983aurweb/spawn.py 99 0 100%1984aurweb/templates.py 79 0 100%1985aurweb/testing/__init__.py 14 0 100%1986aurweb/testing/alpm.py 56 0 100%1987aurweb/testing/email.py 65 0 100%1988aurweb/testing/filelock.py 22 0 100%1989aurweb/testing/git.py 48 0 100%1990aurweb/testing/html.py 12 0 100%1991aurweb/testing/requests.py 21 0 100%1992aurweb/testing/smtp.py 27 0 100%1993aurweb/time.py 21 0 100%1994aurweb/users/__init__.py 0 0 100%1995aurweb/users/update.py 61 0 100%1996aurweb/users/util.py 9 0 100%1997aurweb/users/validate.py 94 0 100%1998aurweb/util.py 132 0 100%1999-----------------------------------------------------------2000TOTAL 5802 144 98%2001Required test coverage of 85.0% reached. Total coverage: 97.52%2002============================= 580 passed in 42.98s =============================2003$ make -C test coverage2004make: Entering directory '/builds/hwittenborn/aurweb/test'2005cd .. && coverage report --include='aurweb/*'2006Name Stmts Miss Cover2007-----------------------------------------------------------2008aurweb/__init__.py 0 0 100%2009aurweb/asgi.py 136 0 100%2010aurweb/auth/__init__.py 119 0 100%2011aurweb/auth/creds.py 39 0 100%2012aurweb/benchmark.py 13 0 100%2013aurweb/cache.py 9 0 100%2014aurweb/captcha.py 25 0 100%2015aurweb/config.py 39 0 100%2016aurweb/cookies.py 21 0 100%2017aurweb/db.py 133 0 100%2018aurweb/defaults.py 8 0 100%2019aurweb/exceptions.py 58 0 100%2020aurweb/filters.py 29 0 100%2021aurweb/git/__init__.py 0 0 100%2022aurweb/git/auth.py 34 2 94%2023aurweb/git/serve.py 373 55 85%2024aurweb/git/update.py 243 35 86%2025aurweb/initdb.py 24 0 100%2026aurweb/l10n.py 39 0 100%2027aurweb/logging.py 10 0 100%2028aurweb/models/__init__.py 30 0 100%2029aurweb/models/accepted_term.py 18 0 100%2030aurweb/models/account_type.py 22 0 100%2031aurweb/models/api_rate_limit.py 13 0 100%2032aurweb/models/ban.py 13 0 100%2033aurweb/models/declarative.py 11 0 100%2034aurweb/models/dependency_type.py 16 0 100%2035aurweb/models/group.py 11 0 100%2036aurweb/models/license.py 11 0 100%2037aurweb/models/official_provider.py 17 0 100%2038aurweb/models/package.py 17 0 100%2039aurweb/models/package_base.py 31 0 100%2040aurweb/models/package_blacklist.py 11 0 100%2041aurweb/models/package_comaintainer.py 20 0 100%2042aurweb/models/package_comment.py 24 0 100%2043aurweb/models/package_dependency.py 33 0 100%2044aurweb/models/package_group.py 18 0 100%2045aurweb/models/package_keyword.py 14 0 100%2046aurweb/models/package_license.py 18 0 100%2047aurweb/models/package_notification.py 18 0 100%2048aurweb/models/package_relation.py 20 0 100%2049aurweb/models/package_request.py 40 0 100%2050aurweb/models/package_source.py 16 0 100%2051aurweb/models/package_vote.py 20 0 100%2052aurweb/models/relation_type.py 14 0 100%2053aurweb/models/request_type.py 14 0 100%2054aurweb/models/session.py 21 0 100%2055aurweb/models/ssh_pub_key.py 25 0 100%2056aurweb/models/term.py 13 0 100%2057aurweb/models/tu_vote.py 18 0 100%2058aurweb/models/tu_voteinfo.py 40 0 100%2059aurweb/models/user.py 123 0 100%2060aurweb/packages/__init__.py 0 0 100%2061aurweb/packages/requests.py 79 0 100%2062aurweb/packages/search.py 152 0 100%2063aurweb/packages/util.py 112 0 100%2064aurweb/pkgbase/__init__.py 0 0 100%2065aurweb/pkgbase/actions.py 79 0 100%2066aurweb/pkgbase/util.py 71 0 100%2067aurweb/pkgbase/validate.py 16 0 100%2068aurweb/prometheus.py 41 0 100%2069aurweb/ratelimit.py 58 0 100%2070aurweb/redis.py 15 0 100%2071aurweb/requests/__init__.py 0 0 100%2072aurweb/requests/util.py 9 0 100%2073aurweb/routers/__init__.py 3 0 100%2074aurweb/routers/accounts.py 282 0 100%2075aurweb/routers/auth.py 52 0 100%2076aurweb/routers/html.py 87 0 100%2077aurweb/routers/packages.py 213 0 100%2078aurweb/routers/pkgbase.py 427 0 100%2079aurweb/routers/requests.py 54 0 100%2080aurweb/routers/rpc.py 51 0 100%2081aurweb/routers/rss.py 52 0 100%2082aurweb/routers/sso.py 80 52 35%2083aurweb/routers/trusted_user.py 170 0 100%2084aurweb/rpc.py 122 0 100%2085aurweb/schema.py 38 0 100%2086aurweb/scripts/__init__.py 0 0 100%2087aurweb/scripts/adduser.py 33 0 100%2088aurweb/scripts/aurblup.py 39 0 100%2089aurweb/scripts/config.py 41 0 100%2090aurweb/scripts/mkpkglists.py 82 0 100%2091aurweb/scripts/notify.py 355 0 100%2092aurweb/scripts/pkgmaint.py 12 0 100%2093aurweb/scripts/popupdate.py 24 0 100%2094aurweb/scripts/rendercomment.py 79 0 100%2095aurweb/scripts/tuvotereminder.py 18 0 100%2096aurweb/scripts/usermaint.py 14 0 100%2097aurweb/spawn.py 99 0 100%2098aurweb/templates.py 79 0 100%2099aurweb/testing/__init__.py 14 0 100%2100aurweb/testing/alpm.py 56 0 100%2101aurweb/testing/email.py 65 0 100%2102aurweb/testing/filelock.py 22 0 100%2103aurweb/testing/git.py 48 0 100%2104aurweb/testing/html.py 12 0 100%2105aurweb/testing/requests.py 21 0 100%2106aurweb/testing/smtp.py 27 0 100%2107aurweb/time.py 21 0 100%2108aurweb/users/__init__.py 0 0 100%2109aurweb/users/update.py 61 0 100%2110aurweb/users/util.py 9 0 100%2111aurweb/users/validate.py 94 0 100%2112aurweb/util.py 132 0 100%2113-----------------------------------------------------------2114TOTAL 5802 144 98%2115cd .. && coverage xml --include='aurweb/*'2116Wrote XML report to coverage.xml2117make: Leaving directory '/builds/hwittenborn/aurweb/test'2118$ flake8 --count aurweb211902120$ flake8 --count test212102122$ flake8 --count migrations212302124$ isort --check-only aurweb2125$ isort --check-only test2126$ isort --check-only migrations2128Creating cache system-v1...2129.pkg-cache: found 249 matching files and directories 2130No URL provided, cache will be not uploaded to shared cache server. Cache will be stored only locally. 2131Created cache2133Uploading artifacts...2134coverage.xml: found 1 matching files and directories 2135Uploading artifacts 15.22 KB (40.4 KB/s) 2136Uploading artifacts as "cobertura" to coordinator... ok id=44722 responseStatus=201 Created token=xxs9dwEc2138Job succeeded