Thu Dec 5 06:37:20 UTC 2024 I: starting to build golang-github-casbin-casbin/unstable/i386 on jenkins on '2024-12-05 06:37' Thu Dec 5 06:37:20 UTC 2024 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/i386_19/34730/console.log Thu Dec 5 06:37:20 UTC 2024 I: Downloading source for unstable/golang-github-casbin-casbin=2.102.0-1 --2024-12-05 06:37:21-- http://deb.debian.org/debian/pool/main/g/golang-github-casbin-casbin/golang-github-casbin-casbin_2.102.0-1.dsc Connecting to 46.16.76.132:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2367 (2.3K) [text/prs.lines.tag] Saving to: ‘golang-github-casbin-casbin_2.102.0-1.dsc’ 0K .. 100% 360M=0s 2024-12-05 06:37:21 (360 MB/s) - ‘golang-github-casbin-casbin_2.102.0-1.dsc’ saved [2367/2367] Thu Dec 5 06:37:21 UTC 2024 I: golang-github-casbin-casbin_2.102.0-1.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: golang-github-casbin-casbin Binary: golang-github-casbin-casbin-dev Architecture: all Version: 2.102.0-1 Maintainer: Debian Go Packaging Team Uploaders: Mathias Gibbens Homepage: https://github.com/casbin/casbin Standards-Version: 4.7.0 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-casbin-casbin Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-casbin-casbin.git Testsuite: autopkgtest-pkg-go Build-Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-bmatcuk-doublestar-dev, golang-github-casbin-govaluate-dev, golang-github-golang-mock-dev Package-List: golang-github-casbin-casbin-dev deb golang optional arch=all Checksums-Sha1: fd8c0a4e3eb30f4b5423b38936f179181a519a30 133467 golang-github-casbin-casbin_2.102.0.orig.tar.gz b89e357ed57b4926aaef2cc99cc624ce8b3363a4 2356 golang-github-casbin-casbin_2.102.0-1.debian.tar.xz Checksums-Sha256: ad50fec3630bfde0b7f11b7a85a678d152ae7e2f9c7187fdf60ed40ed69db196 133467 golang-github-casbin-casbin_2.102.0.orig.tar.gz b47c3a2350baa1f780f3a9fb35bcaf4daf3b3f98fa185fbf9cd31b8d25b58527 2356 golang-github-casbin-casbin_2.102.0-1.debian.tar.xz Files: 19dd51ae8f3c0760891ffdc5c0b26b51 133467 golang-github-casbin-casbin_2.102.0.orig.tar.gz 7cb3ca5c0ce9f606c7dd607b4ea2a39d 2356 golang-github-casbin-casbin_2.102.0-1.debian.tar.xz Go-Import-Path: github.com/casbin/casbin -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEE1Bp60H32xfynSJ8cKe7i1uz0QvkFAmdQ9PQSHGdpYm1hdEBk ZWJpYW4ub3JnAAoJECnu4tbs9EL5TwYP/jBMb8DcQgd6XUdpQvcJdnwli+oAZd61 TH0Pu5vBpRVfccqBxEmcDnfN4kvJGE2RJ607pkqr8t13noDvPbt4p0XbKxhy9ppw +knspFT5I1fxMyMMb7MFAyOln4qBMJ9n9ReP7OWu58h45PDdQzaQ9DZ0NAw9Ao9r j43L72xbJLcgAdKda6LveufXICT+lKkQBeZaRtCu0C1+HwRKAS9KOFfYnHmUWccF TAyPk188x3gnKOTLr8Wd0eRA2hHxKszwZTM6QvZqfotLCtwuTUJHhVaAuvKgSRz7 f2Sy+B4EQ5K9uIRcWu8YAmOKuwwsT6GZoxO5GE0O94PIpr58G8GhTIS0qMVbpfS2 a/qkIqupKGyJXFhDmi7Si6TPL6+2DQ6yU/5ABAef8+Q8sDkvm4iTYirjkowmlmtt tO07pL9PlCmqFPF8UjEY4jYMTbVnx6z4FHS9R5b6+CmQ/+e4FORFF1AZ0BQgX4CZ dZw+6uhdAr5oYvfcYlSh1UGmDg15Izkiq/4GscWUIEL5zPyF+/P9q/gMk3Jqxq4g 4z/Dn/4CwSfdyneNgbGE4sRw8NSmsY234Y6+IKYHMuSojBYoZue+eHGYDB+x6d6h i5xOEGcDK4iDUUJAnYcPEkbAXLKpLbzN0aMpEW4Hd9CAal43spdyiDDgYGpmpIxA /0iwQ6FQRYmp =NvPJ -----END PGP SIGNATURE----- Thu Dec 5 06:37:21 UTC 2024 I: Checking whether the package is not for us Thu Dec 5 06:37:21 UTC 2024 I: Starting 1st build on remote node infom07-i386.debian.net. Thu Dec 5 06:37:21 UTC 2024 I: Preparing to do remote build '1' on infom07-i386.debian.net. Thu Dec 5 06:39:56 UTC 2024 I: Deleting $TMPDIR on infom07-i386.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Wed Dec 4 18:37:25 -12 2024 I: pbuilder-time-stamp: 1733380645 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [golang-github-casbin-casbin_2.102.0-1.dsc] I: copying [./golang-github-casbin-casbin_2.102.0.orig.tar.gz] I: copying [./golang-github-casbin-casbin_2.102.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Thu Dec 5 00:33:56 2024 gpgv: using RSA key D41A7AD07DF6C5FCA7489F1C29EEE2D6ECF442F9 gpgv: issuer "gibmat@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-casbin-casbin_2.102.0-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-casbin-casbin in golang-github-casbin-casbin-2.102.0 dpkg-source: info: unpacking golang-github-casbin-casbin_2.102.0.orig.tar.gz dpkg-source: info: unpacking golang-github-casbin-casbin_2.102.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/10431/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' DISTRIBUTION='unstable' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='4b859b606fd5463fbf8df3503ef76b21' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='10431' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/pbuilderrc_j0zx --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/b1 --logfile b1/build.log golang-github-casbin-casbin_2.102.0-1.dsc' SUDO_GID='111' SUDO_UID='104' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' I: uname -a Linux infom07-i386 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/10431/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dh-golang, golang-any, golang-github-bmatcuk-doublestar-dev, golang-github-casbin-govaluate-dev, golang-github-golang-mock-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19956 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-bmatcuk-doublestar-dev; however: Package golang-github-bmatcuk-doublestar-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-casbin-govaluate-dev; however: Package golang-github-casbin-govaluate-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-golang-mock-dev; however: Package golang-github-golang-mock-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.23-go{a} golang-1.23-src{a} golang-any{a} golang-github-bmatcuk-doublestar-dev{a} golang-github-casbin-govaluate-dev{a} golang-github-golang-mock-dev{a} golang-go{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkgconf wget 0 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded. Need to get 64.5 MB of archives. After unpacking 313 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main i386 sensible-utils all 0.0.24 [24.8 kB] Get: 2 http://deb.debian.org/debian unstable/main i386 libmagic-mgc i386 1:5.45-3+b1 [314 kB] Get: 3 http://deb.debian.org/debian unstable/main i386 libmagic1t64 i386 1:5.45-3+b1 [115 kB] Get: 4 http://deb.debian.org/debian unstable/main i386 file i386 1:5.45-3+b1 [43.2 kB] Get: 5 http://deb.debian.org/debian unstable/main i386 gettext-base i386 0.22.5-2 [201 kB] Get: 6 http://deb.debian.org/debian unstable/main i386 libuchardet0 i386 0.0.8-1+b2 [69.2 kB] Get: 7 http://deb.debian.org/debian unstable/main i386 groff-base i386 1.23.0-5 [1196 kB] Get: 8 http://deb.debian.org/debian unstable/main i386 bsdextrautils i386 2.40.2-11 [95.6 kB] Get: 9 http://deb.debian.org/debian unstable/main i386 libpipeline1 i386 1.5.8-1 [41.2 kB] Get: 10 http://deb.debian.org/debian unstable/main i386 man-db i386 2.13.0-1 [1428 kB] Get: 11 http://deb.debian.org/debian unstable/main i386 m4 i386 1.4.19-4 [293 kB] Get: 12 http://deb.debian.org/debian unstable/main i386 autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main i386 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian unstable/main i386 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian unstable/main i386 autopoint all 0.22.5-2 [723 kB] Get: 16 http://deb.debian.org/debian unstable/main i386 libdebhelper-perl all 13.20 [89.7 kB] Get: 17 http://deb.debian.org/debian unstable/main i386 libtool all 2.4.7-8 [517 kB] Get: 18 http://deb.debian.org/debian unstable/main i386 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main i386 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main i386 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 21 http://deb.debian.org/debian unstable/main i386 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 22 http://deb.debian.org/debian unstable/main i386 libelf1t64 i386 0.192-4 [195 kB] Get: 23 http://deb.debian.org/debian unstable/main i386 dwz i386 0.15-1+b1 [116 kB] Get: 24 http://deb.debian.org/debian unstable/main i386 libicu72 i386 72.1-5+b1 [9583 kB] Get: 25 http://deb.debian.org/debian unstable/main i386 libxml2 i386 2.12.7+dfsg+really2.9.14-0.2+b1 [734 kB] Get: 26 http://deb.debian.org/debian unstable/main i386 gettext i386 0.22.5-2 [1631 kB] Get: 27 http://deb.debian.org/debian unstable/main i386 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main i386 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main i386 debhelper all 13.20 [915 kB] Get: 30 http://deb.debian.org/debian unstable/main i386 dh-golang all 1.62 [24.7 kB] Get: 31 http://deb.debian.org/debian unstable/main i386 golang-1.23-src all 1.23.4-1 [19.1 MB] Get: 32 http://deb.debian.org/debian unstable/main i386 golang-1.23-go i386 1.23.4-1 [25.1 MB] Get: 33 http://deb.debian.org/debian unstable/main i386 golang-src all 2:1.23~2 [5088 B] Get: 34 http://deb.debian.org/debian unstable/main i386 golang-go i386 2:1.23~2 [44.3 kB] Get: 35 http://deb.debian.org/debian unstable/main i386 golang-any i386 2:1.23~2 [5168 B] Get: 36 http://deb.debian.org/debian unstable/main i386 golang-github-bmatcuk-doublestar-dev all 4.6.1-1 [19.9 kB] Get: 37 http://deb.debian.org/debian unstable/main i386 golang-github-casbin-govaluate-dev all 1.2.0-1 [33.1 kB] Get: 38 http://deb.debian.org/debian unstable/main i386 golang-github-golang-mock-dev all 1.6.0-2 [48.0 kB] Fetched 64.5 MB in 3s (21.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19956 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.45-3+b1_i386.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:i386. Preparing to unpack .../02-libmagic1t64_1%3a5.45-3+b1_i386.deb ... Unpacking libmagic1t64:i386 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.45-3+b1_i386.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.22.5-2_i386.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_i386.deb ... Unpacking libuchardet0:i386 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-5_i386.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.40.2-11_i386.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../08-libpipeline1_1.5.8-1_i386.deb ... Unpacking libpipeline1:i386 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.0-1_i386.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-4_i386.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:i386. Preparing to unpack .../21-libelf1t64_0.192-4_i386.deb ... Unpacking libelf1t64:i386 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_i386.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libicu72:i386. Preparing to unpack .../23-libicu72_72.1-5+b1_i386.deb ... Unpacking libicu72:i386 (72.1-5+b1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_i386.deb ... Unpacking libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.22.5-2_i386.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package dh-golang. Preparing to unpack .../29-dh-golang_1.62_all.deb ... Unpacking dh-golang (1.62) ... Selecting previously unselected package golang-1.23-src. Preparing to unpack .../30-golang-1.23-src_1.23.4-1_all.deb ... Unpacking golang-1.23-src (1.23.4-1) ... Selecting previously unselected package golang-1.23-go. Preparing to unpack .../31-golang-1.23-go_1.23.4-1_i386.deb ... Unpacking golang-1.23-go (1.23.4-1) ... Selecting previously unselected package golang-src. Preparing to unpack .../32-golang-src_2%3a1.23~2_all.deb ... Unpacking golang-src (2:1.23~2) ... Selecting previously unselected package golang-go:i386. Preparing to unpack .../33-golang-go_2%3a1.23~2_i386.deb ... Unpacking golang-go:i386 (2:1.23~2) ... Selecting previously unselected package golang-any:i386. Preparing to unpack .../34-golang-any_2%3a1.23~2_i386.deb ... Unpacking golang-any:i386 (2:1.23~2) ... Selecting previously unselected package golang-github-bmatcuk-doublestar-dev. Preparing to unpack .../35-golang-github-bmatcuk-doublestar-dev_4.6.1-1_all.deb ... Unpacking golang-github-bmatcuk-doublestar-dev (4.6.1-1) ... Selecting previously unselected package golang-github-casbin-govaluate-dev. Preparing to unpack .../36-golang-github-casbin-govaluate-dev_1.2.0-1_all.deb ... Unpacking golang-github-casbin-govaluate-dev (1.2.0-1) ... Selecting previously unselected package golang-github-golang-mock-dev. Preparing to unpack .../37-golang-github-golang-mock-dev_1.6.0-2_all.deb ... Unpacking golang-github-golang-mock-dev (1.6.0-2) ... Setting up libpipeline1:i386 (1.5.8-1) ... Setting up libicu72:i386 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up golang-github-golang-mock-dev (1.6.0-2) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.20) ... Setting up libmagic1t64:i386 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:i386 (0.192-4) ... Setting up autotools-dev (20220109.1) ... Setting up golang-github-bmatcuk-doublestar-dev (4.6.1-1) ... Setting up golang-1.23-src (1.23.4-1) ... Setting up autopoint (0.22.5-2) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up golang-github-casbin-govaluate-dev (1.2.0-1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:i386 (0.0.8-1+b2) ... Setting up golang-src (2:1.23~2) ... Setting up libxml2:i386 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-1.23-go (1.23.4-1) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up golang-go:i386 (2:1.23~2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up golang-any:i386 (2:1.23~2) ... Setting up debhelper (13.20) ... Setting up dh-golang (1.62) ... Processing triggers for libc-bin (2.40-4) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/reproducible-path/golang-github-casbin-casbin-2.102.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-casbin-casbin_2.102.0-1_source.changes dpkg-buildpackage: info: source package golang-github-casbin-casbin dpkg-buildpackage: info: source version 2.102.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Mathias Gibbens dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with=golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with=golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 6 github.com/casbin/casbin github.com/casbin/casbin/config github.com/casbin/casbin/constant github.com/casbin/casbin/effector github.com/casbin/casbin/errors github.com/casbin/casbin/log github.com/casbin/casbin/log/mocks github.com/casbin/casbin/model github.com/casbin/casbin/persist github.com/casbin/casbin/persist/cache github.com/casbin/casbin/persist/file-adapter github.com/casbin/casbin/persist/string-adapter github.com/casbin/casbin/rbac github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/util internal/goarch internal/unsafeheader internal/coverage/rtcov internal/godebugs internal/byteorder internal/cpu internal/chacha8rand internal/goexperiment internal/goos internal/abi internal/profilerecord internal/runtime/syscall runtime/internal/math internal/runtime/atomic runtime/internal/sys internal/race sync/atomic unicode unicode/utf8 internal/bytealg internal/runtime/exithook cmp encoding math/bits internal/itoa internal/asan math internal/msan unicode/utf16 github.com/casbin/casbin/constant log/internal internal/stringslite container/list internal/nettrace runtime internal/reflectlite sync iter internal/weak slices internal/bisect internal/testlog internal/singleflight errors sort runtime/cgo io strconv internal/oserror path internal/godebug bytes reflect github.com/casbin/casbin/effector strings syscall github.com/casbin/casbin/errors vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 bufio regexp/syntax internal/concurrent unique net/netip time internal/syscall/unix internal/syscall/execenv regexp io/fs context internal/poll github.com/casbin/casbin/persist/cache encoding/binary internal/fmtsort internal/filepathlite os encoding/base64 fmt path/filepath net github.com/bmatcuk/doublestar log github.com/casbin/casbin/config github.com/casbin/govaluate encoding/csv encoding/json runtime/debug github.com/casbin/casbin/log github.com/golang/mock/gomock github.com/casbin/casbin/rbac github.com/casbin/casbin/log/mocks github.com/casbin/casbin/util github.com/casbin/casbin/model github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/persist github.com/casbin/casbin/persist/file-adapter github.com/casbin/casbin/persist/string-adapter github.com/casbin/casbin dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 6 github.com/casbin/casbin github.com/casbin/casbin/config github.com/casbin/casbin/constant github.com/casbin/casbin/effector github.com/casbin/casbin/errors github.com/casbin/casbin/log github.com/casbin/casbin/log/mocks github.com/casbin/casbin/model github.com/casbin/casbin/persist github.com/casbin/casbin/persist/cache github.com/casbin/casbin/persist/file-adapter github.com/casbin/casbin/persist/string-adapter github.com/casbin/casbin/rbac github.com/casbin/casbin/rbac/default-role-manager github.com/casbin/casbin/util ? github.com/casbin/casbin/constant [no test files] ? github.com/casbin/casbin/effector [no test files] ? github.com/casbin/casbin/errors [no test files] ? github.com/casbin/casbin/log/mocks [no test files] ? github.com/casbin/casbin/persist/cache [no test files] ? github.com/casbin/casbin/persist/file-adapter [no test files] ? github.com/casbin/casbin/rbac [no test files] === RUN TestSyncCache --- PASS: TestSyncCache (0.05s) === RUN TestCache --- PASS: TestCache (0.00s) === RUN TestSync --- PASS: TestSync (0.30s) === RUN TestStopAutoLoadPolicy --- PASS: TestStopAutoLoadPolicy (0.01s) === RUN TestSyncedEnforcerSelfAddPolicy enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:99: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] --- PASS: TestSyncedEnforcerSelfAddPolicy (1.04s) === RUN TestSyncedEnforcerSelfAddPolicies enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:127: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] --- PASS: TestSyncedEnforcerSelfAddPolicies (1.04s) === RUN TestSyncedEnforcerSelfAddPoliciesEx enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:164: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] --- PASS: TestSyncedEnforcerSelfAddPoliciesEx (1.03s) === RUN TestSyncedEnforcerSelfRemovePolicy enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user2 data2 read] [user1 data1 read] [user4 data4 read] [user3 data3 read] [user5 data5 read] [user6 data6 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:189: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:208: Policy: [[alice data1 read] [bob data2 write]] --- PASS: TestSyncedEnforcerSelfRemovePolicy (2.08s) === RUN TestSyncedEnforcerSelfRemovePolicies enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] enforcer_synced_test.go:227: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:249: Policy: [[alice data1 read] [bob data2 write]] --- PASS: TestSyncedEnforcerSelfRemovePolicies (2.08s) === RUN TestSyncedEnforcerSelfRemoveFilteredPolicy enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] enforcer_synced_test.go:269: Policy: [[alice data1 read] [bob data2 write] [user8 data8 write] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read] [user6 data6 read] [user7 data7 write]] enforcer_synced_test.go:291: Policy: [[alice data1 read]] --- PASS: TestSyncedEnforcerSelfRemoveFilteredPolicy (2.08s) === RUN TestSyncedEnforcerSelfUpdatePolicy enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:308: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:339: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] --- PASS: TestSyncedEnforcerSelfUpdatePolicy (2.08s) === RUN TestSyncedEnforcerSelfUpdatePolicies enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] enforcer_synced_test.go:363: Policy: [[alice data1 read] [bob data2 write] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read] [user5 data5 read]] enforcer_synced_test.go:393: Policy: [[alice data1 read] [bob data2 write] [user6 data6 write] [user1 data1 write] [user2 data2 write] [user3 data3 write] [user4 data4 write] [user5 data5 write]] --- PASS: TestSyncedEnforcerSelfUpdatePolicies (2.08s) === RUN TestSyncedEnforcerAddPoliciesEx enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:419: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] --- PASS: TestSyncedEnforcerAddPoliciesEx (1.04s) === RUN TestSyncedEnforcerAddNamedPoliciesEx enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] enforcer_synced_test.go:461: Policy: [[alice data1 read] [bob data2 write] [user5 data5 read] [user6 data6 read] [user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] --- PASS: TestSyncedEnforcerAddNamedPoliciesEx (1.04s) === RUN TestSyncedEnforcerAddGroupingPoliciesEx enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:511: Users for member : [user1 user2 user3 user4 user5 user6] --- PASS: TestSyncedEnforcerAddGroupingPoliciesEx (1.04s) === RUN TestSyncedEnforcerAddNamedGroupingPoliciesEx enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] enforcer_synced_test.go:531: Users for member : [user1 user2 user3 user4 user5 user6] --- PASS: TestSyncedEnforcerAddNamedGroupingPoliciesEx (1.04s) === RUN TestKeyMatchModelInMemory --- PASS: TestKeyMatchModelInMemory (0.00s) === RUN TestKeyMatchWithRBACInDomain --- PASS: TestKeyMatchWithRBACInDomain (0.01s) === RUN TestKeyMatchModelInMemoryDeny --- PASS: TestKeyMatchModelInMemoryDeny (0.00s) === RUN TestRBACModelInMemoryIndeterminate --- PASS: TestRBACModelInMemoryIndeterminate (0.00s) === RUN TestRBACModelInMemory --- PASS: TestRBACModelInMemory (0.00s) === RUN TestRBACModelInMemory2 --- PASS: TestRBACModelInMemory2 (0.00s) === RUN TestNotUsedRBACModelInMemory --- PASS: TestNotUsedRBACModelInMemory (0.00s) === RUN TestMatcherUsingInOperator --- PASS: TestMatcherUsingInOperator (0.00s) === RUN TestMatcherUsingInOperatorBracket --- PASS: TestMatcherUsingInOperatorBracket (0.00s) === RUN TestReloadPolicy enforcer_test.go:238: Policy: [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] --- PASS: TestReloadPolicy (0.00s) === RUN TestSavePolicy --- PASS: TestSavePolicy (0.00s) === RUN TestClearPolicy --- PASS: TestClearPolicy (0.01s) === RUN TestEnableEnforce --- PASS: TestEnableEnforce (0.00s) === RUN TestEnableLog 2024/12/05 06:39:32 Model: [p p sub, obj, act] [e e some(where (p_eft == allow))] [m m r_sub == p_sub && r_obj == p_obj && r_act == p_act] [r r sub, obj, act] 2024/12/05 06:39:32 Request: alice, data1, read ---> true Hit Policy: 2024/12/05 06:39:32 Request: alice, data1, write ---> false Hit Policy: 2024/12/05 06:39:32 Request: alice, data2, read ---> false Hit Policy: 2024/12/05 06:39:32 Request: alice, data2, write ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data1, read ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data1, write ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data2, read ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data2, write ---> true Hit Policy: --- PASS: TestEnableLog (0.00s) === RUN TestEnableAutoSave --- PASS: TestEnableAutoSave (0.00s) === RUN TestInitWithAdapter --- PASS: TestInitWithAdapter (0.00s) === RUN TestRoleLinks --- PASS: TestRoleLinks (0.00s) === RUN TestEnforceConcurrency --- PASS: TestEnforceConcurrency (0.17s) === RUN TestGetAndSetModel --- PASS: TestGetAndSetModel (0.00s) === RUN TestGetAndSetAdapterInMem --- PASS: TestGetAndSetAdapterInMem (0.00s) === RUN TestSetAdapterFromFile --- PASS: TestSetAdapterFromFile (0.00s) === RUN TestInitEmpty --- PASS: TestInitEmpty (0.00s) === RUN TestEnforceEx --- PASS: TestEnforceEx (0.01s) === RUN TestEnforceExLog 2024/12/05 06:39:32 Model: [p p sub, obj, act] [e e some(where (p_eft == allow))] [m m r_sub == p_sub && r_obj == p_obj && r_act == p_act] [r r sub, obj, act] 2024/12/05 06:39:32 Request: alice, data1, read ---> true Hit Policy: [alice data1 read] 2024/12/05 06:39:32 Request: alice, data1, write ---> false Hit Policy: 2024/12/05 06:39:32 Request: alice, data2, read ---> false Hit Policy: 2024/12/05 06:39:32 Request: alice, data2, write ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data1, read ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data1, write ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data2, read ---> false Hit Policy: 2024/12/05 06:39:32 Request: bob, data2, write ---> true Hit Policy: [bob data2 write] --- PASS: TestEnforceExLog (0.00s) === RUN TestBatchEnforce --- PASS: TestBatchEnforce (0.00s) === RUN TestSubjectPriority --- PASS: TestSubjectPriority (0.00s) === RUN TestSubjectPriorityWithDomain --- PASS: TestSubjectPriorityWithDomain (0.00s) === RUN TestSubjectPriorityInFilter --- PASS: TestSubjectPriorityInFilter (0.00s) === RUN TestMultiplePolicyDefinitions --- PASS: TestMultiplePolicyDefinitions (0.01s) === RUN TestPriorityExplicit --- PASS: TestPriorityExplicit (0.01s) === RUN TestFailedToLoadPolicy --- PASS: TestFailedToLoadPolicy (0.01s) === RUN TestReloadPolicyWithFunc --- PASS: TestReloadPolicyWithFunc (0.01s) === RUN TestEvalPriority --- PASS: TestEvalPriority (0.01s) === RUN TestLinkConditionFunc --- PASS: TestLinkConditionFunc (0.00s) === RUN TestPathError error_test.go:28: Test on error: error_test.go:29: open hope_this_path_wont_exist: no such file or directory --- PASS: TestPathError (0.00s) === RUN TestEnforcerParamError error_test.go:38: Test on error: error_test.go:39: invalid parameters for enforcer error_test.go:46: Test on error: error_test.go:47: invalid parameters for enforcer --- PASS: TestEnforcerParamError (0.00s) === RUN TestModelError error_test.go:56: Test on error: error_test.go:57: parse the content error : line 4 , [policy_definition = ? --- PASS: TestModelError (0.00s) === RUN TestEnforceError error_test.go:77: Test on error: error_test.go:78: invalid request size: expected 3, got 2, rvals: [wrong wrong] error_test.go:86: Test on error: error_test.go:87: please make sure rule exists in policy when using eval() in matcher --- PASS: TestEnforceError (0.00s) === RUN TestNoError --- PASS: TestNoError (0.00s) === RUN TestModelNoError error_test.go:125: Test on error: error_test.go:126: open hope_this_path_wont_exist: no such file or directory --- PASS: TestModelNoError (0.00s) === RUN TestMockAdapterErrors error_test.go:144: Test on error: error_test.go:145: mock error error_test.go:159: Test on error: error_test.go:160: mock error error_test.go:171: Test on error: error_test.go:172: mock error error_test.go:183: Test on error: error_test.go:184: mock error error_test.go:198: Test on error: error_test.go:199: mock error error_test.go:210: Test on error: error_test.go:211: mock error error_test.go:222: Test on error: error_test.go:223: mock error error_test.go:234: Test on error: error_test.go:235: mock error error_test.go:246: Test on error: error_test.go:247: mock error error_test.go:258: Test on error: error_test.go:259: mock error error_test.go:270: Test on error: error_test.go:271: mock error error_test.go:282: Test on error: error_test.go:283: mock error --- PASS: TestMockAdapterErrors (0.00s) === RUN TestInitFilteredAdapter filter_test.go:31: Has policy admin, domain1, data1, read : false --- PASS: TestInitFilteredAdapter (0.00s) === RUN TestLoadFilteredPolicy filter_test.go:44: Has policy admin, domain1, data1, read : true filter_test.go:45: Has policy admin, domain2, data2, read : true filter_test.go:58: Has policy admin, domain1, data1, read : true filter_test.go:59: Has policy admin, domain2, data2, read : false --- PASS: TestLoadFilteredPolicy (0.00s) === RUN TestLoadMoreTypeFilteredPolicy filter_test.go:83: Has policy book_admin, book_group, GET : true filter_test.go:84: Has policy pen_admin, pen_group, GET : true filter_test.go:97: Has policy alice, /pen/1, GET : false filter_test.go:98: Has policy alice, /pen2/1, GET : false filter_test.go:99: Has policy pen_admin, pen_group, GET : false filter_test.go:100: Has grouping policy alice, book_admin : true filter_test.go:101: Has grouping policy bob, pen_admin : false filter_test.go:102: Has grouping policy cathy, pen_admin : false filter_test.go:103: Has grouping policy cathy, /book/1/2/3/4/5 : false --- PASS: TestLoadMoreTypeFilteredPolicy (0.01s) === RUN TestAppendFilteredPolicy filter_test.go:119: Has policy admin, domain1, data1, read : true filter_test.go:120: Has policy admin, domain2, data2, read : true filter_test.go:133: Has policy admin, domain1, data1, read : true filter_test.go:134: Has policy admin, domain2, data2, read : false filter_test.go:145: Has policy admin, domain1, data1, read : true filter_test.go:146: Has policy admin, domain2, data2, read : true --- PASS: TestAppendFilteredPolicy (0.00s) === RUN TestFilteredPolicyInvalidFilter --- PASS: TestFilteredPolicyInvalidFilter (0.00s) === RUN TestFilteredPolicyEmptyFilter --- PASS: TestFilteredPolicyEmptyFilter (0.00s) === RUN TestUnsupportedFilteredPolicy --- PASS: TestUnsupportedFilteredPolicy (0.00s) === RUN TestFilteredAdapterEmptyFilepath --- PASS: TestFilteredAdapterEmptyFilepath (0.00s) === RUN TestFilteredAdapterInvalidFilepath --- PASS: TestFilteredAdapterInvalidFilepath (0.00s) === RUN TestCasbinJsGetPermissionForUserOld frontend_old_test.go:37: GetPermissionForUser Alice {"read":["data1","data2"],"write":["data2"]} frontend_old_test.go:65: GetPermissionForUser Bob {"write":["data2"]} --- PASS: TestCasbinJsGetPermissionForUserOld (0.00s) === RUN TestCasbinJsGetPermissionForUser --- PASS: TestCasbinJsGetPermissionForUser (0.01s) === RUN TestGetList management_api_test.go:40: Subjects: [alice bob data2_admin] management_api_test.go:41: Objects: [data1 data2] management_api_test.go:42: Actions: [read write] management_api_test.go:43: Roles: [data2_admin] --- PASS: TestGetList (0.00s) === RUN TestGetListWithDomains management_api_test.go:49: Subjects: [admin] management_api_test.go:50: Objects: [data1 data2] management_api_test.go:51: Actions: [read write] management_api_test.go:52: Roles: [admin] --- PASS: TestGetListWithDomains (0.00s) === RUN TestGetPolicyAPI management_api_test.go:156: Policy: [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:162: Policy for alice : [[alice data1 read]] management_api_test.go:163: Policy for bob : [[bob data2 write]] management_api_test.go:164: Policy for data2_admin : [[data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:165: Policy for data1 : [[alice data1 read]] management_api_test.go:166: Policy for data2 : [[bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:167: Policy for read : [[alice data1 read] [data2_admin data2 read]] management_api_test.go:168: Policy for write : [[bob data2 write] [data2_admin data2 write]] management_api_test.go:170: Policy for 'alice' == p.sub : [[alice data1 read]] management_api_test.go:171: Policy for keyMatch2(p.sub, '*') : [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:177: Policy for data2_admin, data2 : [[data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:179: Policy for data2_admin, , read : [[data2_admin data2 read]] management_api_test.go:180: Policy for data2, write : [[bob data2 write] [data2_admin data2 write]] management_api_test.go:182: Has policy alice, data1, read : true management_api_test.go:183: Has policy bob, data2, write : true management_api_test.go:184: Has policy alice, data2, read : false management_api_test.go:185: Has policy bob, data3, write : false management_api_test.go:187: Grouping policy: [[alice data2_admin]] management_api_test.go:189: Grouping policy for alice : [[alice data2_admin]] management_api_test.go:190: Grouping policy for bob : [] management_api_test.go:191: Grouping policy for data1_admin : [] management_api_test.go:192: Grouping policy for data2_admin : [[alice data2_admin]] management_api_test.go:194: Grouping policy for , data2_admin : [[alice data2_admin]] management_api_test.go:196: Has grouping policy alice, data2_admin : true management_api_test.go:197: Has grouping policy bob, data2_admin : false --- PASS: TestGetPolicyAPI (0.00s) === RUN TestModifyPolicyAPI management_api_test.go:203: Policy: [[alice data1 read] [bob data2 write] [data2_admin data2 read] [data2_admin data2 write]] management_api_test.go:229: Policy: [[data2_admin data2 read] [data2_admin data2 write] [eve data3 read] [jack data4 read] [katy data4 write] [leyo data4 read] [ham data4 write]] management_api_test.go:245: Policy: [[data2_admin data2 read] [data2_admin data2 write] [eve data3 read]] management_api_test.go:252: Policy: [[eve data3 read]] management_api_test.go:256: Policy: [[eve data3 write]] management_api_test.go:265: Policy: [[eve data3 read] [jack data4 read] [katy data1 write] [leyo data4 write] [ham data4 write]] management_api_test.go:269: Policy: [[user1 data1 read]] management_api_test.go:272: Policy: [[user1 data1 read] [user2 data2 read]] management_api_test.go:275: Policy: [[user1 data1 read] [user2 data2 read] [user3 data3 read]] management_api_test.go:278: Policy: [[user1 data1 read] [user2 data2 read] [user3 data3 read] [user4 data4 read]] --- PASS: TestModifyPolicyAPI (0.00s) === RUN TestModifyGroupingPolicyAPI management_api_test.go:284: Roles for alice : [data2_admin] management_api_test.go:285: Roles for bob : [] management_api_test.go:286: Roles for eve : [] management_api_test.go:287: Roles for non_exist : [] management_api_test.go:299: Roles for ham : [data4_admin] management_api_test.go:300: Roles for jack : [data5_admin] management_api_test.go:303: Roles for alice : [] management_api_test.go:305: Roles for alice : [] management_api_test.go:307: Roles for alice : [data2_admin] management_api_test.go:312: Roles for ham : [data4_admin] management_api_test.go:313: Roles for jack : [data5_admin] management_api_test.go:317: Roles for alice : [] management_api_test.go:318: Roles for bob : [data1_admin] management_api_test.go:319: Roles for eve : [data3_admin] management_api_test.go:320: Roles for non_exist : [] management_api_test.go:322: Users for data1_admin : [bob] management_api_test.go:323: Users for data2_admin : [] management_api_test.go:324: Users for data3_admin : [eve] management_api_test.go:328: Roles for alice : [] management_api_test.go:329: Roles for bob : [] management_api_test.go:330: Roles for eve : [data3_admin] management_api_test.go:331: Roles for non_exist : [] management_api_test.go:333: Users for data1_admin : [] management_api_test.go:334: Users for data2_admin : [] management_api_test.go:335: Users for data3_admin : [eve] management_api_test.go:339: Users for data4_admin : [admin] management_api_test.go:340: Users for admin : [eve] management_api_test.go:342: Roles for eve : [admin] management_api_test.go:343: Roles for admin : [data4_admin] management_api_test.go:347: Users for data5_admin : [admin] management_api_test.go:348: Users for admin_groups : [eve] management_api_test.go:350: Roles for admin : [data5_admin] management_api_test.go:351: Roles for eve : [admin_groups] management_api_test.go:355: Users for member : [user1] management_api_test.go:358: Users for member : [user1 user2] management_api_test.go:361: Users for member : [user1 user2 user3] --- PASS: TestModifyGroupingPolicyAPI (0.00s) === RUN TestBasicModel --- PASS: TestBasicModel (0.00s) === RUN TestBasicModelWithoutSpaces --- PASS: TestBasicModelWithoutSpaces (0.01s) === RUN TestBasicModelNoPolicy --- PASS: TestBasicModelNoPolicy (0.00s) === RUN TestBasicModelWithRoot --- PASS: TestBasicModelWithRoot (0.00s) === RUN TestBasicModelWithRootNoPolicy --- PASS: TestBasicModelWithRootNoPolicy (0.00s) === RUN TestBasicModelWithoutUsers --- PASS: TestBasicModelWithoutUsers (0.01s) === RUN TestBasicModelWithoutResources --- PASS: TestBasicModelWithoutResources (0.01s) === RUN TestRBACModel --- PASS: TestRBACModel (0.00s) === RUN TestRBACModelWithResourceRoles --- PASS: TestRBACModelWithResourceRoles (0.00s) === RUN TestRBACModelWithDomains --- PASS: TestRBACModelWithDomains (0.00s) === RUN TestRBACModelWithDomainsAtRuntime --- PASS: TestRBACModelWithDomainsAtRuntime (0.00s) === RUN TestRBACModelWithDomainsAtRuntimeMockAdapter --- PASS: TestRBACModelWithDomainsAtRuntimeMockAdapter (0.00s) === RUN TestRBACModelWithDeny --- PASS: TestRBACModelWithDeny (0.01s) === RUN TestRBACModelWithOnlyDeny --- PASS: TestRBACModelWithOnlyDeny (0.00s) === RUN TestRBACModelWithCustomData --- PASS: TestRBACModelWithCustomData (0.00s) === RUN TestRBACModelWithPattern --- PASS: TestRBACModelWithPattern (0.03s) === RUN TestRBACModelWithDifferentTypesOfRoles --- PASS: TestRBACModelWithDifferentTypesOfRoles (0.01s) === RUN TestRBACModelWithCustomRoleManager --- PASS: TestRBACModelWithCustomRoleManager (0.00s) === RUN TestABACModel --- PASS: TestABACModel (0.00s) === RUN TestABACMapRequest --- PASS: TestABACMapRequest (0.00s) === RUN TestABACTypes --- PASS: TestABACTypes (0.00s) === RUN TestABACJsonRequest --- PASS: TestABACJsonRequest (0.01s) === RUN TestKeyMatchModel --- PASS: TestKeyMatchModel (0.00s) === RUN TestKeyMatch2Model --- PASS: TestKeyMatch2Model (0.01s) === RUN TestKeyMatchCustomModel --- PASS: TestKeyMatchCustomModel (0.00s) === RUN TestIPMatchModel --- PASS: TestIPMatchModel (0.01s) === RUN TestGlobMatchModel --- PASS: TestGlobMatchModel (0.01s) === RUN TestPriorityModel --- PASS: TestPriorityModel (0.00s) === RUN TestPriorityModelIndeterminate --- PASS: TestPriorityModelIndeterminate (0.00s) === RUN TestRBACModelInMultiLines --- PASS: TestRBACModelInMultiLines (0.00s) === RUN TestABACNotUsingPolicy --- PASS: TestABACNotUsingPolicy (0.00s) === RUN TestABACPolicy m m &{m eval(p_sub_rule) && r_obj == p_obj && r_act == p_act [] [] [] map[] map[] 0x9414bc4} r r &{r sub, obj, act [r_sub r_obj r_act] [] [] map[] map[] 0x9414bc4} logger logger &{ [] [] [] map[] map[] 0x9414bc4} p p &{p sub_rule, obj, act [p_sub_rule p_obj p_act] [] [[r.sub.Age > 18 /data1 read] [r.sub.Age < 60 /data2 write]] map[r.sub.Age < 60,/data2,write:1 r.sub.Age > 18,/data1,read:0] map[] 0x9414bc4} e e &{e some(where (p_eft == allow)) [] [] [] map[] map[] 0x9414bc4} --- PASS: TestABACPolicy (0.00s) === RUN TestCommentModel --- PASS: TestCommentModel (0.00s) === RUN TestDomainMatchModel --- PASS: TestDomainMatchModel (0.01s) === RUN TestAllMatchModel --- PASS: TestAllMatchModel (0.00s) === RUN TestTemporalRolesModel --- PASS: TestTemporalRolesModel (0.00s) === RUN TestTemporalRolesModelWithDomain --- PASS: TestTemporalRolesModelWithDomain (0.00s) === RUN TestRoleAPI rbac_api_test.go:74: Roles for alice : [data2_admin] rbac_api_test.go:75: Roles for bob : [] rbac_api_test.go:76: Roles for data2_admin : [] rbac_api_test.go:77: Roles for non_exist : [] rbac_api_test.go:79: alice has role data1_admin : false rbac_api_test.go:80: alice has role data2_admin : true rbac_api_test.go:84: Roles for alice : [data2_admin data1_admin] rbac_api_test.go:85: Roles for bob : [] rbac_api_test.go:86: Roles for data2_admin : [] rbac_api_test.go:90: Roles for alice : [data2_admin] rbac_api_test.go:91: Roles for bob : [] rbac_api_test.go:92: Roles for data2_admin : [] rbac_api_test.go:96: Roles for alice : [] rbac_api_test.go:97: Roles for bob : [] rbac_api_test.go:98: Roles for data2_admin : [] rbac_api_test.go:103: Roles for alice : [] rbac_api_test.go:104: Roles for bob : [] rbac_api_test.go:105: Roles for data2_admin : [] --- PASS: TestRoleAPI (0.00s) === RUN TestRoleAPI_Domains rbac_api_test.go:133: alice has role admin : true rbac_api_test.go:134: alice has role admin : false rbac_api_test.go:135: Roles for alice : [admin] rbac_api_test.go:136: Roles for bob : [] rbac_api_test.go:137: Roles for admin : [] rbac_api_test.go:138: Roles for non_exist : [] rbac_api_test.go:139: Roles for alice : [] rbac_api_test.go:140: Roles for bob : [admin] rbac_api_test.go:141: Roles for admin : [] rbac_api_test.go:142: Roles for non_exist : [] rbac_api_test.go:147: Roles for alice : [] rbac_api_test.go:148: Roles for bob : [admin] rbac_api_test.go:149: Roles for admin : [] rbac_api_test.go:150: Roles for non_exist : [] rbac_api_test.go:151: Roles for alice : [] rbac_api_test.go:152: Roles for bob : [admin] rbac_api_test.go:153: Roles for admin : [] rbac_api_test.go:154: Roles for non_exist : [] rbac_api_test.go:159: Roles for alice : [admin] rbac_api_test.go:160: Roles for bob : [] rbac_api_test.go:161: Roles for admin : [] rbac_api_test.go:162: Roles for non_exist : [] rbac_api_test.go:163: Roles for alice : [] rbac_api_test.go:164: Roles for bob : [admin] rbac_api_test.go:165: Roles for admin : [] rbac_api_test.go:166: Roles for non_exist : [] rbac_api_test.go:170: Roles for bob : [admin admin1 admin2] rbac_api_test.go:172: Permissions for admin : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_test.go:173: Permissions for admin : [[admin domain2 data2 read] [admin domain2 data2 write]] --- PASS: TestRoleAPI_Domains (0.00s) === RUN TestEnforcer_AddRolesForUser rbac_api_test.go:181: Roles for alice : [data2_admin] rbac_api_test.go:186: Roles for alice : [data1_admin data2_admin data3_admin] --- PASS: TestEnforcer_AddRolesForUser (0.00s) === RUN TestPermissionAPI rbac_api_test.go:240: Permissions for alice : [[alice read]] rbac_api_test.go:241: Permissions for bob : [[bob write]] rbac_api_test.go:243: alice has permission read : true rbac_api_test.go:244: alice has permission write : false rbac_api_test.go:245: bob has permission read : false rbac_api_test.go:246: bob has permission write : true rbac_api_test.go:284: Named permissions for user : [[user /data GET]] rbac_api_test.go:285: Named permissions for user : [[user view]] --- PASS: TestPermissionAPI (0.01s) === RUN TestImplicitRoleAPI rbac_api_test.go:311: Permissions for alice : [[alice data1 read]] rbac_api_test.go:312: Permissions for bob : [[bob data2 write]] rbac_api_test.go:314: Implicit roles for alice : [admin data1_admin data2_admin] rbac_api_test.go:315: Implicit roles for bob : [] rbac_api_test.go:323: Implicit roles for cathy : [/book/1/2/3/4/5 pen_admin] rbac_api_test.go:324: Roles for cathy : [/book/1/2/3/4/5 pen_admin] --- PASS: TestImplicitRoleAPI (0.00s) === RUN TestImplicitPermissionAPI rbac_api_test.go:360: Permissions for alice : [[alice data1 read]] rbac_api_test.go:361: Permissions for bob : [[bob data2 write]] rbac_api_test.go:363: Implicit permissions for alice : [[alice data1 read] [data1_admin data1 read] [data1_admin data1 write] [data2_admin data2 read] [data2_admin data2 write]] rbac_api_test.go:364: Implicit permissions for bob : [[bob data2 write]] rbac_api_test.go:369: Implicit permissions for admin : [[admin domain1 data1 read] [admin domain1 data1 write] [admin domain1 data3 read]] rbac_api_test.go:376: Implicit permissions for alice : [[admin domain2 data2 read] [admin domain2 data2 write] [admin domain2 data3 read]] rbac_api_test.go:382: Named implicit permissions for alice : [[user /data GET] [admin /data POST]] rbac_api_test.go:383: Named implicit permissions for alice : [[user view] [admin create]] rbac_api_test.go:385: Named implicit permissions for alice : [[user /data GET]] rbac_api_test.go:386: Named implicit permissions for alice : [[user view]] --- PASS: TestImplicitPermissionAPI (0.00s) === RUN TestImplicitPermissionAPIWithDomain rbac_api_test.go:391: Implicit permissions for alice under domain1 : [[role:reader domain1 data1 read] [role:writer domain1 data1 write] [alice domain1 data2 read]] --- PASS: TestImplicitPermissionAPIWithDomain (0.00s) === RUN TestImplicitUserAPI rbac_api_test.go:410: Implicit users for permission: [data1 read] : [alice] rbac_api_test.go:411: Implicit users for permission: [data1 write] : [alice] rbac_api_test.go:412: Implicit users for permission: [data2 read] : [alice] rbac_api_test.go:413: Implicit users for permission: [data2 write] : [alice bob] rbac_api_test.go:419: Implicit users for permission: [data1 read] : [bob alice] --- PASS: TestImplicitUserAPI (0.00s) === RUN TestGetImplicitResourcesForUser rbac_api_test.go:450: Implicit resources for user: alice : [[alice /pen/1 GET] [alice /pen2/1 GET] [alice /book/* GET] [alice /book/:id GET] [alice /book2/{id} GET] [alice book_group GET]] rbac_api_test.go:458: Implicit resources for user: bob : [[bob /pen/:id GET] [bob /pen2/{id} GET] [bob pen_group GET]] rbac_api_test.go:463: Implicit resources for user: cathy : [[cathy /pen2/{id} GET] [cathy /pen/:id GET] [cathy pen_group GET]] --- PASS: TestGetImplicitResourcesForUser (0.00s) === RUN TestImplicitUsersForRole rbac_api_test.go:473: Implicit users for book_admin : [alice] rbac_api_test.go:474: Implicit users for pen_admin : [bob cathy] rbac_api_test.go:476: Implicit users for book_group : [/book2/{id} /book/* /book/:id] rbac_api_test.go:477: Implicit users for pen_group : [/pen/:id /pen2/{id}] --- PASS: TestImplicitUsersForRole (0.00s) === RUN TestExplicitPriorityModify --- PASS: TestExplicitPriorityModify (0.00s) === RUN TestCustomizedFieldIndex --- PASS: TestCustomizedFieldIndex (0.02s) === RUN TestGetAllowedObjectConditions 2024/12/05 06:39:33 Policy: [price < 25 category_id = 2] 2024/12/05 06:39:33 Policy: [category_id = 2] 2024/12/05 06:39:33 Policy: [author = bob] 2024/12/05 06:39:33 Policy: [price < 25] 2024/12/05 06:39:33 Policy: [category_id = 2] 2024/12/05 06:39:33 Policy: [author = bob] --- PASS: TestGetAllowedObjectConditions (0.00s) === RUN TestGetImplicitUsersForResource rbac_api_test.go:623: Implicit users for data1 in domain [] : [[alice data1 read]] rbac_api_test.go:624: Implicit users for data2 in domain [] : [[bob data2 write] [alice data2 read] [alice data2 write]] rbac_api_test.go:631: Implicit users for data2 in domain [] : [[bob data2 write] [alice data2 read] [alice data2 write]] --- PASS: TestGetImplicitUsersForResource (0.00s) === RUN TestGetImplicitUsersForResourceByDomain rbac_api_test.go:652: Implicit users for data1 in domain domain1 : [[alice data1 domain1 read] [alice data1 domain1 write]] rbac_api_test.go:655: Implicit users for data2 in domain domain1 : [] rbac_api_test.go:657: Implicit users for data2 in domain domain2 : [[bob data2 domain2 read] [bob data2 domain2 write]] --- PASS: TestGetImplicitUsersForResourceByDomain (0.00s) === RUN TestGetImplicitRolesForDomainUser rbac_api_with_domains_test.go:49: Roles for alice under domain1 : [role:global_admin] rbac_api_with_domains_test.go:52: Implicit roles in domain domain1 for alice : [role:global_admin role:reader role:writer] --- PASS: TestGetImplicitRolesForDomainUser (0.00s) === RUN TestUserAPIWithDomains rbac_api_with_domains_test.go:59: Users for admin : [alice] rbac_api_with_domains_test.go:60: Users for admin under domain1 : [alice] rbac_api_with_domains_test.go:62: Users for non_exist : [] rbac_api_with_domains_test.go:63: Users for non_exist under domain1 : [] rbac_api_with_domains_test.go:65: Users for admin : [bob] rbac_api_with_domains_test.go:66: Users for admin under domain2 : [bob] rbac_api_with_domains_test.go:68: Users for non_exist : [] rbac_api_with_domains_test.go:69: Users for non_exist under domain2 : [] rbac_api_with_domains_test.go:74: Users for admin : [bob] rbac_api_with_domains_test.go:75: Users for admin under domain1 : [bob] rbac_api_with_domains_test.go:77: Users for non_exist : [] rbac_api_with_domains_test.go:78: Users for non_exist under domain1 : [] rbac_api_with_domains_test.go:80: Users for admin : [bob] rbac_api_with_domains_test.go:81: Users for admin under domain2 : [bob] rbac_api_with_domains_test.go:83: Users for non_exist : [] rbac_api_with_domains_test.go:84: Users for non_exist under domain2 : [] --- PASS: TestUserAPIWithDomains (0.00s) === RUN TestRoleAPIWithDomains rbac_api_with_domains_test.go:90: Roles for alice : [admin] rbac_api_with_domains_test.go:91: Roles for alice under domain1 : [admin] rbac_api_with_domains_test.go:93: Roles for bob : [] rbac_api_with_domains_test.go:94: Roles for bob under domain1 : [] rbac_api_with_domains_test.go:96: Roles for admin : [] rbac_api_with_domains_test.go:97: Roles for admin under domain1 : [] rbac_api_with_domains_test.go:99: Roles for non_exist : [] rbac_api_with_domains_test.go:100: Roles for non_exist under domain1 : [] rbac_api_with_domains_test.go:102: Roles for alice : [] rbac_api_with_domains_test.go:103: Roles for alice under domain2 : [] rbac_api_with_domains_test.go:105: Roles for bob : [admin] rbac_api_with_domains_test.go:106: Roles for bob under domain2 : [admin] rbac_api_with_domains_test.go:108: Roles for admin : [] rbac_api_with_domains_test.go:109: Roles for admin under domain2 : [] rbac_api_with_domains_test.go:111: Roles for non_exist : [] rbac_api_with_domains_test.go:112: Roles for non_exist under domain2 : [] rbac_api_with_domains_test.go:117: Roles for alice : [] rbac_api_with_domains_test.go:118: Roles for alice under domain1 : [] rbac_api_with_domains_test.go:120: Roles for bob : [admin] rbac_api_with_domains_test.go:121: Roles for bob under domain1 : [admin] rbac_api_with_domains_test.go:123: Roles for admin : [] rbac_api_with_domains_test.go:124: Roles for admin under domain1 : [] rbac_api_with_domains_test.go:126: Roles for non_exist : [] rbac_api_with_domains_test.go:127: Roles for non_exist under domain1 : [] rbac_api_with_domains_test.go:129: Roles for alice : [] rbac_api_with_domains_test.go:130: Roles for alice under domain2 : [] rbac_api_with_domains_test.go:132: Roles for bob : [admin] rbac_api_with_domains_test.go:133: Roles for bob under domain2 : [admin] rbac_api_with_domains_test.go:135: Roles for admin : [] rbac_api_with_domains_test.go:136: Roles for admin under domain2 : [] rbac_api_with_domains_test.go:138: Roles for non_exist : [] rbac_api_with_domains_test.go:139: Roles for non_exist under domain2 : [] rbac_api_with_domains_test.go:144: Roles for alice : [admin] rbac_api_with_domains_test.go:145: Roles for alice under domain1 : [admin] rbac_api_with_domains_test.go:147: Roles for bob : [] rbac_api_with_domains_test.go:148: Roles for bob under domain1 : [] rbac_api_with_domains_test.go:150: Roles for admin : [] rbac_api_with_domains_test.go:151: Roles for admin under domain1 : [] rbac_api_with_domains_test.go:153: Roles for non_exist : [] rbac_api_with_domains_test.go:154: Roles for non_exist under domain1 : [] rbac_api_with_domains_test.go:156: Roles for alice : [] rbac_api_with_domains_test.go:157: Roles for alice under domain2 : [] rbac_api_with_domains_test.go:159: Roles for bob : [admin] rbac_api_with_domains_test.go:160: Roles for bob under domain2 : [admin] rbac_api_with_domains_test.go:162: Roles for admin : [] rbac_api_with_domains_test.go:163: Roles for admin under domain2 : [] rbac_api_with_domains_test.go:165: Roles for non_exist : [] rbac_api_with_domains_test.go:166: Roles for non_exist under domain2 : [] --- PASS: TestRoleAPIWithDomains (0.00s) === RUN TestPermissionAPIInDomain rbac_api_with_domains_test.go:182: Permissions for alice under domain1 : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_with_domains_test.go:183: Permissions for bob under domain1 : [] rbac_api_with_domains_test.go:184: Permissions for admin under domain1 : [[admin domain1 data1 read] [admin domain1 data1 write]] rbac_api_with_domains_test.go:185: Permissions for non_exist under domain1 : [] rbac_api_with_domains_test.go:187: Permissions for alice under domain2 : [] rbac_api_with_domains_test.go:188: Permissions for bob under domain2 : [[admin domain2 data2 read] [admin domain2 data2 write]] rbac_api_with_domains_test.go:189: Permissions for admin under domain2 : [[admin domain2 data2 read] [admin domain2 data2 write]] rbac_api_with_domains_test.go:190: Permissions for non_exist under domain2 : [] --- PASS: TestPermissionAPIInDomain (0.00s) === RUN TestGetDomainsForUser --- PASS: TestGetDomainsForUser (0.00s) === RUN TestGetAllUsersByDomain --- PASS: TestGetAllUsersByDomain (0.00s) === RUN TestDeleteAllUsersByDomain --- PASS: TestDeleteAllUsersByDomain (0.00s) === RUN TestGetAllDomains --- PASS: TestGetAllDomains (0.00s) === RUN TestGetAllRolesByDomain --- PASS: TestGetAllRolesByDomain (0.00s) === RUN TestSetWatcherEx --- PASS: TestSetWatcherEx (0.00s) === RUN TestSetWatcher --- PASS: TestSetWatcher (0.00s) === RUN TestSelfModify --- PASS: TestSelfModify (0.00s) === RUN TestSetWatcherUpdatable --- PASS: TestSetWatcherUpdatable (0.00s) PASS ok github.com/casbin/casbin 18.557s === RUN TestGet --- PASS: TestGet (0.00s) PASS ok github.com/casbin/casbin/config 0.044s === RUN TestLog --- PASS: TestLog (0.00s) PASS ok github.com/casbin/casbin/log 0.040s === RUN TestNewModel --- PASS: TestNewModel (0.00s) === RUN TestNewModelFromFile --- PASS: TestNewModelFromFile (0.00s) === RUN TestNewModelFromString --- PASS: TestNewModelFromString (0.00s) === RUN TestLoadModelFromConfig --- PASS: TestLoadModelFromConfig (0.00s) === RUN TestHasSection --- PASS: TestHasSection (0.00s) === RUN TestModel_AddDef --- PASS: TestModel_AddDef (0.00s) === RUN TestModelToTest [request_definition] r = sub, obj, act [policy_definition] p = sub, obj, act [policy_effect] e = some(where (p.eft == allow)) [matchers] m = r.sub == p.sub && r.obj == p.obj && r_func(r.act, p.act) && testr_func(r.act, p.act) [request_definition] r = sub, obj, act [policy_definition] p = sub, obj, act [policy_effect] e = some(where (p.eft == allow)) [matchers] m = r.sub == p.sub && r.obj == p.obj && p_func(r.act, p.act) && testp_func(r.act, p.act) --- PASS: TestModelToTest (0.00s) PASS ok github.com/casbin/casbin/model 0.052s === RUN TestPersist --- PASS: TestPersist (0.00s) === RUN TestDuplicateRuleInAdapter --- PASS: TestDuplicateRuleInAdapter (0.00s) PASS ok github.com/casbin/casbin/persist 0.055s === RUN Test_KeyMatchRbac --- PASS: Test_KeyMatchRbac (0.00s) === RUN Test_StringRbac --- PASS: Test_StringRbac (0.00s) PASS ok github.com/casbin/casbin/persist/string-adapter 0.038s === RUN TestRole role_manager_test.go:90: u1, g1: true role_manager_test.go:91: u1, g2: false role_manager_test.go:92: u1, g3: true role_manager_test.go:93: u2, g1: true role_manager_test.go:94: u2, g2: false role_manager_test.go:95: u2, g3: true role_manager_test.go:96: u3, g1: false role_manager_test.go:97: u3, g2: true role_manager_test.go:98: u3, g3: false role_manager_test.go:99: u4, g1: false role_manager_test.go:100: u4, g2: true role_manager_test.go:101: u4, g3: true role_manager_test.go:103: u1: [g1] role_manager_test.go:104: u2: [g1] role_manager_test.go:105: u3: [g2] role_manager_test.go:106: u4: [g2 g3] role_manager_test.go:107: g1: [g3] role_manager_test.go:108: g2: [] role_manager_test.go:109: g3: [] role_manager_test.go:121: u1, g1: true role_manager_test.go:122: u1, g2: false role_manager_test.go:123: u1, g3: false role_manager_test.go:124: u2, g1: true role_manager_test.go:125: u2, g2: false role_manager_test.go:126: u2, g3: false role_manager_test.go:127: u3, g1: false role_manager_test.go:128: u3, g2: true role_manager_test.go:129: u3, g3: false role_manager_test.go:130: u4, g1: false role_manager_test.go:131: u4, g2: false role_manager_test.go:132: u4, g3: true role_manager_test.go:134: u1: [g1] role_manager_test.go:135: u2: [g1] role_manager_test.go:136: u3: [g2] role_manager_test.go:137: u4: [g3] role_manager_test.go:138: g1: [] role_manager_test.go:139: g2: [] role_manager_test.go:140: g3: [] role_manager_test.go:155: u1, g1: true role_manager_test.go:156: u1, g2: true role_manager_test.go:157: u2, g2: true role_manager_test.go:158: u2, g1: false role_manager_test.go:159: u1: [g1 * u2 g2 u1] role_manager_test.go:160: *: [u1] --- PASS: TestRole (0.00s) === RUN TestDomainRole role_manager_test.go:179: domain1 :: u1, g1: true role_manager_test.go:180: domain2 :: u1, g1: false role_manager_test.go:181: domain1 :: u1, admin: true role_manager_test.go:182: domain2 :: u1, admin: false role_manager_test.go:184: domain1 :: u2, g1: true role_manager_test.go:185: domain2 :: u2, g1: false role_manager_test.go:186: domain1 :: u2, admin: true role_manager_test.go:187: domain2 :: u2, admin: false role_manager_test.go:189: domain1 :: u3, g1: false role_manager_test.go:190: domain2 :: u3, g1: false role_manager_test.go:191: domain1 :: u3, admin: false role_manager_test.go:192: domain2 :: u3, admin: true role_manager_test.go:194: domain1 :: u4, g1: false role_manager_test.go:195: domain2 :: u4, g1: false role_manager_test.go:196: domain1 :: u4, admin: true role_manager_test.go:197: domain2 :: u4, admin: true role_manager_test.go:209: domain1 :: u1, g1: true role_manager_test.go:210: domain2 :: u1, g1: false role_manager_test.go:211: domain1 :: u1, admin: false role_manager_test.go:212: domain2 :: u1, admin: false role_manager_test.go:214: domain1 :: u2, g1: true role_manager_test.go:215: domain2 :: u2, g1: false role_manager_test.go:216: domain1 :: u2, admin: false role_manager_test.go:217: domain2 :: u2, admin: false role_manager_test.go:219: domain1 :: u3, g1: false role_manager_test.go:220: domain2 :: u3, g1: false role_manager_test.go:221: domain1 :: u3, admin: false role_manager_test.go:222: domain2 :: u3, admin: true role_manager_test.go:224: domain1 :: u4, g1: false role_manager_test.go:225: domain2 :: u4, g1: false role_manager_test.go:226: domain1 :: u4, admin: true role_manager_test.go:227: domain2 :: u4, admin: false --- PASS: TestDomainRole (0.00s) === RUN TestClear role_manager_test.go:251: u1, g1: false role_manager_test.go:252: u1, g2: false role_manager_test.go:253: u1, g3: false role_manager_test.go:254: u2, g1: false role_manager_test.go:255: u2, g2: false role_manager_test.go:256: u2, g3: false role_manager_test.go:257: u3, g1: false role_manager_test.go:258: u3, g2: false role_manager_test.go:259: u3, g3: false role_manager_test.go:260: u4, g1: false role_manager_test.go:261: u4, g2: false role_manager_test.go:262: u4, g3: false --- PASS: TestClear (0.00s) === RUN TestDomainPatternRole role_manager_test.go:279: domain1 :: u1, g1: true role_manager_test.go:280: domain1 :: u2, g1: false role_manager_test.go:281: domain2 :: u2, g1: true role_manager_test.go:282: domain1 :: u3, g1: true role_manager_test.go:283: domain2 :: u3, g1: true role_manager_test.go:284: domain1 :: u1, g2: false role_manager_test.go:285: domain3 :: u4, g2: true role_manager_test.go:286: domain3 :: u3, g2: false --- PASS: TestDomainPatternRole (0.00s) === RUN TestAllMatchingFunc role_manager_test.go:305: domain1 :: /book/1, book_group: true role_manager_test.go:306: domain1 :: /book/2, book_group: true --- PASS: TestAllMatchingFunc (0.00s) === RUN TestMatchingFuncOrder role_manager_test.go:315: u1, root: true role_manager_test.go:321: u1, root: true role_manager_test.go:326: u1, g1: true role_manager_test.go:327: u1, g2: true --- PASS: TestMatchingFuncOrder (0.00s) === RUN TestDomainMatchingFuncWithDifferentDomain role_manager_test.go:337: domain1 :: alice, admin: true role_manager_test.go:338: domain2 :: alice, admin: false --- PASS: TestDomainMatchingFuncWithDifferentDomain (0.00s) === RUN TestTemporaryRoles role_manager_test.go:348: u0, user: true role_manager_test.go:348: u1, user: true role_manager_test.go:348: u2, user: true role_manager_test.go:348: u3, user: true role_manager_test.go:348: u4, user: true role_manager_test.go:348: u5, user: true role_manager_test.go:348: u6, user: true role_manager_test.go:348: u7, user: true role_manager_test.go:348: u8, user: true role_manager_test.go:348: u9, user: true role_manager_test.go:351: user: [u\d+] role_manager_test.go:352: u1: [user] role_manager_test.go:357: u10, user: true role_manager_test.go:357: u11, user: true role_manager_test.go:357: u12, user: true role_manager_test.go:357: u13, user: true role_manager_test.go:357: u14, user: true role_manager_test.go:357: u15, user: true role_manager_test.go:357: u16, user: true role_manager_test.go:357: u17, user: true role_manager_test.go:357: u18, user: true role_manager_test.go:357: u19, user: true role_manager_test.go:360: user: [u\d+ u1] role_manager_test.go:361: u1: [manager user] --- PASS: TestTemporaryRoles (0.00s) === RUN TestMaxHierarchyLevel role_manager_test.go:370: level0, level0: true role_manager_test.go:371: level0, level1: true role_manager_test.go:372: level0, level2: false role_manager_test.go:373: level0, level3: false role_manager_test.go:374: level1, level2: true role_manager_test.go:375: level1, level3: false role_manager_test.go:382: level0, level0: true role_manager_test.go:383: level0, level1: true role_manager_test.go:384: level0, level2: true role_manager_test.go:385: level0, level3: false role_manager_test.go:386: level1, level2: true role_manager_test.go:387: level1, level3: true --- PASS: TestMaxHierarchyLevel (0.00s) PASS ok github.com/casbin/casbin/rbac/default-role-manager 0.034s === RUN TestKeyMatch builtin_operators_test.go:32: /foo < /foo: true builtin_operators_test.go:33: /foo < /foo*: true builtin_operators_test.go:34: /foo < /foo/*: false builtin_operators_test.go:35: /foo/bar < /foo: false builtin_operators_test.go:36: /foo/bar < /foo*: true builtin_operators_test.go:37: /foo/bar < /foo/*: true builtin_operators_test.go:38: /foobar < /foo: false builtin_operators_test.go:39: /foobar < /foo*: true builtin_operators_test.go:40: /foobar < /foo/*: false --- PASS: TestKeyMatch (0.00s) === RUN TestKeyGet builtin_operators_test.go:54: /foo < /foo: "" builtin_operators_test.go:55: /foo < /foo*: "" builtin_operators_test.go:56: /foo < /foo/*: "" builtin_operators_test.go:57: /foo/bar < /foo: "" builtin_operators_test.go:58: /foo/bar < /foo*: "/bar" builtin_operators_test.go:59: /foo/bar < /foo/*: "bar" builtin_operators_test.go:60: /foobar < /foo: "" builtin_operators_test.go:61: /foobar < /foo*: "bar" builtin_operators_test.go:62: /foobar < /foo/*: "" --- PASS: TestKeyGet (0.00s) === RUN TestKeyMatch2 builtin_operators_test.go:89: /foo < /foo: true builtin_operators_test.go:90: /foo < /foo*: true builtin_operators_test.go:91: /foo < /foo/*: false builtin_operators_test.go:92: /foo/bar < /foo: false builtin_operators_test.go:93: /foo/bar < /foo*: false builtin_operators_test.go:94: /foo/bar < /foo/*: true builtin_operators_test.go:95: /foobar < /foo: false builtin_operators_test.go:96: /foobar < /foo*: false builtin_operators_test.go:97: /foobar < /foo/*: false builtin_operators_test.go:99: / < /:resource: false builtin_operators_test.go:100: /resource1 < /:resource: true builtin_operators_test.go:101: /myid < /:id/using/:resId: false builtin_operators_test.go:102: /myid/using/myresid < /:id/using/:resId: true builtin_operators_test.go:104: /proxy/myid < /proxy/:id/*: false builtin_operators_test.go:105: /proxy/myid/ < /proxy/:id/*: true builtin_operators_test.go:106: /proxy/myid/res < /proxy/:id/*: true builtin_operators_test.go:107: /proxy/myid/res/res2 < /proxy/:id/*: true builtin_operators_test.go:108: /proxy/myid/res/res2/res3 < /proxy/:id/*: true builtin_operators_test.go:109: /proxy/ < /proxy/:id/*: false builtin_operators_test.go:111: /alice < /:id: true builtin_operators_test.go:112: /alice/all < /:id/all: true builtin_operators_test.go:113: /alice < /:id/all: false builtin_operators_test.go:114: /alice/all < /:id: false builtin_operators_test.go:116: /alice/all < /:/all: false --- PASS: TestKeyMatch2 (0.00s) === RUN TestKeyGet2 builtin_operators_test.go:130: /foo < /foo: id = "" builtin_operators_test.go:131: /foo < /foo*: id = "" builtin_operators_test.go:132: /foo < /foo/*: id = "" builtin_operators_test.go:133: /foo/bar < /foo: id = "" builtin_operators_test.go:134: /foo/bar < /foo*: id = "" builtin_operators_test.go:135: /foo/bar < /foo/*: id = "" builtin_operators_test.go:136: /foobar < /foo: id = "" builtin_operators_test.go:137: /foobar < /foo*: id = "" builtin_operators_test.go:138: /foobar < /foo/*: id = "" builtin_operators_test.go:140: / < /:resource: resource = "" builtin_operators_test.go:141: /resource1 < /:resource: resource = "resource1" builtin_operators_test.go:142: /myid < /:id/using/:resId: id = "" builtin_operators_test.go:143: /myid/using/myresid < /:id/using/:resId: id = "myid" builtin_operators_test.go:144: /myid/using/myresid < /:id/using/:resId: resId = "myresid" builtin_operators_test.go:146: /proxy/myid < /proxy/:id/*: id = "" builtin_operators_test.go:147: /proxy/myid/ < /proxy/:id/*: id = "myid" builtin_operators_test.go:148: /proxy/myid/res < /proxy/:id/*: id = "myid" builtin_operators_test.go:149: /proxy/myid/res/res2 < /proxy/:id/*: id = "myid" builtin_operators_test.go:150: /proxy/myid/res/res2/res3 < /proxy/:id/*: id = "myid" builtin_operators_test.go:151: /proxy/myid/res/res2/res3 < /proxy/:id/res/*: id = "myid" builtin_operators_test.go:152: /proxy/ < /proxy/:id/*: id = "" builtin_operators_test.go:154: /alice < /:id: id = "alice" builtin_operators_test.go:155: /alice/all < /:id/all: id = "alice" builtin_operators_test.go:156: /alice < /:id/all: id = "" builtin_operators_test.go:157: /alice/all < /:id: id = "" builtin_operators_test.go:159: /alice/all < /:/all: = "" --- PASS: TestKeyGet2 (0.00s) === RUN TestKeyMatch3 builtin_operators_test.go:174: /foo < /foo: true builtin_operators_test.go:175: /foo < /foo*: true builtin_operators_test.go:176: /foo < /foo/*: false builtin_operators_test.go:177: /foo/bar < /foo: false builtin_operators_test.go:178: /foo/bar < /foo*: false builtin_operators_test.go:179: /foo/bar < /foo/*: true builtin_operators_test.go:180: /foobar < /foo: false builtin_operators_test.go:181: /foobar < /foo*: false builtin_operators_test.go:182: /foobar < /foo/*: false builtin_operators_test.go:184: / < /{resource}: false builtin_operators_test.go:185: /resource1 < /{resource}: true builtin_operators_test.go:186: /myid < /{id}/using/{resId}: false builtin_operators_test.go:187: /myid/using/myresid < /{id}/using/{resId}: true builtin_operators_test.go:189: /proxy/myid < /proxy/{id}/*: false builtin_operators_test.go:190: /proxy/myid/ < /proxy/{id}/*: true builtin_operators_test.go:191: /proxy/myid/res < /proxy/{id}/*: true builtin_operators_test.go:192: /proxy/myid/res/res2 < /proxy/{id}/*: true builtin_operators_test.go:193: /proxy/myid/res/res2/res3 < /proxy/{id}/*: true builtin_operators_test.go:194: /proxy/ < /proxy/{id}/*: false builtin_operators_test.go:196: /myid/using/myresid < /{id/using/{resId}: false --- PASS: TestKeyMatch3 (0.00s) === RUN TestKeyGet3 builtin_operators_test.go:211: /foo < /foo: id = "" builtin_operators_test.go:212: /foo < /foo*: id = "" builtin_operators_test.go:213: /foo < /foo/*: id = "" builtin_operators_test.go:214: /foo/bar < /foo: id = "" builtin_operators_test.go:215: /foo/bar < /foo*: id = "" builtin_operators_test.go:216: /foo/bar < /foo/*: id = "" builtin_operators_test.go:217: /foobar < /foo: id = "" builtin_operators_test.go:218: /foobar < /foo*: id = "" builtin_operators_test.go:219: /foobar < /foo/*: id = "" builtin_operators_test.go:221: / < /{resource}: resource = "" builtin_operators_test.go:222: /resource1 < /{resource}: resource = "resource1" builtin_operators_test.go:223: /myid < /{id}/using/{resId}: id = "" builtin_operators_test.go:224: /myid/using/myresid < /{id}/using/{resId}: id = "myid" builtin_operators_test.go:225: /myid/using/myresid < /{id}/using/{resId}: resId = "myresid" builtin_operators_test.go:227: /proxy/myid < /proxy/{id}/*: id = "" builtin_operators_test.go:228: /proxy/myid/ < /proxy/{id}/*: id = "myid" builtin_operators_test.go:229: /proxy/myid/res < /proxy/{id}/*: id = "myid" builtin_operators_test.go:230: /proxy/myid/res/res2 < /proxy/{id}/*: id = "myid" builtin_operators_test.go:231: /proxy/myid/res/res2/res3 < /proxy/{id}/*: id = "myid" builtin_operators_test.go:232: /proxy/ < /proxy/{id}/*: id = "" builtin_operators_test.go:234: /api/group1_group_name/project1_admin/info < /api/{proj}_admin/info: proj = "" builtin_operators_test.go:236: /{id/using/myresid < /{id/using/{resId}: resId = "myresid" builtin_operators_test.go:237: /{id/using/myresid/status} < /{id/using/{resId}/status}: resId = "myresid" builtin_operators_test.go:239: /proxy/myid/res/res2/res3 < /proxy/{id}/*/{res}: res = "res3" builtin_operators_test.go:240: /api/project1_admin/info < /api/{proj}_admin/info: proj = "project1" builtin_operators_test.go:241: /api/group1_group_name/project1_admin/info < /api/{g}_{gn}/{proj}_admin/info: g = "group1" builtin_operators_test.go:243: /api/group1_group_name/project1_admin/info < /api/{g}_{gn}/{proj}_admin/info: gn = "group_name" builtin_operators_test.go:245: /api/group1_group_name/project1_admin/info < /api/{g}_{gn}/{proj}_admin/info: proj = "project1" --- PASS: TestKeyGet3 (0.00s) === RUN TestKeyMatch4 builtin_operators_test.go:260: /parent/123/child/123 < /parent/{id}/child/{id}: true builtin_operators_test.go:261: /parent/123/child/456 < /parent/{id}/child/{id}: false builtin_operators_test.go:263: /parent/123/child/123 < /parent/{id}/child/{another_id}: true builtin_operators_test.go:264: /parent/123/child/456 < /parent/{id}/child/{another_id}: true builtin_operators_test.go:266: /parent/123/child/123/book/123 < /parent/{id}/child/{id}/book/{id}: true builtin_operators_test.go:267: /parent/123/child/123/book/456 < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:268: /parent/123/child/456/book/123 < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:269: /parent/123/child/456/book/ < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:270: /parent/123/child/456 < /parent/{id}/child/{id}/book/{id}: false builtin_operators_test.go:272: /parent/123/child/123 < /parent/{i/d}/child/{i/d}: false --- PASS: TestKeyMatch4 (0.00s) === RUN TestRegexMatch builtin_operators_test.go:286: /topic/create < /topic/create: true builtin_operators_test.go:287: /topic/create/123 < /topic/create: true builtin_operators_test.go:288: /topic/delete < /topic/create: false builtin_operators_test.go:289: /topic/edit < /topic/edit/[0-9]+: false builtin_operators_test.go:290: /topic/edit/123 < /topic/edit/[0-9]+: true builtin_operators_test.go:291: /topic/edit/abc < /topic/edit/[0-9]+: false builtin_operators_test.go:292: /foo/delete/123 < /topic/delete/[0-9]+: false builtin_operators_test.go:293: /topic/delete/0 < /topic/delete/[0-9]+: true builtin_operators_test.go:294: /topic/edit/123s < /topic/delete/[0-9]+: false --- PASS: TestRegexMatch (0.00s) === RUN TestIPMatch builtin_operators_test.go:308: 192.168.2.123 < 192.168.2.0/24: true builtin_operators_test.go:309: 192.168.2.123 < 192.168.3.0/24: false builtin_operators_test.go:310: 192.168.2.123 < 192.168.2.0/16: true builtin_operators_test.go:311: 192.168.2.123 < 192.168.2.123: true builtin_operators_test.go:312: 192.168.2.123 < 192.168.2.123/32: true builtin_operators_test.go:313: 10.0.0.11 < 10.0.0.0/8: true builtin_operators_test.go:314: 11.0.0.123 < 10.0.0.0/8: false --- PASS: TestIPMatch (0.00s) === RUN TestRegexMatchFunc --- PASS: TestRegexMatchFunc (0.00s) === RUN TestKeyMatchFunc --- PASS: TestKeyMatchFunc (0.00s) === RUN TestKeyMatch2Func --- PASS: TestKeyMatch2Func (0.00s) === RUN TestKeyMatch3Func --- PASS: TestKeyMatch3Func (0.00s) === RUN TestKeyMatch4Func --- PASS: TestKeyMatch4Func (0.00s) === RUN TestKeyMatch5Func --- PASS: TestKeyMatch5Func (0.00s) === RUN TestIPMatchFunc --- PASS: TestIPMatchFunc (0.00s) === RUN TestGlobMatch builtin_operators_test.go:533: /foo < /foo: true builtin_operators_test.go:534: /foo < /foo*: true builtin_operators_test.go:535: /foo < /foo/*: false builtin_operators_test.go:536: /foo/bar < /foo: false builtin_operators_test.go:537: /foo/bar < /foo*: false builtin_operators_test.go:538: /foo/bar < /foo/*: true builtin_operators_test.go:539: /foobar < /foo: false builtin_operators_test.go:540: /foobar < /foo*: true builtin_operators_test.go:541: /foobar < /foo/*: false builtin_operators_test.go:543: /foo < */foo: true builtin_operators_test.go:544: /foo < */foo*: true builtin_operators_test.go:545: /foo < */foo/*: false builtin_operators_test.go:546: /foo/bar < */foo: false builtin_operators_test.go:547: /foo/bar < */foo*: false builtin_operators_test.go:548: /foo/bar < */foo/*: true builtin_operators_test.go:549: /foobar < */foo: false builtin_operators_test.go:550: /foobar < */foo*: true builtin_operators_test.go:551: /foobar < */foo/*: false builtin_operators_test.go:553: /prefix/foo < */foo: false builtin_operators_test.go:554: /prefix/foo < */foo*: false builtin_operators_test.go:555: /prefix/foo < */foo/*: false builtin_operators_test.go:556: /prefix/foo/bar < */foo: false builtin_operators_test.go:557: /prefix/foo/bar < */foo*: false builtin_operators_test.go:558: /prefix/foo/bar < */foo/*: false builtin_operators_test.go:559: /prefix/foobar < */foo: false builtin_operators_test.go:560: /prefix/foobar < */foo*: false builtin_operators_test.go:561: /prefix/foobar < */foo/*: false builtin_operators_test.go:563: /prefix/subprefix/foo < */foo: false builtin_operators_test.go:564: /prefix/subprefix/foo < */foo*: false builtin_operators_test.go:565: /prefix/subprefix/foo < */foo/*: false builtin_operators_test.go:566: /prefix/subprefix/foo/bar < */foo: false builtin_operators_test.go:567: /prefix/subprefix/foo/bar < */foo*: false builtin_operators_test.go:568: /prefix/subprefix/foo/bar < */foo/*: false builtin_operators_test.go:569: /prefix/subprefix/foobar < */foo: false builtin_operators_test.go:570: /prefix/subprefix/foobar < */foo*: false builtin_operators_test.go:571: /prefix/subprefix/foobar < */foo/*: false builtin_operators_test.go:573: /foo < **/foo: true builtin_operators_test.go:574: /foo < **/foo**: true builtin_operators_test.go:575: /foo < **/foo/**: true builtin_operators_test.go:576: /foo/bar < **/foo: false builtin_operators_test.go:577: /foo/bar < **/foo**: false builtin_operators_test.go:578: /foo/bar < **/foo/**: true builtin_operators_test.go:579: /foobar < **/foo: false builtin_operators_test.go:580: /foobar < **/foo**: true builtin_operators_test.go:581: /foobar < **/foo/**: false builtin_operators_test.go:583: /prefix/foo < **/foo: true builtin_operators_test.go:584: /prefix/foo < **/foo**: true builtin_operators_test.go:585: /prefix/foo < **/foo/**: true builtin_operators_test.go:586: /prefix/foo/bar < **/foo: false builtin_operators_test.go:587: /prefix/foo/bar < **/foo**: false builtin_operators_test.go:588: /prefix/foo/bar < **/foo/**: true builtin_operators_test.go:589: /prefix/foobar < **/foo: false builtin_operators_test.go:590: /prefix/foobar < **/foo**: true builtin_operators_test.go:591: /prefix/foobar < **/foo/**: false builtin_operators_test.go:593: /prefix/subprefix/foo < **/foo: true builtin_operators_test.go:594: /prefix/subprefix/foo < **/foo**: true builtin_operators_test.go:595: /prefix/subprefix/foo < **/foo/**: true builtin_operators_test.go:596: /prefix/subprefix/foo/bar < **/foo: false builtin_operators_test.go:597: /prefix/subprefix/foo/bar < **/foo**: false builtin_operators_test.go:598: /prefix/subprefix/foo/bar < **/foo/**: true builtin_operators_test.go:599: /prefix/subprefix/foobar < **/foo: false builtin_operators_test.go:600: /prefix/subprefix/foobar < **/foo**: true builtin_operators_test.go:601: /prefix/subprefix/foobar < **/foo/**: false builtin_operators_test.go:603: /foo < */foo**: true builtin_operators_test.go:604: /foo < **/foo*: true builtin_operators_test.go:605: /foo < */foo/**: true builtin_operators_test.go:606: /foo < **/foo/*: false builtin_operators_test.go:607: /foo/bar < */foo**: false builtin_operators_test.go:608: /foo/bar < **/foo*: false builtin_operators_test.go:609: /foo/bar < */foo/**: true builtin_operators_test.go:610: /foo/bar < **/foo/*: true builtin_operators_test.go:611: /foobar < */foo**: true builtin_operators_test.go:612: /foobar < **/foo*: true builtin_operators_test.go:613: /foobar < */foo/**: false builtin_operators_test.go:614: /foobar < **/foo/*: false builtin_operators_test.go:616: /prefix/foo < */foo**: false builtin_operators_test.go:617: /prefix/foo < **/foo*: true builtin_operators_test.go:618: /prefix/foo < */foo/**: false builtin_operators_test.go:619: /prefix/foo < **/foo/*: false builtin_operators_test.go:620: /prefix/foo/bar < */foo**: false builtin_operators_test.go:621: /prefix/foo/bar < **/foo*: false builtin_operators_test.go:622: /prefix/foo/bar < */foo/**: false builtin_operators_test.go:623: /prefix/foo/bar < **/foo/*: true builtin_operators_test.go:624: /prefix/foobar < */foo**: false builtin_operators_test.go:625: /prefix/foobar < **/foo*: true builtin_operators_test.go:626: /prefix/foobar < */foo/**: false builtin_operators_test.go:627: /prefix/foobar < **/foo/*: false builtin_operators_test.go:629: /prefix/subprefix/foo < */foo**: false builtin_operators_test.go:630: /prefix/subprefix/foo < **/foo*: true builtin_operators_test.go:631: /prefix/subprefix/foo < */foo/**: false builtin_operators_test.go:632: /prefix/subprefix/foo < **/foo/*: false builtin_operators_test.go:633: /prefix/subprefix/foo/bar < */foo**: false builtin_operators_test.go:634: /prefix/subprefix/foo/bar < **/foo*: false builtin_operators_test.go:635: /prefix/subprefix/foo/bar < */foo/**: false builtin_operators_test.go:636: /prefix/subprefix/foo/bar < **/foo/*: true builtin_operators_test.go:637: /prefix/subprefix/foobar < */foo**: false builtin_operators_test.go:638: /prefix/subprefix/foobar < **/foo*: true builtin_operators_test.go:639: /prefix/subprefix/foobar < */foo/**: false builtin_operators_test.go:640: /prefix/subprefix/foobar < **/foo/*: false --- PASS: TestGlobMatch (0.00s) === RUN TestTestMatch builtin_operators_test.go:657: 0000-01-01 00:00:00 < 0000-01-02 00:00:00: false builtin_operators_test.go:658: 0000-01-01 00:00:00 < 9999-12-30 00:00:00: true builtin_operators_test.go:659: _ < _: true builtin_operators_test.go:660: _ < 9999-12-30 00:00:00: true builtin_operators_test.go:661: _ < 0000-01-02 00:00:00: false builtin_operators_test.go:662: 0000-01-01 00:00:00 < _: true builtin_operators_test.go:663: 9999-12-30 00:00:00 < _: false --- PASS: TestTestMatch (0.00s) === RUN TestEscapeAssertion util_test.go:32: r_sub == r_obj.value: r_sub == r_obj.value util_test.go:33: p_sub == r_sub.value: p_sub == r_sub.value util_test.go:34: r.attr.value == p.attr: r_attr.value == p_attr util_test.go:35: r.attr.value == p.attr: r_attr.value == p_attr util_test.go:36: r.attp.value || p.attr: r_attp.value || p_attr util_test.go:37: r2.attr.value == p2.attr: r2_attr.value == p2_attr util_test.go:38: r2.attp.value || p2.attr: r2_attp.value || p2_attr util_test.go:39: r.attp.value &&p.attr: r_attp.value &&p_attr util_test.go:40: r.attp.value >p.attr: r_attp.value >p_attr util_test.go:41: r.attp.value Changed-By: Mathias Gibbens Description: golang-github-casbin-casbin-dev - Authorization library that supports access control models like AC Changes: golang-github-casbin-casbin (2.102.0-1) unstable; urgency=medium . * New upstream release Checksums-Sha1: f35c2bb72ed79c631e5cab0cf772c755057d6734 73612 golang-github-casbin-casbin-dev_2.102.0-1_all.deb 0c220788cfbc6f0dc54f2a1a0683ee28fffb5e77 5120 golang-github-casbin-casbin_2.102.0-1_i386.buildinfo Checksums-Sha256: 8983a9a648453a368aafcb65f3a1f6f485954a5d6bb1ecc0544cfdb8254f7907 73612 golang-github-casbin-casbin-dev_2.102.0-1_all.deb d114c3a6730ef6655f229277aff5c5805c179a4dbfcf5fb1afda0a6b55ba7e57 5120 golang-github-casbin-casbin_2.102.0-1_i386.buildinfo Files: b7ba58deeedddfead586ba827d2f27f1 73612 golang optional golang-github-casbin-casbin-dev_2.102.0-1_all.deb 5970b9710c4867b2b3e37eafee51b026 5120 golang optional golang-github-casbin-casbin_2.102.0-1_i386.buildinfo Thu Dec 5 06:41:04 UTC 2024 I: diffoscope 283 will be used to compare the two builds: Running as unit: rb-diffoscope-i386_19-34730.service # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/golang-github-casbin-casbin_2.102.0-1.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/golang-github-casbin-casbin_2.102.0-1.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/golang-github-casbin-casbin_2.102.0-1.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/b1/golang-github-casbin-casbin_2.102.0-1_i386.changes /srv/reproducible-results/rbuild-debian/r-b-build.QfjFVRFq/b2/golang-github-casbin-casbin_2.102.0-1_i386.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.349s) 0.349s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.015s) 0.015s 12 calls diffoscope.comparators.binary.FilesystemFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Finished with result: success Main processes terminated with: code=exited/status=0 Service runtime: 703ms CPU time consumed: 685ms Thu Dec 5 06:41:05 UTC 2024 I: diffoscope 283 found no differences in the changes files, and a .buildinfo file also exists. Thu Dec 5 06:41:05 UTC 2024 I: golang-github-casbin-casbin from unstable built successfully and reproducibly on i386. Thu Dec 5 06:41:06 UTC 2024 I: Submitting .buildinfo files to external archives: Thu Dec 5 06:41:06 UTC 2024 I: Submitting 8.0K b1/golang-github-casbin-casbin_2.102.0-1_i386.buildinfo.asc Thu Dec 5 06:41:08 UTC 2024 I: Submitting 8.0K b2/golang-github-casbin-casbin_2.102.0-1_i386.buildinfo.asc Thu Dec 5 06:41:11 UTC 2024 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Thu Dec 5 06:41:11 UTC 2024 I: Done submitting .buildinfo files. Thu Dec 5 06:41:11 UTC 2024 I: Removing signed golang-github-casbin-casbin_2.102.0-1_i386.buildinfo.asc files: removed './b1/golang-github-casbin-casbin_2.102.0-1_i386.buildinfo.asc' removed './b2/golang-github-casbin-casbin_2.102.0-1_i386.buildinfo.asc'